summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/functions/spawns_on_mobkill.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/world/map/npc/functions/spawns_on_mobkill.txt b/world/map/npc/functions/spawns_on_mobkill.txt
index 6c412656..3c55b822 100644
--- a/world/map/npc/functions/spawns_on_mobkill.txt
+++ b/world/map/npc/functions/spawns_on_mobkill.txt
@@ -1,6 +1,6 @@
// Spawns some mobs on death of some other mob. Say split slime -> few smaller ones
// This function meant to be called with player RID attached (usually in OnMobKillEvent)
-// Inputs: nothing, but expects @mobID, @mob_X and @mob_Y set (usually by server)
+// Inputs: nothing, but expects @mobID, @mobX and @mobY set (usually by server)
// Return: nothing, but spawns few things.
// TODO: Add few big slime mobs and "split" these (this needs big slime GFX and making mob).
function|script|spawns_on_mobkill
@@ -13,26 +13,26 @@ function|script|spawns_on_mobkill
return;
L_SplitSea:
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, AngrySeaSlime, rand(8, 20));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, AngrySeaSlime, rand(8, 20));
return;
L_SplitGreen:
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, AngryGreenSlime, rand(8, 20));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, AngryGreenSlime, rand(8, 20));
return;
L_SplitBlue:
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, SlimeBlast, rand(1, 6));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, SlimeBlast, rand(1, 6));
return;
L_TorWitchDead:
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, VoidBat, rand(7, 12));
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, DemonicSpirit, rand(5, 10));
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, UndeadWitch, 1);
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, VoidBat, rand(7, 12));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, DemonicSpirit, rand(5, 10));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, UndeadWitch, 1);
return;
L_LuvWitchDead:
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, "", VoidBat, rand(6, 10));
- void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, "", DemonicSpirit, rand(4, 8));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, "", VoidBat, rand(6, 10));
+ void call("spawn_mobs_around", getmap(), @mobX, @mobY, "", DemonicSpirit, rand(4, 8));
return;
}