Originally posted by [b]Brainstorm[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1843
CODE
int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,int div_,int skill_num,int skill_lv,int flag)
{
struct map_session_data *sd = NULL;
struct status_change *sc;
struct status_change_entry *sce;
nullpo_retr(0, bl);
if (!damage)
return 0;
This was introduced by skotlex a long time ago, to fix something regarding attributes, no idea what it was really, need to review the changelog.
But this causes negative damage by element to actually heal the enemy, such as Storm Gust heal Garm. Poison attacks heal evildruid-wearers and so on.
It was tested that on aegis, you dont get any heal if your armor element reduced the damage to 0.