summaryrefslogtreecommitdiff
path: root/npc/quests/skills/priest_skills.txt
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-21 03:00:03 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-21 03:00:03 +0000
commit095fe33b1d22e4bc821847b968ac508a983ae50b (patch)
tree1d1fd7ad20577be79a70d61ce511c30b16cf271d /npc/quests/skills/priest_skills.txt
parentfd665092bbcd4be32f9d8319ffbb4aad30b40d08 (diff)
downloadhercules-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/skills/priest_skills.txt')
-rw-r--r--npc/quests/skills/priest_skills.txt16
1 files changed, 10 insertions, 6 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