summaryrefslogtreecommitdiff
path: root/npc/re
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 04:43:41 +0200
committerHaru <haru@dotalux.com>2014-10-30 01:22:52 +0100
commitb3aef69807e315f71109ee00755087303b5336df (patch)
treea4fd6889accd1d825ccc0016e405d8fad09ae41d /npc/re
parentcf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3 (diff)
downloadhercules-b3aef69807e315f71109ee00755087303b5336df.tar.gz
hercules-b3aef69807e315f71109ee00755087303b5336df.tar.bz2
hercules-b3aef69807e315f71109ee00755087303b5336df.tar.xz
hercules-b3aef69807e315f71109ee00755087303b5336df.zip
Deprecated checkmadogear and setmadogear commands
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re')
-rw-r--r--npc/re/merchants/renters.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/merchants/renters.txt b/npc/re/merchants/renters.txt
index 781467e20..e245968f0 100644
--- a/npc/re/merchants/renters.txt
+++ b/npc/re/merchants/renters.txt
@@ -165,13 +165,13 @@ prontera,125,208,5 script Peco Peco Remover 8W_SOLDIER,{
mes "There you go!";
close;
case 2:
- if (checkmadogear()) {
+ if (checkmount() == MOUNT_MADO) {
mes "[Magic Gear Master]";
mes "I'm sorry, but you're already";
mes "riding a Magic Gear.";
close;
}
- else if (!getskilllv("NC_MADOLICENCE")) {
+ else if (!getskilllv(NC_MADOLICENCE)) {
mes "[Magic Gear Master]";
mes "Please learn the skill to get the Magic Gear License first.";
close;
@@ -180,7 +180,7 @@ prontera,125,208,5 script Peco Peco Remover 8W_SOLDIER,{
mes "Please remove your cash mount.";
close;
}
- setmadogear;
+ setmount(MOUNT_MADO);
mes "[Magic Gear Master]";
mes "Have fun, and please come again!";
close;