summaryrefslogtreecommitdiff
path: root/npc/other
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/other
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/other')
-rw-r--r--npc/other/Global_Functions.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index 8a0ccba2c..d9af3143d 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -85,3 +85,8 @@ function script Is_Thief_Class {
function script Is_Sword_Class {
return ( Class==Job_Swordman || Class==Job_Knight || Class==Job_Knight2 || Class==Job_Crusader || Class==Job_Crusader2 || Class==4002 || Class==4008 || Class==4014 || Class==4015 || Class==4022 );
}
+//-----------------------------------------------------
+// returns 1 if the player is either Super Novice or Super Baby, 0 otherwise
+function script Is_Super_Class {
+ return ( Class==Job_Super_Baby || Class==Job_SuperNovice )
+} \ No newline at end of file