summaryrefslogtreecommitdiff
path: root/npc/quests/skills/priest_skills.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 05:00:08 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:51 +0100
commit54604096ac53398778a5481613061216fe47e5bc (patch)
tree4d9982857e3bd9ee7eab839cc743cb6f3e9dc7f3 /npc/quests/skills/priest_skills.txt
parent46fbbaabefa29df1378ae68b7f063dbc64846042 (diff)
downloadhercules-54604096ac53398778a5481613061216fe47e5bc.tar.gz
hercules-54604096ac53398778a5481613061216fe47e5bc.tar.bz2
hercules-54604096ac53398778a5481613061216fe47e5bc.tar.xz
hercules-54604096ac53398778a5481613061216fe47e5bc.zip
Replaced 'set' with direct assignment where applicable (quests subfolders)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/skills/priest_skills.txt')
-rw-r--r--npc/quests/skills/priest_skills.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt
index 68da2767e..cdea7b69b 100644
--- a/npc/quests/skills/priest_skills.txt
+++ b/npc/quests/skills/priest_skills.txt
@@ -59,7 +59,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
}
}
else if (PRIEST_SK == 0) {
- set redemp,1014;
+ redemp = 1014;
if (getskilllv("PR_REDEMPTIO")) {
mes "[Sister Linus]";
mes "I'll always be praying";
@@ -67,7 +67,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "and I hope that you can bring";
mes "love and compassion to all";
mes "whom you meet in your travels.";
- set PRIEST_SK,100;
+ PRIEST_SK = 100;
close;
}
mes "[Sister Linus]";
@@ -209,7 +209,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "happen to find her, please";
mes "let her know that I am";
mes "praying for her safety.";
- set PRIEST_SK,1;
+ PRIEST_SK = 1;
close;
}
else if (PRIEST_SK == 1) {
@@ -240,7 +240,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "20 Blue Gemstones^000000";
mes "so you can attempt";
mes "to learn the skill.";
- set PRIEST_SK,2;
+ PRIEST_SK = 2;
next;
mes "[Sister Linus]";
mes "Um, but if you fail to";
@@ -283,17 +283,17 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "strength to walk the path of";
mes "love and sacrifice. Redemptio!^000000";
next;
- set .@redem_s,JobLevel+getskilllv("ALL_RESURRECTION");
- set .@red_suc,rand(1,100);
+ .@redem_s = JobLevel+getskilllv("ALL_RESURRECTION");
+ .@red_suc = rand(1,100);
if( .@redem_s < 31 ) {
if( .@red_suc > 20 && .@red_suc < 41 )
- set .@success,1;
+ .@success = 1;
} else if( .@redem_s < 41 ) {
if( .@red_suc > 10 && .@red_suc < 41 )
- set .@success,1;
+ .@success = 1;
} else {
if( .@red_suc > 10 && .@red_suc < 51 )
- set .@success,1;
+ .@success = 1;
}
if (.@success) {
@@ -307,7 +307,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
mes "critical situations.";
delitem 717,20; //Blue_Gemstone
delitem 523,30; //Holy_Water
- set PRIEST_SK,100;
+ PRIEST_SK = 100;
skill "PR_REDEMPTIO",1,0;
close;
}