summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 04:54:29 +0200
committerHaru <haru@dotalux.com>2014-10-30 01:22:52 +0100
commita852bdd4c04fd3e6c08e950a320f0e78d61b3673 (patch)
treef958404213e2b92d82d5f40e25d04ea15f0863aa /npc/custom
parentb3aef69807e315f71109ee00755087303b5336df (diff)
downloadhercules-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/custom')
-rw-r--r--npc/custom/breeder.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt
index 252511355..cb43091d3 100644
--- a/npc/custom/breeder.txt
+++ b/npc/custom/breeder.txt
@@ -41,7 +41,8 @@ prontera,124,201,1 script Universal Rental NPC 4_F_JOB_BLACKSMITH,{
else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkoption(Option_Wug) && !checkoption(Option_Wugrider)) setfalcon;
else if (!checkriding() && getskilllv("KN_RIDING")) {
- if ((eaclass()&EAJ_THIRDMASK) == EAJ_RUNE_KNIGHT) setdragon;
+ if ((eaclass()&EAJ_THIRDMASK) == EAJ_RUNE_KNIGHT)
+ setmount(MOUNT_DRAGON);
else setriding;
} else if (checkmount() != MOUNT_MADO && getskilllv(NC_MADOLICENCE)) {
setmount(MOUNT_MADO);