Really need a filtered WoE damage indicator

kanemi

New member
Messages
13
Points
0
For my server, I need to be able to see damage numbers for only the damage dealt to you, and damage you deal. Without this I fear I don't have a server. Due to all the customization involved in my server some sort of WoE damage indicator is necessary. Is it possible, does anyone know how to do it? If so, I will pay for your services. Don't hesitate to PM me! Thanks.

 
Find

Code:
if (clif->isdisguised(dst)) {
		clif->send(&p,sizeof(p),dst,AREA_WOS);
		p.targetGID = -dst->id;
		clif->send(&p,sizeof(p),dst,SELF);
	} else {
		clif->send(&p,sizeof(p),dst,AREA);
	}
Change to
Code:
if (clif->isdisguised(dst)) {
		clif->send(&p,sizeof(p),dst,AREA_WOS);
		p.targetGID = -dst->id;
		clif->send(&p,sizeof(p),dst,SELF);
	} else {
		if (battle_config.hide_woe_damage && map_flag_gvg2(src->m)) {
			clif->send(&p,sizeof(p),dst,SELF);
			p.damage = damage?div:0;
			p.leftDamage = damage2?div:0;
			clif->send(&p,sizeof(p),dst,AREA_WOS);
		} else {
			clif->send(&p,sizeof(p),dst,AREA);
		}
	}
 
Back
Top