Fix for special attack NPC_CHASE_DISTANCE to now work correctly

Perl export: NPC GetAttackDelay
Perl export: NPC GetAvoidanceRating
Perl export: NPC AddMeleeProc
Special Attacks will no longer be able to hit immune to melee / bane only flagged NPCs.
This commit is contained in:
KayenEQ
2014-12-16 18:53:15 -05:00
parent ad8e834fe8
commit fc306bbc1d
5 changed files with 169 additions and 82 deletions
+1
View File
@@ -259,6 +259,7 @@ public:
uint32 GetMinDMG() const {return min_dmg;}
int16 GetSlowMitigation() const {return slow_mitigation;}
float GetAttackSpeed() const {return attack_speed;}
uint8 GetAttackDelay() const {return attack_delay;}
bool IsAnimal() const { return(bodytype == BT_Animal); }
uint16 GetPetSpellID() const {return pet_spell_id;}
void SetPetSpellID(uint16 amt) {pet_spell_id = amt;}