From 3be853cff81fbdc590fc5538b60951f0179945f8 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 22 Oct 2014 01:49:22 +0200 Subject: Renamed ismounting, setmounting, @mount2 To avoid ambiguity: - The script command ismounting is now hascashmount - The script command setmounting is now setcashmount - The at-command @mount2 is now @cashmount Signed-off-by: Haru --- npc/re/merchants/renters.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'npc/re/merchants') diff --git a/npc/re/merchants/renters.txt b/npc/re/merchants/renters.txt index 59894c678..781467e20 100644 --- a/npc/re/merchants/renters.txt +++ b/npc/re/merchants/renters.txt @@ -31,8 +31,7 @@ job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{ mes "[Dragon Breeder]"; mes "You already have a Dragon."; close; - } - else if(ismounting()) { + } else if(hascashmount()) { mes "[Dragon Breeder]"; mes "Please remove your cash mount."; close; @@ -69,8 +68,7 @@ prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{ mes "[Riding Creature Master]"; mes "You already have a Dragon."; close; - } - else if(ismounting()) { + } else if(hascashmount()) { mes "[Riding Creature Master]"; mes "Please remove your cash mount."; close; @@ -97,8 +95,7 @@ prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{ mes "[Riding Creature Master]"; mes "You already have a Gryphon."; close; - } - else if(ismounting()) { + } else if(hascashmount()) { mes "[Riding Creature Master]"; mes "Please remove your cash mount."; close; @@ -178,8 +175,7 @@ prontera,125,208,5 script Peco Peco Remover 8W_SOLDIER,{ mes "[Magic Gear Master]"; mes "Please learn the skill to get the Magic Gear License first."; close; - } - else if(ismounting()) { + } else if(hascashmount()) { mes "[Magic Gear Master]"; mes "Please remove your cash mount."; close; -- cgit v1.2.3-70-g09d2