diff options
author | Emistry <Equinox1991@gmail.com> | 2016-01-25 23:00:26 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-29 01:52:22 +0100 |
commit | 05a2538114972de94352e66586f6f2a5affea9c6 (patch) | |
tree | f39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/jobs/2-2/bard.txt | |
parent | 75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff) | |
download | hercules-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/jobs/2-2/bard.txt')
-rw-r--r-- | npc/jobs/2-2/bard.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt index 0def0ce9d..e44299193 100644 --- a/npc/jobs/2-2/bard.txt +++ b/npc/jobs/2-2/bard.txt @@ -93,7 +93,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{ mes "Always full of happy moments~"; next; mes "[Lalo]"; - if (Sex) { + if (Sex == SEX_MALE) { mes "Forget about your worries~"; mes "And enjoy everything~"; } @@ -107,8 +107,10 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{ else if(BARD_Q == 0) { cutin "job_bard_aiolo01",2; mes "[Lalo]"; - if (Sex) mes "Hi! Delightful Archer."; - else mes "Hello! Beautiful Archer Lady."; + if (Sex == SEX_MALE) + mes "Hi! Delightful Archer."; + else + mes "Hello! Beautiful Archer Lady."; mes "How can a wanderer like me help you?"; next; switch(select("You have a nice voice.", "Could you sing for me, please?", "Nothing.")) { @@ -160,7 +162,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{ mes "[Lalo]"; mes "Thanks! if you enjoyed my song, it makes me happy, too."; next; - if (Sex == 1 && JobLevel > 39) { + if (Sex == SEX_MALE && JobLevel > 39) { mes "[Lalo]"; mes "It would be nice if more people went around and sang..."; mes "Well, it's quite ok as it is now... hmmhmm."; |