summaryrefslogtreecommitdiff
path: root/npc/quests/first_class
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2016-01-25 23:00:26 +0800
committerHaru <haru@dotalux.com>2016-02-29 01:52:22 +0100
commit05a2538114972de94352e66586f6f2a5affea9c6 (patch)
treef39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/quests/first_class
parent75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff)
downloadhercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.gz
hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.bz2
hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.xz
hercules-05a2538114972de94352e66586f6f2a5affea9c6.zip
Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate
Diffstat (limited to 'npc/quests/first_class')
-rw-r--r--npc/quests/first_class/tu_archer.txt4
-rw-r--r--npc/quests/first_class/tu_merchant.txt5
-rw-r--r--npc/quests/first_class/tu_sword.txt2
3 files changed, 5 insertions, 6 deletions
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt
index be6f177d1..79dc4ebbe 100644
--- a/npc/quests/first_class/tu_archer.txt
+++ b/npc/quests/first_class/tu_archer.txt
@@ -76,7 +76,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{
mes "up a joke~!";
emotion e_gg;
next;
- if (Sex == 1) {
+ if (Sex == SEX_MALE) {
select("A joke, eh?");
specialeffect2 EF_TALK_FROSTJOKE;
mes "[Jet]";
@@ -1455,7 +1455,7 @@ pay_arche,76,135,3 script #Target HIDDEN_NPC,{ end; }
mes "he already has a girlfriend...";
next;
mes "[Acolyte]";
- if(Sex){
+ if (Sex == SEX_MALE) {
mes "W-wait!";
mes "Y-you're a man!";
mes "D-d-d-don't tease me";
diff --git a/npc/quests/first_class/tu_merchant.txt b/npc/quests/first_class/tu_merchant.txt
index 5b2054193..56bfb7390 100644
--- a/npc/quests/first_class/tu_merchant.txt
+++ b/npc/quests/first_class/tu_merchant.txt
@@ -602,11 +602,10 @@ alberta_in,70,51,5 script Guarnien 4W_M_02,{
if(getskilllv(MC_INCCARRY) < 4){
setquest 8229;
mes "[Guarnien]";
- if(Sex == 1){
+ if (Sex == SEX_MALE)
mes "Atta boy~!";
- } else {
+ else
mes "Atta girl~!";
- }
mes "But first things first!";
mes "You better learn the";
mes "^871F78Increase Weight Limit^000000 skill!";
diff --git a/npc/quests/first_class/tu_sword.txt b/npc/quests/first_class/tu_sword.txt
index 4fd5f79ab..59e64fb89 100644
--- a/npc/quests/first_class/tu_sword.txt
+++ b/npc/quests/first_class/tu_sword.txt
@@ -63,7 +63,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
if(BaseClass == Job_Swordman && eaclass()&(EAJL_2|EAJL_UPPER|EAJL_THIRD)){
mes "From your raiment,";
mes "I see that you are";
- if(Sex)
+ if (Sex == SEX_MALE)
mes "a man of the sword.";
else
mes "a woman of the sword.";