Skip to content

skill cast time shorter

Featured Replies

hello guys if anyone can help me with this or i can pay to make it done

i want to make packets on cast skills to finish shorter than normal like this server

and without touch the skill cast time just to make it from skill packets

like this video : 

 

Edited by GoldenNightmare

L2Character / Creature from memory has code responsible for cast time and such. Find beginCast and search for the code line with magic broadcast and decrease the timer. I guess. Not rly sure. 

In L2Character.java find in the Begin method the line that says 

int skillTime = (skill.getHitTime() + skill.getCoolTime());

 

 

  • Author

im using l2jserver last rev

 

are u talking about this  ?

 

broadcastPacket(new MagicSkillUse(this, target, skill.getDisplayId(), skill.getDisplayLevel(), hitTime, reuseDelay));

 

but guys maybe its happening on official from packet priority?

Edited by GoldenNightmare

		if ((skillAnimTime < 500) && (skill.getHitTime() > 500))
		{
			skillAnimTime = 500;
		}

Reduce values. Avoid to delete the check, but put something like 100 or 50. Lower values or non-existant could introduce issues.

 

If you haven't that part of code, you got something similar between Kara' 's code and broadcastPacket(new MagicSkillUse  anyway.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.