summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-02 20:37:54 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:21:48 +0200
commit473ba564829a6d0153e320d1f302754442648ec7 (patch)
tree17b2470fcff090af25e854a4df0160b1f89eaa38 /npc
parent7c72c942d52915cb7c5c9692bd927772ad34bcca (diff)
downloadhercules-473ba564829a6d0153e320d1f302754442648ec7.tar.gz
hercules-473ba564829a6d0153e320d1f302754442648ec7.tar.bz2
hercules-473ba564829a6d0153e320d1f302754442648ec7.tar.xz
hercules-473ba564829a6d0153e320d1f302754442648ec7.zip
Implemented SU_BASIC_SKILL Skill of Summoner
Added Function for Basic Skills check.
Diffstat (limited to 'npc')
-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 54db666e6..e1e547174 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -10,6 +10,7 @@
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Dastgir
//= Copyright (C) Haru
//= Copyright (C) rAthena Dev Team
//= Copyright (C) Euphy
@@ -47,7 +48,7 @@
//= These functions handle save, storage, cart rental, teleport, and Free
//= Teleport/Warp/Rent Cart options for all Kafra NPCs.
//================= Current Version =======================================
-//= 6.8
+//= 6.9
//=========================================================================
//== Main Function =========================================
@@ -210,7 +211,7 @@ function script F_KafStor {
close;
}
// Unable to access Normal Storage (Insufficient Basic Skills)
- if (basicskillcheck() && getskilllv(NV_BASIC) < 6) {
+ if (basicskillcheck() && getskilllv(NV_BASIC) < 6 && getskilllv(SU_BASIC_SKILL) == 0) {
mes getarg(3);
// Niflheim Specific Message
if (getarg(2) == 1) {