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 | 3adc26d97144c91a6d942bb81f44273aaa2ba8e6 (patch) | |
tree | e21a962b42555cb02348d26b2384d156352830e1 | |
parent | dc54370cac6cde76673175b476e28efc1f42cedc (diff) | |
parent | 80d672a55f38ec638028bed5c2002270b72b2b55 (diff) | |
download | serverdata-3adc26d97144c91a6d942bb81f44273aaa2ba8e6.tar.gz serverdata-3adc26d97144c91a6d942bb81f44273aaa2ba8e6.tar.bz2 serverdata-3adc26d97144c91a6d942bb81f44273aaa2ba8e6.tar.xz serverdata-3adc26d97144c91a6d942bb81f44273aaa2ba8e6.zip |
Merge branch 'darkshroom_buff' into 'master'
Dark shrooms are better, but cost more SP
See merge request legacy/serverdata!693
-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; |