Method Unit:ResetAttackTimer [-] [+]

Resets the Unit's attack timer of given [WeaponAttackType].

enum WeaponAttackType : uint8
{
    BASE_ATTACK   = 0,
    OFF_ATTACK    = 1,
    RANGED_ATTACK = 2,
    MAX_ATTACK
};

Synopsis

Unit:ResetAttackTimer( type )

Arguments

WeaponAttackType type
See method description.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine