summaryrefslogtreecommitdiff
path: root/npc/events
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 05:20:14 +0200
committerHaru <haru@dotalux.com>2014-10-30 01:22:52 +0100
commitc6f102ef8f7a08903617e70135fca5ccfe11b75a (patch)
treea7736515f920d80baa581570372b2fed87dc9cd5 /npc/events
parenta852bdd4c04fd3e6c08e950a320f0e78d61b3673 (diff)
downloadhercules-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/events')
-rw-r--r--npc/events/event_skill_reset.txt6
-rw-r--r--npc/events/halloween_2008.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/events/event_skill_reset.txt b/npc/events/event_skill_reset.txt
index 15d781bff..ab8805736 100644
--- a/npc/events/event_skill_reset.txt
+++ b/npc/events/event_skill_reset.txt
@@ -30,7 +30,7 @@ yuno,138,187,4 script Hypnotist Teacher 4_F_TELEPORTER,{
mes "Please come again soon!";
close;
}
- if(Weight || checkfalcon() || checkcart() || checkriding()) {
+ if(Weight || checkfalcon() || checkcart() || checkmount()) {
mes "Would you like to reset skills?";
mes "I'm sorry, but...";
next;
@@ -43,8 +43,8 @@ yuno,138,187,4 script Hypnotist Teacher 4_F_TELEPORTER,{
mes "Please, drop your cart and we'll continue.";
else if(checkfalcon())
mes "Please, free your Falcon and we'll continue.";
- else if(checkriding())
- mes "Please, free your PecoPeco and we'll continue.";
+ else if(checkmount())
+ mes "Please, free your mount and we'll continue.";
next;
mes @npcname$;
mes "Come back soon!";
diff --git a/npc/events/halloween_2008.txt b/npc/events/halloween_2008.txt
index aa2780716..9b80eb798 100644
--- a/npc/events/halloween_2008.txt
+++ b/npc/events/halloween_2008.txt
@@ -134,7 +134,7 @@ S_Participate:
Hallow08Kill = 1;
@Hallow08Warp = rand(1,3);
percentheal -98,0;
- setriding 0;
+ setmount(MOUNT_NONE);
setcart 0;
warp "evt_zombie",155,246;
end;