From 1bdf177a0bbcf3885ca5f8fad35923591eb37bd5 Mon Sep 17 00:00:00 2001 From: euphyy Date: Mon, 2 Jul 2012 18:09:25 +0000 Subject: * Neuralizer is no longer consumed upon failure (bugreport:6040) * Some cleaning of the Sorcerer job change quest (jobs\3-2\sorcerer.txt) * Cleaning of "Bunny Band Quest" script (quests\bunnyband.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16367 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/other/CashShop_Functions.txt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'npc/other/CashShop_Functions.txt') diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 382e43ba0..07630674b 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.4 +//= 1.5 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -21,6 +21,7 @@ //= 1.2 Updated the dungeon teleport scroll menu. [L0ne_w0lf] //= 1.3 Implemented Aozi Giant Flywing Fix. (bugreport:4242) [L0ne_w0lf] //= 1.4 Simplified Giant Flywing function using warpparty. [L0ne_w0lf] +//= 1.5 Neuralizer is no longer consumed upon failure. [Euphy] //============================================================ // Kafra Card @@ -78,14 +79,10 @@ function script F_CashPartyCall2 { // - Reset players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { - if (Class != Job_Novice) { - if (Weight < 1) { - if (checkriding() || checkfalcon() || checkcart()) return; - else { - resetskill; - sc_end SC_ALL; - } - } + if (Class != Job_Novice && Weight == 0 && !checkriding() && !checkfalcon() && !checkcart() && !ismounting()) { + resetskill; + sc_end SC_ALL; + if (countitem(12213)) delitem 12213,1; } return; } -- cgit v1.2.3-60-g2f50