aboutsummaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorLiberate <none@none>2010-05-31 23:01:47 +0200
committerLiberate <none@none>2010-05-31 23:01:47 +0200
commitb02bde6d2ad2b214b91d122f11aa117b6c813116 (patch)
treec9ab17b76eea33b4a1b94bc22e2237a7c6cd259f /src/scripts
parenta623ccd5fad619ae44b52c7113fd4cd432c34a2a (diff)
*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
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/world/go_scripts.cpp11
1 files changed, 11 insertions, 0 deletions
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();
}