Core:
* add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable * fix some signed/unsigned warnings and some typos --HG-- branch : trunk
This commit is contained in:
@@ -122,8 +122,8 @@ public:
|
||||
events.ScheduleEvent(EVENT_BERSERK, 5*60000);
|
||||
break;
|
||||
case EVENT_SUMMON:
|
||||
for (uint32 i = 0; i < RAID_MODE(1,2); ++i)
|
||||
DoSummon(MOB_ZOMBIE, PosSummon[rand()%3]);
|
||||
for (int32 i = 0; i < RAID_MODE(1, 2); ++i)
|
||||
DoSummon(MOB_ZOMBIE, PosSummon[rand() % 3]);
|
||||
events.ScheduleEvent(EVENT_SUMMON, 10000);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user