mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Scripts/LCT: added anti-cheat check to prevent Siamat being fightable if previous bosses have not been killed before.
This commit is contained in:
@@ -129,6 +129,11 @@ class instance_lost_city_of_the_tolvir : public InstanceMapScript
|
||||
instance->SummonCreatureGroup(SUMMON_GROUP_WIND_TUNNEL);
|
||||
}
|
||||
break;
|
||||
case DATA_SIAMAT: // anti-cheat protection
|
||||
if (state == IN_PROGRESS && !CheckSiamatsPlatform())
|
||||
if (Creature* siamat = GetCreature(DATA_SIAMAT))
|
||||
siamat->AI()->EnterEvadeMode();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user