diff options
author | shennetsind <ind@henn.et> | 2013-06-30 15:34:50 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-30 15:34:50 -0300 |
commit | 19e25a2d18164ede743c79aba0c92b20ac17bdca (patch) | |
tree | f8cf124145d70a157c37bb81395d977f97d2f391 /src/map/pc.h | |
parent | 3e54d00ad3e1f6fd56aace6f227c66a5b67eb3ea (diff) | |
download | hercules-19e25a2d18164ede743c79aba0c92b20ac17bdca.tar.gz hercules-19e25a2d18164ede743c79aba0c92b20ac17bdca.tar.bz2 hercules-19e25a2d18164ede743c79aba0c92b20ac17bdca.tar.xz hercules-19e25a2d18164ede743c79aba0c92b20ac17bdca.zip |
Fixed Skill Cooldowns
Special Thanks to Vylow for bringing this to our attention.
Also added support for the client-side cooldown left/total feature (packetver 20120604 and newer)
Made Possible Thanks to Yommy =3
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 442b55965..8be2b7344 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -3,6 +3,7 @@ // Portions Copyright (c) Athena Dev Teams #ifndef _PC_H_ #define _PC_H_ + #include "../common/mmo.h" // JOB_*, MAX_FAME_LIST, struct fame_list, struct mmo_charstatus #include "../common/ers.h" #include "../common/timer.h" // INVALID_TIMER @@ -20,9 +21,11 @@ #include "mob.h" #include "log.h" #include "pc_groups.h" + #define MAX_PC_BONUS 10 #define MAX_PC_SKILL_REQUIRE 5 #define MAX_PC_FEELHATE 3 + //Equip indexes constants. (eg: sd->equip_index[EQI_AMMO] returns the index //where the arrows are equipped) enum equip_index { @@ -507,9 +510,6 @@ struct map_session_data { struct eri *pc_sc_display_ers; -//Update this max as necessary. 55 is the value needed for Super Baby currently -//Raised to 84 since Expanded Super Novice needs it. -#define MAX_SKILL_TREE 84 //Total number of classes (for data storage) #define CLASS_COUNT (JOB_MAX - JOB_NOVICE_HIGH + JOB_MAX_BASIC) |