Core: Fix more warnings
--HG-- branch : trunk
This commit is contained in:
1 parent
a6d075dfc6
commit
e252b8abe7
54 files changed
+111
-111
No files matched your search
@@ -1691,8 +1691,8 @@ public:
|
||||
|
||||
//Add delta to make them not all hit the same time
|
||||
uint32 delta = (rand() % 7) * 100;
|
||||
me->SetStatFloatValue(UNIT_FIELD_BASEATTACKTIME, Info->baseattacktime + delta);
|
||||
me->SetStatFloatValue(UNIT_FIELD_RANGED_ATTACK_POWER , Info->attackpower);
|
||||
me->SetStatFloatValue(UNIT_FIELD_BASEATTACKTIME, float(Info->baseattacktime + delta));
|
||||
me->SetStatFloatValue(UNIT_FIELD_RANGED_ATTACK_POWER , float(Info->attackpower));
|
||||
}
|
||||
|
||||
//Redefined for random target selection:
|
||||
|
||||
Reference in new issue
Block a user