Updated Volcanic Ash effect (fixes #1090)

* No longer gives 150% increased damage to fire type attacks.
* No longer damages self and allies on normal map types.
This commit is contained in:
aleos89 2016-03-26 10:25:22 -04:00
parent 590f42cd15
commit 88d2dde632
2 changed files with 4 additions and 2 deletions

View File

@ -486,8 +486,6 @@ int64 battle_attr_fix(struct block_list *src, struct block_list *target, int64 d
status_change_end(target, SC_CRYSTALIZE, INVALID_TIMER);
if (tsc->data[SC_EARTH_INSIGNIA])
ratio += 50;
if (tsc->data[SC_ASH])
ratio += 50;
break;
case ELE_HOLY:
if (tsc->data[SC_ORATIO])

View File

@ -12845,6 +12845,10 @@ struct skill_unit_group *skill_unitsetting(struct block_list *src, uint16 skill_
// Officially, duration (limit) is 5secs, interval 0.5secs damage interval.
limit = interval * 10;
break;
case MH_VOLCANIC_ASH:
if (!map_flag_vs(src->m))
target = BCT_ENEMY;
break;
}
// Init skill unit group