diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-05 15:18:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-05 15:18:41 -0300 |
commit | a40a86aebb63872d3f2fa39e1594c1b292161104 (patch) | |
tree | d43bc5b1344e65bb233b627048a12231a2708d5e /npc/magic/level1-grow-plants.txt | |
parent | bbfab867c13c87714288258662542c9dc14b628e (diff) | |
download | serverdata-a40a86aebb63872d3f2fa39e1594c1b292161104.tar.gz serverdata-a40a86aebb63872d3f2fa39e1594c1b292161104.tar.bz2 serverdata-a40a86aebb63872d3f2fa39e1594c1b292161104.tar.xz serverdata-a40a86aebb63872d3f2fa39e1594c1b292161104.zip |
Fix Joyplim, add the missing skills as (currently unobtainable) scrolls
Diffstat (limited to 'npc/magic/level1-grow-plants.txt')
-rw-r--r-- | npc/magic/level1-grow-plants.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/magic/level1-grow-plants.txt b/npc/magic/level1-grow-plants.txt index d15f1276..66e105b4 100644 --- a/npc/magic/level1-grow-plants.txt +++ b/npc/magic/level1-grow-plants.txt @@ -17,9 +17,11 @@ function script SK_GrowPlants { .@it = MauveHerb; .@mobId = MauvePlant; break; default: return; } - // Consume reagents - delitem Root, 1; - delitem .@it, 1; + if (getarg(0, true)) { + // Consume reagents + delitem Root, 1; + delitem .@it, 1; + } // Continue but with a special flag SK_summon(.@mobId, 2, 1, false); return; |