diff options
author | Haru <haru@dotalux.com> | 2014-10-22 05:20:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-30 01:22:52 +0100 |
commit | c6f102ef8f7a08903617e70135fca5ccfe11b75a (patch) | |
tree | a7736515f920d80baa581570372b2fed87dc9cd5 /npc/other/CashShop_Functions.txt | |
parent | a852bdd4c04fd3e6c08e950a320f0e78d61b3673 (diff) | |
download | hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.gz hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.bz2 hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.xz hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.zip |
Deprecated checkriding and setriding commands
Replaced their use in scripts with checkmount and setmount,
respectively.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/other/CashShop_Functions.txt')
-rw-r--r-- | npc/other/CashShop_Functions.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 1a2627d02..39bfa3c97 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -59,10 +59,10 @@ function script F_CashPartyCall { // - Reset players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { - if (Class != Job_Novice && Weight == 0 && !checkriding() && !checkfalcon() && !checkcart() && !hascashmount()) { + if (Class != Job_Novice && Weight == 0 && !checkmount() && !checkfalcon() && !checkcart() && !hascashmount()) { resetskill; sc_end SC_ALL; - if (countitem(12213)) delitem 12213,1; + if (countitem(Neuralizer)) delitem Neuralizer,1; } return; } |