Jump to content
  • 0
kanemi

Really need a filtered WoE damage indicator

Question

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.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Find

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

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);
		}
	}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.