diff options
author | Dastgir <dastgirp@gmail.com> | 2017-12-18 19:10:55 +0530 |
---|---|---|
committer | Dastgir <dastgirp@gmail.com> | 2019-10-02 12:53:28 +0530 |
commit | 43fc59a9f5d3accccd72f67b7cc6fe4c8074adbf (patch) | |
tree | 36678b1828fa60030b3845e53c112288a50f50b0 /npc/quests | |
parent | d026e28fd78f60dfa21da381f17f2a8cc9ae3d11 (diff) | |
download | hercules-43fc59a9f5d3accccd72f67b7cc6fe4c8074adbf.tar.gz hercules-43fc59a9f5d3accccd72f67b7cc6fe4c8074adbf.tar.bz2 hercules-43fc59a9f5d3accccd72f67b7cc6fe4c8074adbf.tar.xz hercules-43fc59a9f5d3accccd72f67b7cc6fe4c8074adbf.zip |
Umbala Script Update:
* delitem should be called before getitem.
Fixes #1934
Diffstat (limited to 'npc/quests')
-rw-r--r-- | npc/quests/quests_umbala.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/quests/quests_umbala.txt b/npc/quests/quests_umbala.txt index e23089698..e9d48c6fa 100644 --- a/npc/quests/quests_umbala.txt +++ b/npc/quests/quests_umbala.txt @@ -773,6 +773,10 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ .@shaman_max += rand(6,10); ++.@sha_man; } + if (countitem(.@divide) < .@input) { + close; + } + delitem .@divide, .@input; switch(.@divide) { case 994: getitem Boody_Red,.@shaman_max; @@ -786,7 +790,6 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ case 997: getitem Yellow_Live,.@shaman_max; } - delitem .@divide,.@input; close; } mes "[Puchuchartan]"; |