summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/quests/skills/priest_skills.txt16
-rw-r--r--npc/quests/skills/rogue_skills.txt2
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;