diff options
author | shennetsind <ind@henn.et> | 2013-05-05 17:39:47 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-05 17:39:47 -0300 |
commit | 8cc9012eb7e064677d2c9fa74fe1d1a09f90b581 (patch) | |
tree | ca3cfc4490a15db7603b724c4b7a516abe7fec6b /src/map/status.h | |
parent | 3eb517a5ed648a06fe3158deda37c53fd140414b (diff) | |
download | hercules-8cc9012eb7e064677d2c9fa74fe1d1a09f90b581.tar.gz hercules-8cc9012eb7e064677d2c9fa74fe1d1a09f90b581.tar.bz2 hercules-8cc9012eb7e064677d2c9fa74fe1d1a09f90b581.tar.xz hercules-8cc9012eb7e064677d2c9fa74fe1d1a09f90b581.zip |
3rd Class Effects Update
http://hercules.ws/board/topic/561-3rd-class-effects-update/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/map/status.h b/src/map/status.h index eeac01e70..4a7af884e 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -16,9 +16,9 @@ struct status_change; * Changing this limit requires edits to refine_db.txt **/ #ifdef RENEWAL -# define MAX_REFINE 20 + #define MAX_REFINE 20 #else -# define MAX_REFINE 10 + #define MAX_REFINE 10 #endif enum refine_type { @@ -1563,6 +1563,13 @@ struct weapon_atk { #endif }; +sc_type SkillStatusChangeTable[MAX_SKILL]; // skill -> status +int StatusIconChangeTable[SC_MAX]; // status -> "icon" (icon is a bit of a misnomer, since there exist values with no icon associated) +unsigned int StatusChangeFlagTable[SC_MAX]; // status -> flags +int StatusSkillChangeTable[SC_MAX]; // status -> skill +int StatusRelevantBLTypes[SI_MAX]; // "icon" -> enum bl_type (for clif->status_change to identify for which bl types to send packets) +bool StatusDisplayType[SC_MAX]; + //For holding basic status (which can be modified by status changes) struct status_data { @@ -1639,6 +1646,11 @@ struct regen_data { struct regen_data_sub *sregen, *ssregen; }; +struct sc_display_entry { + enum sc_type type; + int val1,val2,val3; +}; + struct status_change_entry { int timer; int val1,val2,val3,val4; |