*Add function CanAIAttack

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-26 16:54:59 -05:00
parent dad2c55287
commit a35991c836
6 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -535,7 +535,7 @@ class TRINITY_DLL_SPEC Creature : public Unit
void Motion_Initialize();
void AI_SendMoveToPacket(float x, float y, float z, uint32 time, uint32 MovementFlags, uint8 type);
CreatureAI* AI() { return (CreatureAI*)i_AI; }
CreatureAI * AI() const { return (CreatureAI*)i_AI; }
uint32 GetShieldBlockValue() const //dunno mob block value
{