From a40a86aebb63872d3f2fa39e1594c1b292161104 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 5 Jul 2021 15:18:41 -0300 Subject: Fix Joyplim, add the missing skills as (currently unobtainable) scrolls --- npc/magic/level2-happy-curse.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc/magic/level2-happy-curse.txt') diff --git a/npc/magic/level2-happy-curse.txt b/npc/magic/level2-happy-curse.txt index 08987293..1e1096a1 100644 --- a/npc/magic/level2-happy-curse.txt +++ b/npc/magic/level2-happy-curse.txt @@ -5,7 +5,9 @@ // School: General 2 function script SK_Joyplim { - delitem GingerBreadMan, 1; + if (getarg(0, true)) + delitem GingerBreadMan, 1; + .@b=(BL_PC | BL_PET | BL_MER | BL_HOM); // | BL_MOB .@r=3+cap_value(getskilllv(SKILL_MAGIC)+(@skillLv/2), 1, 12); // Your radius .@s=AdjustSpellpower(100); // Your magical stamina -- cgit v1.2.3-60-g2f50