summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-01 14:12:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-01 14:12:51 +0000
commitd3adab9f6f417979f9f7a5915930604d0add5c64 (patch)
tree2d9b1b661dd4a9323d8036bfbd379cb0b7cda32a /src/map/status.c
parent116eb2b7f492f871e0348c05fbe075191d14c4d6 (diff)
downloadhercules-d3adab9f6f417979f9f7a5915930604d0add5c64.tar.gz
hercules-d3adab9f6f417979f9f7a5915930604d0add5c64.tar.bz2
hercules-d3adab9f6f417979f9f7a5915930604d0add5c64.tar.xz
hercules-d3adab9f6f417979f9f7a5915930604d0add5c64.zip
- Soul Breaker will now be affected by Lex Aeterna on both parts of the attack.
- Some minor code cleanups - Cleaned Adaptation's code to not require to check the Skill Unit group structure to extract the skill lv info. - Status changes with no skill and no SCB* data will now go through if they have an SI* icon. This should fix SC_MIRACLE - Reverted switching a mob's adelay/amotion when the later is longer than the former, now both get updated to amotion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8574 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index adb27c245..e4747fa12 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5598,7 +5598,9 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
break; // It just change the armor element of the player (used by battle_attr_fix)
// So it has no SCB and no skill associated (used by potion scripts)
default:
- if (calc_flag == SCB_NONE && StatusSkillChangeTable[type]==0)
+ if (calc_flag == SCB_NONE &&
+ StatusSkillChangeTable[type]==0 &&
+ StatusIconChangeTable[type]==0)
{ //Status change with no calc, and no skill associated...? unknown?
if(battle_config.error_log)
ShowError("UnknownStatusChange [%d]\n", type);