diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-21 03:00:03 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-21 03:00:03 +0000 |
commit | 095fe33b1d22e4bc821847b968ac508a983ae50b (patch) | |
tree | 1d1fd7ad20577be79a70d61ce511c30b16cf271d /npc/quests | |
parent | fd665092bbcd4be32f9d8319ffbb4aad30b40d08 (diff) | |
download | hercules-095fe33b1d22e4bc821847b968ac508a983ae50b.tar.gz hercules-095fe33b1d22e4bc821847b968ac508a983ae50b.tar.bz2 hercules-095fe33b1d22e4bc821847b968ac508a983ae50b.tar.xz hercules-095fe33b1d22e4bc821847b968ac508a983ae50b.zip |
- Fixed a bug in Redemption and Close Cofine scripts.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12224 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests')
-rw-r--r-- | npc/quests/skills/priest_skills.txt | 16 | ||||
-rw-r--r-- | npc/quests/skills/rogue_skills.txt | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt index 279910b72..0f79bb51d 100644 --- a/npc/quests/skills/priest_skills.txt +++ b/npc/quests/skills/priest_skills.txt @@ -286,12 +286,16 @@ prt_church,111,112,1 script Sister Linus 79,{ next; set .@redem_s,JobLevel+getskilllv(54); set .@red_suc,rand(1,100); - if (.@redem_s < 31) - if (.@red_suc > 20 && .@red_suc < 41) set .@success,1; - else if (.@redem_s < 41) - if (.@red_suc > 10 && .@red_suc < 41) set .@success,1; - else - if (.@red_suc > 10 && .@red_suc < 51) set .@success,1; + if( .@redem_s < 31 ) { + if( .@red_suc > 20 && .@red_suc < 41 ) + set .@success,1; + } else if( .@redem_s < 41 ) { + if( .@red_suc > 10 && .@red_suc < 41 ) + set .@success,1; + } else { + if( .@red_suc > 10 && .@red_suc < 51 ) + set .@success,1; + } if (.@success) { specialeffect2 14; // EF_HEALSP diff --git a/npc/quests/skills/rogue_skills.txt b/npc/quests/skills/rogue_skills.txt index 60e748f78..c1bbec12d 100644 --- a/npc/quests/skills/rogue_skills.txt +++ b/npc/quests/skills/rogue_skills.txt @@ -1419,7 +1419,7 @@ function script F_Kienna { } disablenpc "Kienna#"+getarg(0); donpcevent "#1st5min::OnDisable"; - enablenpc "a"; + enablenpc "#1strecog"; set ROG_SK,6; donpcevent "Waiting Room#rogue10::OnEnable"; warp "in_rogue",264,124; |