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:
@@ -310,7 +310,7 @@ class boss_akilzon : public CreatureScript
|
||||
CallLighting_Timer = (12 + rand()%5)*1000; //totaly random timer. can't find any info on this
|
||||
} else CallLighting_Timer -= diff;
|
||||
|
||||
if (!isRaining && ElectricalStorm_Timer < 8000 + rand()%5000)
|
||||
if (!isRaining && ElectricalStorm_Timer < uint32(8000 + rand() % 5000))
|
||||
{
|
||||
SetWeather(WEATHER_STATE_HEAVY_RAIN, 0.9999f);
|
||||
isRaining = true;
|
||||
|
||||
Reference in New Issue
Block a user