diff options
author | Jedzkie <jedzkie13@rocketmail.com> | 2013-10-27 18:07:15 +0800 |
---|---|---|
committer | Jedzkie <jedzkie13@rocketmail.com> | 2013-10-27 18:07:15 +0800 |
commit | da1f16b2b5f42006c252496f2ffa02266008a833 (patch) | |
tree | 1f23c3d7c4a1ba72604d097840aa1e990eb6cf69 /src/map | |
parent | 5dc1c33df515eac4eca7a7d8525ed67f4bda4af3 (diff) | |
download | hercules-da1f16b2b5f42006c252496f2ffa02266008a833.tar.gz hercules-da1f16b2b5f42006c252496f2ffa02266008a833.tar.bz2 hercules-da1f16b2b5f42006c252496f2ffa02266008a833.tar.xz hercules-da1f16b2b5f42006c252496f2ffa02266008a833.zip |
Added full support on Moon Star and Super Star items
Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 7 | ||||
-rw-r--r-- | src/map/status.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 70cc3bccf..9e98b2801 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -906,6 +906,8 @@ void initChangeTables(void) { status->IconChangeTable[SC_REBOUND] = SI_REBOUND; status->IconChangeTable[SC_ALL_RIDING] = SI_ALL_RIDING; status->IconChangeTable[SC_MONSTER_TRANSFORM] = SI_MONSTER_TRANSFORM; + status->IconChangeTable[SC_MOONSTAR] = SI_MOONSTAR; + status->IconChangeTable[SC_SUPER_STAR] = SI_SUPER_STAR; //Other SC which are not necessarily associated to skills. status->ChangeFlagTable[SC_ATTHASTE_POTION1] = SCB_ASPD; @@ -995,6 +997,9 @@ void initChangeTables(void) { status->ChangeFlagTable[SC_MTF_MATK] = SCB_MATK; status->ChangeFlagTable[SC_MTF_MLEATKED] |= SCB_ALL; + status->ChangeFlagTable[SC_MOONSTAR] |= SCB_NONE; + status->ChangeFlagTable[SC_SUPER_STAR] |= SCB_NONE; + /* status->DisplayType Table [Ind/Hercules] */ status->DisplayType[SC_ALL_RIDING] = true; status->DisplayType[SC_PUSH_CART] = true; @@ -1019,6 +1024,8 @@ void initChangeTables(void) { status->DisplayType[SC__SHADOWFORM] = true; status->DisplayType[SC__MANHOLE] = true; status->DisplayType[SC_MONSTER_TRANSFORM] = true; + status->DisplayType[SC_MOONSTAR] = true; + status->DisplayType[SC_SUPER_STAR] = true; #ifdef RENEWAL_EDP // renewal EDP increases your weapon atk diff --git a/src/map/status.h b/src/map/status.h index 9edf29d2c..254f3bfab 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -677,6 +677,9 @@ typedef enum sc_type { SC_MTF_MLEATKED, SC_MTF_CRIDAMAGE, + SC_MOONSTAR, + SC_SUPER_STAR, + SC_MAX, //Automatically updated max, used in for's to check we are within bounds. } sc_type; // Official status change ids, used to display status icons on the client. |