summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c8
-rw-r--r--src/map/status.h8
-rw-r--r--src/map/unit.c4
3 files changed, 8 insertions, 12 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 802b5181e..7fe6b2326 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -447,10 +447,10 @@ void initChangeTables(void)
//Status that don't have a skill associated.
StatusIconChangeTable[SC_WEIGHT50] = SI_WEIGHT50;
StatusIconChangeTable[SC_WEIGHT90] = SI_WEIGHT90;
- StatusIconChangeTable[SC_ASPDPOTION0] = SI_ASPDPOTION;
- StatusIconChangeTable[SC_ASPDPOTION1] = SI_ASPDPOTION;
- StatusIconChangeTable[SC_ASPDPOTION2] = SI_ASPDPOTION;
- StatusIconChangeTable[SC_ASPDPOTION3] = SI_ASPDPOTION;
+ StatusIconChangeTable[SC_ASPDPOTION0] = SI_ASPDPOTION0;
+ StatusIconChangeTable[SC_ASPDPOTION1] = SI_ASPDPOTION1;
+ StatusIconChangeTable[SC_ASPDPOTION2] = SI_ASPDPOTION2;
+ StatusIconChangeTable[SC_ASPDPOTION3] = SI_ASPDPOTIONINFINITY;
StatusIconChangeTable[SC_SPEEDUP0] = SI_SPEEDPOTION1;
StatusIconChangeTable[SC_SPEEDUP1] = SI_SPEEDPOTION2;
StatusIconChangeTable[SC_INCSTR] = SI_INCSTR;
diff --git a/src/map/status.h b/src/map/status.h
index e127f8f5e..e6adb62b7 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -356,10 +356,10 @@ enum si_type {
SI_HALLUCINATION = 34,
SI_WEIGHT50 = 35,
SI_WEIGHT90 = 36,
- SI_ASPDPOTION = 37,
-// SI_ASPDPOTION2 = 38,
-// SI_ASPDPOTION3 = 39,
-// SI_ASPDPOTIONINFINITY = 40,
+ SI_ASPDPOTION0 = 37,
+ SI_ASPDPOTION1 = 38,
+ SI_ASPDPOTION2 = 39,
+ SI_ASPDPOTIONINFINITY = 40,
SI_SPEEDPOTION1 = 41,
SI_SPEEDPOTION2 = 42,
// SI_AUTOCOUNTER = 43,
diff --git a/src/map/unit.c b/src/map/unit.c
index 485eb4d6e..3dd1b30e4 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1075,8 +1075,6 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
ud->state.skillcastcancel = 0;
ud->canact_tick = tick + casttime + 100;
- if ( battle_config.display_status_timers && sd )
- clif_status_change(src, SI_ACTIONDELAY, 1, casttime);
if( sd )
{
switch( skill_num )
@@ -1182,8 +1180,6 @@ int unit_skilluse_pos2( struct block_list *src, short skill_x, short skill_y, sh
ud->state.skillcastcancel = castcancel&&casttime>0?1:0;
ud->canact_tick = tick + casttime + 100;
- if ( battle_config.display_status_timers && sd )
- clif_status_change(src, SI_ACTIONDELAY, 1, casttime);
// if( sd )
// {
// switch( skill_num )