summaryrefslogtreecommitdiff
path: root/npc/custom/events/xmas_rings_event.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-06-03 22:47:54 +0200
committerHaru <haru@dotalux.com>2017-06-03 22:47:54 +0200
commit68059ee62a223edb323abba0bc980faab8ed4b52 (patch)
treef50fddbe254d80033eeb74752843ebb6d0eda92f /npc/custom/events/xmas_rings_event.txt
parent1b02f9269f15582c7d211f1d1a3a0c1c7ce68a88 (diff)
downloadhercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.gz
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.bz2
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.xz
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.zip
Revert "Unify specialeffect, convert legacy scripts (#1746)"
This reverts commit 19883c583e5e1471c87ae80e67f34882a7e75bc6. The commit was squashed by accident, my fault. I'm merging the PR again, this time preserving the indivisual commits.
Diffstat (limited to 'npc/custom/events/xmas_rings_event.txt')
-rw-r--r--npc/custom/events/xmas_rings_event.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt
index 633f09cf7..05e4f40f6 100644
--- a/npc/custom/events/xmas_rings_event.txt
+++ b/npc/custom/events/xmas_rings_event.txt
@@ -91,7 +91,7 @@ prontera,156,174,4 script Snower 4_M_06,{
OnInit:
//Santa's Hat
- setitemscript 2236,"{ bonus bMdef,1; bonus bLuk,1; if(isequipped(2636,2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); specialeffect(EF_RAINBOW, AREA, playerattached()); end;} if(isequipped(2636)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); specialeffect(EF_SPHERE, AREA, playerattached());} if(isequipped(2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); specialeffect(EF_ANGEL2, AREA, playerattached());}}";
+ setitemscript 2236,"{ bonus bMdef,1; bonus bLuk,1; if(isequipped(2636,2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); misceffect 410; end;} if(isequipped(2636)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); misceffect 72;} if(isequipped(2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); misceffect 338;}}";
//Gold Xmas Ring
setitemscript 2636,"{ bonus bLoseSPWhenUnequip,30; if(isequipped(2236)==0)end; if(getskilllv(\"AL_HEAL\")){skill \"TF_HIDING\",4+isequipped(2637);}else{skill \"AL_HEAL\",1+4*isequipped(2637);} }";
//Silver Xmas Ring