diff options
author | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 17:10:38 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 17:10:38 +0000 |
commit | 80d672a55f38ec638028bed5c2002270b72b2b55 (patch) | |
tree | 3370f4885bc3d8613fbf1f0755d476bff1e34b09 | |
parent | f1da0c236cb29439d85879d378215c2971e5d992 (diff) | |
download | serverdata-80d672a55f38ec638028bed5c2002270b72b2b55.tar.gz serverdata-80d672a55f38ec638028bed5c2002270b72b2b55.tar.bz2 serverdata-80d672a55f38ec638028bed5c2002270b72b2b55.tar.xz serverdata-80d672a55f38ec638028bed5c2002270b72b2b55.zip |
Dark shrooms are better, but cost more SP
-rw-r--r-- | world/map/npc/magic/level2-summon-wickedmushroom.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/world/map/npc/magic/level2-summon-wickedmushroom.txt b/world/map/npc/magic/level2-summon-wickedmushroom.txt index 9107955a..014a5d80 100644 --- a/world/map/npc/magic/level2-summon-wickedmushroom.txt +++ b/world/map/npc/magic/level2-summon-wickedmushroom.txt @@ -4,7 +4,7 @@ OnCast: if(call("magic_checks")) end; - if (Sp < 35) end; + if (Sp < 42) end; if (getmapflag(getmap(), MF_TOWN)) end; if (getskilllv(SKILL_MAGIC) < .level) end; if (getskilllv(.school) < .level) end; @@ -20,7 +20,7 @@ L_Pay: addtimer 15000, "Magic Timer::OnClear"; // set the new debuff sc_start SC_COOLDOWN, 15000, 0, BL_ID; callfunc "adjust_spellpower"; - set Sp, Sp - 35; + set Sp, Sp - 42; set CASTS, CASTS + 1; if (CASTS < 0) set CASTS, 1; // overflow misceffect FX_MAGIC_WICKED_CAST, strcharinfo(0); @@ -28,9 +28,9 @@ L_Pay: set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID; set .@puppet, puppet(getmap(), POS_X, POS_Y, .@puppet$, 127); if (.@puppet < 1) end; - set .count, (@spellpower/250)+1, .@puppet; + set .count, (@spellpower/180)+1, .@puppet; set .master, BL_ID, .@puppet; - set .lifetime, @spellpower*80, .@puppet; + set .lifetime, @spellpower*300, .@puppet; addnpctimer 4000-(@spellpower*9), .@puppet$+"::OnSummon"; addnpctimer 6000, .@puppet$+"::OnDestroy"; end; |