diff options
author | Haru <haru@dotalux.com> | 2014-10-22 04:54:29 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-30 01:22:52 +0100 |
commit | a852bdd4c04fd3e6c08e950a320f0e78d61b3673 (patch) | |
tree | f958404213e2b92d82d5f40e25d04ea15f0863aa /npc/re/merchants | |
parent | b3aef69807e315f71109ee00755087303b5336df (diff) | |
download | hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.tar.gz hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.tar.bz2 hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.tar.xz hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.zip |
Deprecated checkdragon and setdragon commands
Replaced their use in scripts with checkmount and setmount,
respectively.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/merchants')
-rw-r--r-- | npc/re/merchants/renters.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/re/merchants/renters.txt b/npc/re/merchants/renters.txt index e245968f0..c128e1a3d 100644 --- a/npc/re/merchants/renters.txt +++ b/npc/re/merchants/renters.txt @@ -21,8 +21,8 @@ job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{ next; switch(select("Yes:No")) { case 1: - //if (!getskilllv("RK_DRAGONTRAINING")) { - if (!getskilllv("KN_RIDING")) { + //if (!getskilllv(RK_DRAGONTRAINING)) { + if (!getskilllv(KN_RIDING)) { mes "[Dragon Breeder]"; mes "Please learn how to ride a Dragon first."; close; @@ -36,7 +36,7 @@ job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{ mes "Please remove your cash mount."; close; } - setdragon; + setmount(MOUNT_DRAGON); close; case 2: mes "[Dragon Breeder]"; @@ -58,8 +58,8 @@ prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{ next; switch(select("Yes:No")) { case 1: - //if (!getskilllv("RK_DRAGONTRAINING")) { - if (!getskilllv("KN_RIDING")) { + //if (!getskilllv(RK_DRAGONTRAINING)) { + if (!getskilllv(KN_RIDING)) { mes "[Riding Creature Master]"; mes "Please learn how to ride a Dragon first."; close; @@ -73,7 +73,7 @@ prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{ mes "Please remove your cash mount."; close; } - setdragon; + setmount(MOUNT_DRAGON); close; case 2: mes "[Riding Creature Master]"; |