{"action":"created","issue":{"url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/647","repository_url":"https://api.github.com/repos/Masuzu/ZooeyBot","labels_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/647/comments","events_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/647/events","html_url":"https://github.com/Masuzu/ZooeyBot/issues/647","id":304755192,"number":647,"title":"Coding Luscripts: Regarding usage of enemy_x","user":{"login":"Shamool","id":30111700,"avatar_url":"https://avatars1.githubusercontent.com/u/30111700?v=4","gravatar_id":"","url":"https://api.github.com/users/Shamool","html_url":"https://github.com/Shamool","followers_url":"https://api.github.com/users/Shamool/followers","following_url":"https://api.github.com/users/Shamool/following{/other_user}","gists_url":"https://api.github.com/users/Shamool/gists{/gist_id}","starred_url":"https://api.github.com/users/Shamool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shamool/subscriptions","organizations_url":"https://api.github.com/users/Shamool/orgs","repos_url":"https://api.github.com/users/Shamool/repos","events_url":"https://api.github.com/users/Shamool/events{/privacy}","received_events_url":"https://api.github.com/users/Shamool/received_events","type":"User","site_admin":false},"labels":[{"id":547114191,"url":"https://api.github.com/repos/Masuzu/ZooeyBot/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T13:01:56Z","updated_at":"2018-03-19T02:47:36Z","closed_at":null,"author_association":"NONE","body":"I was trying to write an all-in-one luascript to be used for any ROTB raids because manually switching the configurations was just not efficient and I hit a snag. Below is my script where it checks for assault time and whether or not the raid was Xuan Wu.\r\nI keep getting snagged on [[Checking for Xuanwu raid]] part where it tells me unexpected symbol as encountered. Any one here can help me?\r\n\r\n\r\nDisableChargeAttack()\r\n\r\n[[Checking for Assault Time]]\r\nif turn==1 and character_1.charge_gauge==100 and character_2.charge_gauge==100 then\r\nbooleans[\"AssaultTime\"] = true\r\nend\r\n\r\n[[Checking for Xuanwu raid]]\r\nif enemy_3==nil then\r\nbooleans[\"NotXuanWu\"] = true\r\nend\r\n\r\nif booleans[\"AssaultTime\"]==nil then\r\n\t[[For Non-Xuanwu Raids]]\r\n\tif booleans[\"NotXuanWu\"]==true then\r\n\t\tif turn==1 then\r\n\t\tEnableChargeAttack()\r\n\t\tcharacter_1:UseSkill(1)\r\n\t\tcharacter_1:UseSkill(2)\r\n\t\tcharacter_1:UseSkill(3)\r\n\t\tcharacter_4:UseSkill(2)\r\n\t\tcharacter_4:UseSkill(1)\r\n\t\tcharacter_4:UseSkill(3)\r\n\t\tend\r\n\telse\r\n\t\t[[For XuanWu Raids]]\r\n\t\tif turn==1 then\r\n\t\tSelectTarget(3)\r\n\t\tEnableChargeAttack()\r\n\t\tcharacter_1:UseSkill(1)\r\n\t\tcharacter_1:UseSkill(2)\r\n\t\tcharacter_1:UseSkill(3)\r\n\t\tcharacter_4:UseSkill(2)\r\n\t\tcharacter_4:UseSkill(1)\r\n\t\tend\r\n\tend\r\nelse\r\n\tif booleans[\"NotXuanWu\"]==true then\r\n\t\tif turn==1 then\r\n\t\tEnableChargeAttack()\r\n\t\tcharacter_1:UseSkill(3)\r\n\t\tcharacter_4:UseSkill(2)\r\n\t\tcharacter_4:UseSkill(1)\r\n\t\tcharacter_4:UseSkill(3)\r\n\t\tend\r\n\telse\r\n\t\t[[For XuanWu raids during ST]]\r\n\t\tif turn==1 then\r\n\t\tEnableChargeAttack()\r\n\t\tSelectTarget(3)\r\n\t\tcharacter_1:UseSkill(3)\r\n\t\tcharacter_4:UseSkill(2)\r\n\t\tcharacter_4:UseSkill(1)\r\n\t\tend\r\n\tend\r\nend\r\n"},"comment":{"url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/comments/374085931","html_url":"https://github.com/Masuzu/ZooeyBot/issues/647#issuecomment-374085931","issue_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/647","id":374085931,"user":{"login":"Shamool","id":30111700,"avatar_url":"https://avatars1.githubusercontent.com/u/30111700?v=4","gravatar_id":"","url":"https://api.github.com/users/Shamool","html_url":"https://github.com/Shamool","followers_url":"https://api.github.com/users/Shamool/followers","following_url":"https://api.github.com/users/Shamool/following{/other_user}","gists_url":"https://api.github.com/users/Shamool/gists{/gist_id}","starred_url":"https://api.github.com/users/Shamool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shamool/subscriptions","organizations_url":"https://api.github.com/users/Shamool/orgs","repos_url":"https://api.github.com/users/Shamool/repos","events_url":"https://api.github.com/users/Shamool/events{/privacy}","received_events_url":"https://api.github.com/users/Shamool/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T02:47:36Z","updated_at":"2018-03-19T02:47:36Z","author_association":"NONE","body":"Thanks for the suggestion, I'll go try it out in Trials to see if it works"}}
{"actor":{"display_login":"Shamool"}}