Jump to content

How to keep a skill's last animation


Hustman

Recommended Posts

24 minutes ago, Hustman said:

It is for l2j tho

Well whenever a player requests to cast a skill, if he meets the requirements server sends to client MagicSkillUse packet which holds information for the skill, source and target location(x, y, z respectively). All these information are handled by client. What you can try to do server-side is to change source location to dummy location (0, 0, 0) or something. Although im not sure if this is going to work as intented + it's a crappy way to do. The best way is to handle this on client (removing the animation from source or something). Soulshots are handled on a different way. Animation on caster is a MagicSkillUse packet while animation on target is handled through Attack server packet. 

Link to comment
Share on other sites

1 hour ago, melron said:

Try to send the packet with 0 hittime

I did, I saw how the flame armor is written for example and I changed Blaze (the skill) to be the same, thing is that the animation that shows is only the flaming ball above the character and not when it hits...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...