Jump to content
  • 0

Damage Effect


Zell

Question


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   261
  • Joined:  04/25/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   261
  • Joined:  04/25/12
  • Last Seen:  

bump,

 

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   261
  • Joined:  04/25/12
  • Last Seen:  

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


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   261
  • Joined:  04/25/12
  • Last Seen:  

 

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...