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/custom/events | |
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/custom/events')
-rw-r--r-- | npc/custom/events/uneasy_cemetery.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/custom/events/uneasy_cemetery.txt b/npc/custom/events/uneasy_cemetery.txt index 6b1351eb4..99c1f21cb 100644 --- a/npc/custom/events/uneasy_cemetery.txt +++ b/npc/custom/events/uneasy_cemetery.txt @@ -45,8 +45,10 @@ OnZombieDead: if ($@UNEASY_MOB>0) end; set $UNEASY_DL,0; set $UNEASY_H$,strcharinfo(0); - if (Sex==1) mapannounce "prontera","[Mother Mathana]: Brave "+$UNEASY_H$+" has just killed the last undead in Prontera!",0; - if (Sex==0) mapannounce "prontera","[Mother Mathana]: Lady "+$UNEASY_H$+" has just killed the last undead in Prontera!",0; + if (Sex == SEX_MALE) + mapannounce "prontera","[Mother Mathana]: Brave "+$UNEASY_H$+" has just killed the last undead in Prontera!",0; + else + mapannounce "prontera","[Mother Mathana]: Lady "+$UNEASY_H$+" has just killed the last undead in Prontera!",0; set JobExp,JobExp+100; set BaseExp,BaseExp+50; end; @@ -103,8 +105,10 @@ L_Undead_Walk: mes "[Mother Mathana]"; mes "Our Church is going to thank you personally..."; next; - if (Sex==1) mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare handsom "+$UNEASY_H$+" as a Prontera savior!",0; - if (Sex==0) mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare beautiful "+$UNEASY_H$+" as a Prontera savior!",0; + if (Sex == SEX_MALE) + mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare handsom "+$UNEASY_H$+" as a Prontera savior!",0; + else + mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare beautiful "+$UNEASY_H$+" as a Prontera savior!",0; mes "[Mother Mathana]"; mes "In the name of Odin we bless you and decently present a modest gift just from Mareusis' wine-cellar."; getitem Blue_Potion,1; |