{"action":"created","issue":{"url":"https://api.github.com/repos/ServUO/ServUO/issues/181","labels_url":"https://api.github.com/repos/ServUO/ServUO/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/ServUO/ServUO/issues/181/comments","events_url":"https://api.github.com/repos/ServUO/ServUO/issues/181/events","html_url":"https://github.com/ServUO/ServUO/issues/181","id":115214241,"number":181,"title":"about LightningStrike.cs","user":{"login":"BugBot","id":7030920,"avatar_url":"https://avatars.githubusercontent.com/u/7030920?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBot","html_url":"https://github.com/BugBot","followers_url":"https://api.github.com/users/BugBot/followers","following_url":"https://api.github.com/users/BugBot/following{/other_user}","gists_url":"https://api.github.com/users/BugBot/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBot/subscriptions","organizations_url":"https://api.github.com/users/BugBot/orgs","repos_url":"https://api.github.com/users/BugBot/repos","events_url":"https://api.github.com/users/BugBot/events{/privacy}","received_events_url":"https://api.github.com/users/BugBot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T05:53:23Z","updated_at":"2015-12-28T19:47:55Z","closed_at":null,"body":"In tokuno island,There is a monster named ronin，he’s AiType is Samurai,when he uses lightningstrike skill,server will be crash,I think the reason is because caster is not playermobile that can't deduct Mana,\nI modified some code in \"Scripts\\Spells\\Bushido\\LightningStrike.cs\",I don't know if it is right,anyway, server will not crashs.\nI just started learning c#, and my English is very bad,If the Modify  is not correct, please advise me, thank you\n\n\nLine 55 :\n[code]            if (isValid)[/code]\nchange to:\n[code]            if (isValid && from is PlayerMobile)[/code]\n\nLine 91:\n[code]       public override void OnClearMove(Mobile attacker)\n        {\n            PlayerMobile ThePlayer = attacker as PlayerMobile; // this can be deletet if the PlayerMobile parts are moved to Server.Mobile\n            ThePlayer.ExecutesLightningStrike = 0;\n        }[/code]\nchange to:\n[code]        public override void OnClearMove(Mobile attacker)\n        {\n            if (attacker is PlayerMobile)\n            {\n                PlayerMobile ThePlayer = attacker as PlayerMobile; // this can be deletet if the PlayerMobile parts are moved to Server.Mobile\n                ThePlayer.ExecutesLightningStrike = 0;\n            }\n        }[/code]\r\n\r\nReported By: faves\r\nReport Thread: http://servuo.com/threads/about-lightningstrike-cs.3487/"},"comment":{"url":"https://api.github.com/repos/ServUO/ServUO/issues/comments/167638765","html_url":"https://github.com/ServUO/ServUO/issues/181#issuecomment-167638765","issue_url":"https://api.github.com/repos/ServUO/ServUO/issues/181","id":167638765,"user":{"login":"qbradq","id":581393,"avatar_url":"https://avatars.githubusercontent.com/u/581393?v=3","gravatar_id":"","url":"https://api.github.com/users/qbradq","html_url":"https://github.com/qbradq","followers_url":"https://api.github.com/users/qbradq/followers","following_url":"https://api.github.com/users/qbradq/following{/other_user}","gists_url":"https://api.github.com/users/qbradq/gists{/gist_id}","starred_url":"https://api.github.com/users/qbradq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qbradq/subscriptions","organizations_url":"https://api.github.com/users/qbradq/orgs","repos_url":"https://api.github.com/users/qbradq/repos","events_url":"https://api.github.com/users/qbradq/events{/privacy}","received_events_url":"https://api.github.com/users/qbradq/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T19:47:54Z","updated_at":"2015-12-28T19:47:54Z","body":"Working"}}