Ran into
Code:
Spell_C_CancelAutoRepeat_7FF732813060
and saw that it references
Code:
autoRepeatingSpell_7FF734377814
Somewhere in the middle of this function it calls
Code:
CGUnit_C::SetCastingAutoRepeat_7FF732965160(v8, 0);
followed by
Code:
CGUnit_C::CancelRangedMode(v9);
And from the macos dump:
Code:
int __cdecl CGUnit_C::CancelRangedMode(CGUnit_C *this)
{
if ( !s_trackingType )
CGUnit_C::ClearTrackingTarget(this, 0, 1);
return CUnitDisplay::CancelBowPull((CGUnit_C *)((char *)this + 2360));
}
Which is pretty obvious that this is a hunter autorepeating thing.
So I'm wondering if I were to write the spell id of "shoot bow" or "shoot gun" to autoRepeatingSpell and then called SetCastingAutoRepeat with "true", would this end up being a warrior autoshoot hack?