February 1, 20224 yr I'm trying to use the fightclass builder to make a warrior fight class and I'm running into a issue where my character tries to use rend on targets that are immune to it. Is there a way around this?
February 2, 20224 yr local creatureType = UnitCreatureType("target") return creatureType == "Elemental" or creatureType == "Mechanical" Hopefully makes it more readable
June 8, 20223 yr Author Does anyone know how to input this into the Lua Script condition in the Fight Class Editor? I'm not familiar with Lua. Thank you
June 10, 20223 yr Try this -- In the fight class editor, there is a box under the Name of the fight class with pet options as well. Look for "Custom Code" or "Additional C# Code".. I cannot remember off the top of my head right now.. Enter: internal static bool CanBleed(WoWUnit unit) { return unit.CreatureTypeTarget != "Elemental" && unit.CreatureTypeTarget != "Mechanical"; } Then in the selected spell conditions add C# check and type: CanBleed(ObjectManager.Target) Edited June 10, 20223 yr by Apexx
Create an account or sign in to comment