Follow up to 375f0ae
* Crystallize Wind damage increase should only apply to Magic-type skills. Thanks to @flamefury!
This commit is contained in:
parent
375f0ae465
commit
8e9f7a59e3
@ -535,12 +535,16 @@ int64 battle_attr_fix(struct block_list *src, struct block_list *target, int64 d
|
||||
#else
|
||||
damage += (int64)(damage * 50 / 100);
|
||||
#endif
|
||||
if (tsc->data[SC_CRYSTALIZE])
|
||||
if (tsc->data[SC_CRYSTALIZE]) {
|
||||
uint16 skill_id = battle_getcurrentskill(src);
|
||||
|
||||
if (skill_get_type(skill_id)&BF_MAGIC)
|
||||
#ifdef RENEWAL
|
||||
ratio += 50;
|
||||
ratio += 50;
|
||||
#else
|
||||
damage += (int64)(damage * 50 / 100);
|
||||
damage += (int64)(damage * 50 / 100);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
case ELE_WATER:
|
||||
if (tsc->data[SC_FIRE_INSIGNIA])
|
||||
|
Loading…
x
Reference in New Issue
Block a user