summaryrefslogtreecommitdiff
path: root/npc/kafras
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-06 11:55:55 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-06 11:55:55 +0000
commit39d776311e6cda0692503f599ce997a77dbe700d (patch)
tree23a1f8e7a5687ddb87d397ddef68ad041bbc3831 /npc/kafras
parentb1a8b920af2b39f546cd3408af893741fc94e12b (diff)
downloadhercules-39d776311e6cda0692503f599ce997a77dbe700d.tar.gz
hercules-39d776311e6cda0692503f599ce997a77dbe700d.tar.bz2
hercules-39d776311e6cda0692503f599ce997a77dbe700d.tar.xz
hercules-39d776311e6cda0692503f599ce997a77dbe700d.zip
* Fixed a crash in clif_send when checking packet version
* Fixed a crash in Deluge, Volcano and Violent Gale * Allow super novices to rent carts from the Kafra git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1420 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/kafras')
-rw-r--r--npc/kafras/functions_kafras.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 5e1c5b6bc..b27545388 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -9,7 +9,7 @@
//= Lupus
//= kobra_k88 (2.0)
//===== Current Version: =====================================
-//= 2.3
+//= 2.4
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: ===============================================
@@ -25,6 +25,7 @@
//= 2.2b This version uses arrays for the teleport option.
//= Rearranged next statements to make menu transitions smoother. [kobra_k88]
//= 2.3 Removed SAVE from Niflheim. [Lupus]
+//= 2.4 Allow Super novices to rent carts, thanks to HawkMoon
//============================================================
@@ -182,7 +183,7 @@ function script F_KafTele {
// Cart Function ========================================================
function script F_KafCart {
- if(callfunc("Is_Merc_Class") == 0) goto sL_CantRent;
+ if(callfunc("Is_Merc_Class") == 0 && callfunc("Is_Super_Class") == 0) goto sL_CantRent;
if(getskilllv(39)==0) goto sL_NeedSkill;
if(checkcart(0) == 1) goto sL_GotCart;
if(getarg(0) == 2) goto L_Guild;