diff options
author | kobra_k88 <kobra_k88@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-17 19:14:29 +0000 |
---|---|---|
committer | kobra_k88 <kobra_k88@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-17 19:14:29 +0000 |
commit | 02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6 (patch) | |
tree | a3c49e1fdb659a0a9082b33304b17499986afd2c /npc/other | |
parent | 32eac40dc34fcab873a8c4ad8e5490ba2c831d6d (diff) | |
download | hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.tar.gz hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.tar.bz2 hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.tar.xz hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.zip |
Fixed issue of guardians hp not updating after defense investment.
Moved treasure spawn time to ev_agit_event.txt.
Changes to headers and comments in various files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@233 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r-- | npc/other/Global_Functions.txt | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index b9cb96183..332737c0c 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -49,32 +49,38 @@ function script F_ClearJobVar { //======================================================= //------------------------------------------------------ -//returns 1 if the player is either Aco,Monk or Priest, 0 otherwise +// returns 1 if the player is either Aco,Monk,Priest,Aco High,High Priest, +// Champion, 0 otherwise function script Is_Holy_Class { return ( Class==Job_Acolyte || Class==Job_Priest || Class==Job_Monk || Class==4005 || Class==4009 || Class==4016 ); } //------------------------------------------------------ -//returns 1 if the player is either Archer,Hunter,Bard,Dancer, 0 otherwise +// returns 1 if the player is either Archer,Hunter,Bard,Dancer,Archer High,Sniper, +// Clown,Gypsy, 0 otherwise function script Is_Bow_Class { return ( Class==Job_Archer || Class==Job_Hunter || Class==Job_Bard || Class==Job_Dancer || Class==4004 || Class==4012 || Class==4020 || Class==4021); } //------------------------------------------------------ -//returns 1 if the player is either Mage,Wizard,Sage, 0 otherwise +// returns 1 if the player is either Mage,Wizard,Sage,Mage High,High Wizard, +// Professor, 0 otherwise function script Is_Magic_Class { return ( Class==Job_Mage || Class==Job_Wizard || Class==Job_Sage || Class==4003 || Class==4010 || Class==4017 ); } //---------------------------------------------------- -//returns 1 if the player is either Merchant,Blacksmith,Alchemist, 0 otherwise +// returns 1 if the player is either Merc,Blacksmith,Alchemist,Merc High, +// Whitesmith,Creator, 0 otherwise function script Is_Merc_Class { return ( Class==Job_Merchant || Class==Job_Blacksmith || Class==Job_Alchem || Class==4006 || Class==4011 || Class==4019 ); } //------------------------------------------------------ -//returns 1 if the player is either Thief,Assassin,Rogue, 0 otherwise +// returns 1 if the player is either Thief,Assassin,Rogue,Thief High, Assassin Cross +// Stalker, 0 otherwise function script Is_Thief_Class { return ( Class==Job_Thief || Class==Job_Assassin || Class==Job_Rogue || Class==4007 || Class==4013 || Class==4018 ); } //----------------------------------------------------- -//returns 1 if the player is either Swordsman,Knight,Crusader, 0 otherwise +// returns 1 if the player is either Swordy,Knight,Crusader,Swordy High, +// Lord Knight,Paladin, 0 otherwise 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 ); } |