January 29, 20179 yr Hello, im starting to create my own fight class profiles, and im stuck with some things. First of all, i tried to create an spell which cast only if the enemy is 2+ lvls more than me, but i dont want to make it static, i mean to modify it manually everytime i get one level up. Second, i want to cast Ghost Wolf only when my bot is going "ToTown" and remove this "buff" when i go in combat, cause in this form shamans cant use nothing, just auto attack. Need to say i dont know nothing about programming. Sorry for my bad english and thanks in advance.
January 29, 20179 yr For ghost wolf issue you can set mount name as ghost wolf as all the bot is doing is ./cast obsidian nightwing for example so /cast ghost wolf will also work im assuming this is sub lv 20 otherwise use a mount, you can also use ghost wolf with condition me not in combat.
January 29, 20179 yr Author 7 hours ago, Muteki said: For ghost wolf issue you can set mount name as ghost wolf as all the bot is doing is ./cast obsidian nightwing for example so /cast ghost wolf will also work im assuming this is sub lv 20 otherwise use a mount, you can also use ghost wolf with condition me not in combat. I tried it as mount but he go in combat and stay in Ghost Wolf, so he cant use any spell not even dismount.
September 27, 20178 yr This might work. if (ObjectManager.Target.Level >= (ObjectManager.Me.Level + 2)) { // Do something }
Create an account or sign in to comment