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/custom/breeder.txt | |
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/custom/breeder.txt')
-rw-r--r-- | npc/custom/breeder.txt | 3 |
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); |