From b02bde6d2ad2b214b91d122f11aa117b6c813116 Mon Sep 17 00:00:00 2001 From: Liberate Date: Mon, 31 May 2010 23:01:47 +0200 Subject: *Fix: Strand of the Ancients. - Massive Seaforium Charge (needs DB support for the spawns) - Demolishers are not attackable at the start - Demolishers spawn at the workshop if the graveyard is taken (The spawn locations aren't official yet) - Demolishers spawn immediately after being destroyed To make SotA perfect, it needs a lot of DB support. - Seaforium Bomb spawn locations - Set speed_run to 0 of the Cannons. --HG-- branch : trunk --- src/scripts/world/go_scripts.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/scripts') diff --git a/src/scripts/world/go_scripts.cpp b/src/scripts/world/go_scripts.cpp index e14311f9d31..6f06ac78fd7 100644 --- a/src/scripts/world/go_scripts.cpp +++ b/src/scripts/world/go_scripts.cpp @@ -982,6 +982,12 @@ bool GOHello_go_hive_pod(Player *pPlayer, GameObject *pGO) return true; } +bool GOHello_go_massive_seaforium_charge(Player* pPlayer, GameObject *pGo) +{ + pGo->SetLootState(GO_JUST_DEACTIVATED); + return true; +} + void AddSC_go_scripts() { Script *newscript; @@ -1168,4 +1174,9 @@ void AddSC_go_scripts() newscript->Name = "go_hive_pod"; newscript->pGOHello = &GOHello_go_hive_pod; newscript->RegisterSelf(); + + newscript = new Script; + newscript->Name = "go_massive_seaforium_charge"; + newscript->pGOHello = &GOHello_go_massive_seaforium_charge; + newscript->RegisterSelf(); } -- cgit v1.2.3