diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-12 07:47:02 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-12 07:47:02 +0000 |
commit | da4595570bb874ce6e448a1e6e63d8719e2b54d5 (patch) | |
tree | 173a11b1cce5530b8a844fe4729622ee5bc5a4da /npc/custom/events | |
parent | 9d980263608070842314af7778385d1821ac6b34 (diff) | |
download | hercules-da4595570bb874ce6e448a1e6e63d8719e2b54d5.tar.gz hercules-da4595570bb874ce6e448a1e6e63d8719e2b54d5.tar.bz2 hercules-da4595570bb874ce6e448a1e6e63d8719e2b54d5.tar.xz hercules-da4595570bb874ce6e448a1e6e63d8719e2b54d5.zip |
- Fixed double-quotes not being escaped in the custom xmas_rings_event. (bugreport:2546)
- Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13756 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/events')
-rw-r--r-- | npc/custom/events/xmas_rings_event.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt index 39c178096..bc2fc3fad 100644 --- a/npc/custom/events/xmas_rings_event.txt +++ b/npc/custom/events/xmas_rings_event.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Lupus (1.0) //===== Current Version: ===================================== -//= 1.1 +//= 1.2 //===== Compatible With: ===================================== //= eAthena Version; 4880+ (with 'setItemScript' command) //===== Description: ========================================= @@ -11,6 +11,7 @@ //===== Additional Comments: ================================= //= 1.0 Tested, fully working. 1.0a a few typos fix //= 1.1 Readded Mdef +1 and Luk +1 to Santa's Hat [Lupus] +//= 1.2 Fixed double quotes not being escaped [brianluau] //============================================================ @@ -93,9 +94,9 @@ OnInit: //Santa's Hat setitemscript 2236,"{ bonus bMdef,1; bonus bLuk,1; if(isequipped(2636,2637)){if(@xmr == gettime(2))end; set @xmr,gettime(2); misceffect 410; end;} if(isequipped(2636)){if(@xmr == gettime(2))end; set @xmr,gettime(2); misceffect 72;} if(isequipped(2637)){if(@xmr == gettime(2))end; set @xmr,gettime(2); 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);} }"; + 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 - setitemscript 2637,"{ bonus bDamageWhenUnequip,40; if(isequipped(2236)==0)end; if(getskilllv("AL_TELEPORT")){skill "MC_IDENTIFY",1;}else{skill "AL_TELEPORT",1+isequipped(2636);} }"; + setitemscript 2637,"{ bonus bDamageWhenUnequip,40; if(isequipped(2236)==0)end; if(getskilllv(\"AL_TELEPORT\")){skill \"MC_IDENTIFY\",1;}else{skill \"AL_TELEPORT\",1+isequipped(2636);} }"; end; } |