Method DamageInfo:GetAttackType [-] [+]

Returns the DamageInfo's attack type.

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

Synopsis

attackType = DamageInfo:GetAttackType()

Arguments

None.

Returns

number attackType

Valid numbers: integers from 0 to 4,294,967,295.

Generated on
© 2010 - 2024 Eluna Lua Engine