Jump to content
  • 0
Zell

Damage Effect

Question

I'm having trouble to figure out how to make the damage effect with numbers. Actually I can call the effect with npcskilleffect, but the number paramet only works with "1", I want to know how to display proper the damage count effect with a number of my choice

Like heal effect on npcskilleffect.

Thanks

Edited by Zell
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

clif_damage(struct block_list* src, struct block_list* dst, unsigned int tick, int sdelay, int ddelay, int64 sdamage, int div, enum e_damage_type type, int64 sdamage2)

src : who send this

dst : who receive this

tick : when do this

sdelay, ddelay, div, sdamage2 : you don't need to care it

sdamage : yeap, damage number

type : 0 ~ 12, there are info in clif.c

Here is a little sample about monster send 9999 to me :

clif_damage(&md->bl, &sd->bl, gettick(), 0, 0, 9999, 0, DMG_NORMAL, 0);
Edited by goddameit
  • Upvote 1
Link to comment
Share on other sites

bump,

 

I know that with clif_damage we can call this, but i'm a bit lost.

Link to comment
Share on other sites

Thanks, I will try!!!


Thank you so much Goddamit, works like a charm, I crated the command showdamage DMG,charid

 

thanks!

Link to comment
Share on other sites

Thanks, I will try!!!

Thank you so much Goddamit, works like a charm, I crated the command showdamage DMG,charid

 

thanks!

that seems like it could be useful

Link to comment
Share on other sites

 

Thanks, I will try!!!

Thank you so much Goddamit, works like a charm, I crated the command showdamage DMG,charid

 

thanks!

that seems like it could be useful

 

 

Yes, cause I'm doing a trading card game, with this I can make the attack/damage display

Edited by Zell
Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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