diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-11 10:17:53 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-11 10:17:53 +0000 |
commit | d4e895de213f20d1e66846b25afee77dd310a28a (patch) | |
tree | 7707ddfcc8b81808a36baab56f111f32396bd550 /src/map/pc.h | |
parent | 6cb7f24e8447fb5149f19bb8a04d902472b3bd4e (diff) | |
download | hercules-d4e895de213f20d1e66846b25afee77dd310a28a.tar.gz hercules-d4e895de213f20d1e66846b25afee77dd310a28a.tar.bz2 hercules-d4e895de213f20d1e66846b25afee77dd310a28a.tar.xz hercules-d4e895de213f20d1e66846b25afee77dd310a28a.zip |
* Reduced memory used for the skill_tree DB by 30+mb
* Added script commands isday and isnight
* Updated Sharp Shooting, Ankle Snare, Magnum Break, Tiger Fist, Devotion, Soul Burn
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1072 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 6fe04c946..8c28e299a 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -9,6 +9,8 @@ #define CART_MASK 0x788 #define STATE_BLIND 0x10 +#define MAX_SKILL_TREE 51 + #define pc_setdead(sd) ((sd)->state.dead_sit = 1) #define pc_setsit(sd) ((sd)->state.dead_sit = 2) //#define pc_setstand(sd) ((sd)->state.dead_sit = 0) @@ -175,13 +177,14 @@ int pc_calc_base_job2(int b_class); // Celest int pc_calc_upper(int b_class); struct skill_tree_entry { - int id; - int max; + short id; + unsigned char max; struct { - short id,lv; - } need[6]; + short id; + unsigned char lv; + } need[5]; }; // Celest -extern struct skill_tree_entry skill_tree[3][MAX_PC_CLASS][100]; +extern struct skill_tree_entry skill_tree[3][25][MAX_SKILL_TREE]; int pc_read_gm_account(int fd); int pc_setinvincibletimer(struct map_session_data *sd,int); |