Everything posted by SacredAnarchy
-
C# condition for a fightclass made using wrobot
SacredAnarchy replied to SacredAnarchy's topic in WRobot for Wow Wrath of the Lich King - Help and supportI have figured it out and its as simple as adding a C# condition that looks like this. p.Name == ("insertnamehere") So for those who use the Fight-class Creation tool, in the conditions drop down menu choose C sharp code then type into the value box p.Name == ("insertnamehere") and obviously insert the intended targets name in place of insertnamehere. The bot will only cast onto that target if its name matches this condition.
-
Detect if Target is mounting up
Is it possible to use something similar to get a bot to only cast if the targets name matches one specified as a condition, I am able to get it to cast at the target!! That's not the problem, the issue is that it checks all party members for specified conditions and the player name is not one of the conditions so it repeat casts on the named target as it returns true.
-
C# condition for a fightclass made using wrobot
SacredAnarchy replied to SacredAnarchy's topic in WRobot for Wow Wrath of the Lich King - Help and supportYou see It will check the whole party for the set of conditions to cast the spell then repeat cast it on the intended name however I need it to not cast if the named target has the buff already regardless of the other party members having it! if it only checked the named target for the buff conditions that would be ideal, however a work around would be to add a condition that if the targets name that the bot checked for the buff condition is not the intended targets name then do not cast. It would then check party 1 through 5 for the correct name as a condition then check buff conditions and proceed to cast or return if its already buffed.
-
C# condition for a fightclass made using wrobot
SacredAnarchy replied to SacredAnarchy's topic in WRobot for Wow Wrath of the Lich King - Help and supportThank you for the reply
-
C# condition for a fightclass made using wrobot
Scenario Bot is in a party I would like it to only buff a target "if" its name is "player-name" . at the moment i just use SpellManager.CastSpellByNameOn("Blessing of Kings","player-name"); in the spell name field and check the notspell. is C# code and in the conditions I include targetbuff, target distance, globalcooldown however its checking all the party members for the conditions and repeat casting on the intended target this is because its not checking if the targets name matches a condition. So my question is what would be typed in the C# condition so it will only cast if the name of the target matches said condition. If an Lua condition can be added that would work too
- macros
- macros
- macros
- macros