diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-06-10 16:04:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-06-10 16:04:45 -0300 |
commit | 2c7c83bd748001a28e20c62f1bceb4fedba540bd (patch) | |
tree | cdd87c01e964f3c4d9dc1b467cf4a7c8fa9c37ab /npc/051-1 | |
parent | 61910b26f564398e3c7cea4f803c07445f9b82da (diff) | |
download | serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.tar.gz serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.tar.bz2 serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.tar.xz serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.zip |
Fix MobPoints() wrong calls
Diffstat (limited to 'npc/051-1')
-rw-r--r-- | npc/051-1/desertmonsters.txt | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/npc/051-1/desertmonsters.txt b/npc/051-1/desertmonsters.txt index 08476f32..9424d63e 100644 --- a/npc/051-1/desertmonsters.txt +++ b/npc/051-1/desertmonsters.txt @@ -5,9 +5,8 @@ On1096: if (rand(4) == 0 && $@illia_progress == 3 && $@illia_level_3_progress == 1) - getitem "SealedSoul", 1; - @mobId = 1010; - callfunc "MobPoints"; + getitem SealedSoul, 1; + fix_mobkill(Snake); end; } @@ -34,9 +33,9 @@ OnSoulEaterDeath: $@SoulEaters0_count = $@SoulEaters0_count - 1; if ($@illia_progress != 3 || $@illia_level_3_progress != 1) end; - if (countitem("SealedSoul") == 0) + if (countitem(SealedSoul) == 0) end; - delitem "SealedSoul", countitem("SealedSoul"); + delitem SealedSoul, countitem(SealedSoul); message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying."; end; } @@ -62,9 +61,9 @@ OnSoulEaterDeath: $@SoulEaters1_count = $@SoulEaters1_count - 1; if ($@illia_progress != 3 || $@illia_level_3_progress != 1) end; - if (countitem("SealedSoul") == 0) + if (countitem(SealedSoul) == 0) end; - delitem "SealedSoul", countitem("SealedSoul"); + delitem SealedSoul, countitem(SealedSoul); message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying."; end; } @@ -90,9 +89,9 @@ OnSoulEaterDeath: $@SoulEaters2_count = $@SoulEaters2_count - 1; if ($@illia_progress != 3 || $@illia_level_3_progress != 1) end; - if (countitem("SealedSoul") == 0) + if (countitem(SealedSoul) == 0) end; - delitem "SealedSoul", countitem("SealedSoul"); + delitem SealedSoul, countitem(SealedSoul); message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying."; end; } @@ -118,9 +117,9 @@ OnSoulEaterDeath: $@SoulEaters3_count = $@SoulEaters3_count - 1; if ($@illia_progress != 3 || $@illia_level_3_progress != 1) end; - if (countitem("SealedSoul") == 0) + if (countitem(SealedSoul) == 0) end; - delitem "SealedSoul", countitem("SealedSoul"); + delitem SealedSoul, countitem(SealedSoul); message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying."; end; } @@ -146,9 +145,9 @@ OnSoulEaterDeath: $@SoulEaters4_count = $@SoulEaters4_count - 1; if ($@illia_progress != 3 || $@illia_level_3_progress != 1) end; - if (countitem("SealedSoul") == 0) + if (countitem(SealedSoul) == 0) end; - delitem "SealedSoul", countitem("SealedSoul"); + delitem SealedSoul, countitem(SealedSoul); message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying."; end; } |