diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 18:35:17 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 16:15:56 -0400 |
commit | bfb9fd865b2e299c828bc7441376a891005b31a5 (patch) | |
tree | 5e4fd5725f369e20999127ee1bfc6003c85a184b /world/map/npc/magic/level2-summon-fluffies.txt | |
parent | 6b59dd5455ac2af31badba6c7c71aac775f54430 (diff) | |
download | serverdata-bfb9fd865b2e299c828bc7441376a891005b31a5.tar.gz serverdata-bfb9fd865b2e299c828bc7441376a891005b31a5.tar.bz2 serverdata-bfb9fd865b2e299c828bc7441376a891005b31a5.tar.xz serverdata-bfb9fd865b2e299c828bc7441376a891005b31a5.zip |
add puppet check to `kalakarenk` summon spell
Diffstat (limited to 'world/map/npc/magic/level2-summon-fluffies.txt')
-rw-r--r-- | world/map/npc/magic/level2-summon-fluffies.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-summon-fluffies.txt b/world/map/npc/magic/level2-summon-fluffies.txt index cd754e33..2ca630ed 100644 --- a/world/map/npc/magic/level2-summon-fluffies.txt +++ b/world/map/npc/magic/level2-summon-fluffies.txt @@ -3,7 +3,7 @@ end; OnCast: - if(call("magic_checks")) end; + if(call("magic_checks")) end; if (Sp < 39) end; if (getskilllv(SKILL_MAGIC) < .level) end; if (getskilllv(.school) < .level) end; @@ -19,6 +19,7 @@ OnCast: callfunc "magic_exp"; set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID; set .@puppet, puppet(getmap(), POS_X, POS_Y, .@puppet$, 127); + if (.@puppet < 1) end; set .count, (@spellpower/170)+1+(@spellpower/430), .@puppet; set .master, BL_ID, .@puppet; set .lifetime, @spellpower*350, .@puppet; |