summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-11-25 16:59:08 +0300
committerHello TMW <hello@themanaworld.org>2024-12-13 10:33:54 +0000
commit0ea8890e2f68d7c82219d7bd4de935ccc420f19a (patch)
tree338be077ae41a519f10fa66ad463e89282c79484 /world/map/npc/functions
parent9edcf99a77733877e88b11897e4e6821ec529c94 (diff)
downloadserverdata-0ea8890e2f68d7c82219d7bd4de935ccc420f19a.tar.gz
serverdata-0ea8890e2f68d7c82219d7bd4de935ccc420f19a.tar.bz2
serverdata-0ea8890e2f68d7c82219d7bd4de935ccc420f19a.tar.xz
serverdata-0ea8890e2f68d7c82219d7bd4de935ccc420f19a.zip
Rename server-set variables as suggested by Thorbjorn
Diffstat (limited to 'world/map/npc/functions')
-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;
}