PtoAmo 3 Posted January 29, 2017 Share Posted January 29, 2017 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. Link to comment https://wrobot.eu/forums/topic/4905-target-lvl-2-my-level/ Share on other sites More sharing options...
Muteki 4 Posted January 29, 2017 Share Posted January 29, 2017 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. Link to comment https://wrobot.eu/forums/topic/4905-target-lvl-2-my-level/#findComment-22663 Share on other sites More sharing options...
PtoAmo 3 Posted January 29, 2017 Author Share Posted January 29, 2017 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. Link to comment https://wrobot.eu/forums/topic/4905-target-lvl-2-my-level/#findComment-22683 Share on other sites More sharing options...
Muteki 4 Posted January 29, 2017 Share Posted January 29, 2017 I will check this tonight when I get home with my shaman Link to comment https://wrobot.eu/forums/topic/4905-target-lvl-2-my-level/#findComment-22720 Share on other sites More sharing options...
Apexx 60 Posted September 27, 2017 Share Posted September 27, 2017 This might work. if (ObjectManager.Target.Level >= (ObjectManager.Me.Level + 2)) { // Do something } Link to comment https://wrobot.eu/forums/topic/4905-target-lvl-2-my-level/#findComment-32740 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now