mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
Core: Fixed a few warnings and silly typos in scripts
This commit is contained in:
@@ -110,7 +110,7 @@ class boss_ragnaros : public CreatureScript
|
||||
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
if (urand(0, 99 < 25))
|
||||
if (urand(0, 99) < 25)
|
||||
DoScriptText(SAY_KILL, me);
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ public:
|
||||
{
|
||||
if (m_instance)
|
||||
{
|
||||
if (m_instance->GetData(TYPE_MOGRAINE_AND_WHITE_EVENT != NOT_STARTED))
|
||||
if (m_instance->GetData(TYPE_MOGRAINE_AND_WHITE_EVENT) != NOT_STARTED)
|
||||
m_instance->SetData(TYPE_MOGRAINE_AND_WHITE_EVENT, FAIL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user