Jump to content
  • 0

Problem with code no animation on npc


Question

3 answers to this question

Recommended Posts

  • 0
Posted

because of that

public double getMovementSpeedMultiplier()
{
	return 0;
}

public double getAttackSpeedMultiplier()
{
	return 0;
}

 

AbstractNpcInfo.java

-           writeF(_npc.getMovementSpeedMultiplier()); 
-           writeF(_npc.getAttackSpeedMultiplier());

+           writeF(_npc.getStat().getMovementSpeedMultiplier());
+           writeF(_npc.getStat().getAttackSpeedMultiplier());
  • 0
Posted (edited)
46 minutes ago, melron said:

because of that


public double getMovementSpeedMultiplier()
{
	return 0;
}

public double getAttackSpeedMultiplier()
{
	return 0;
}

 

AbstractNpcInfo.java


-           writeF(_npc.getMovementSpeedMultiplier()); 
-           writeF(_npc.getAttackSpeedMultiplier());

+           writeF(_npc.getStat().getMovementSpeedMultiplier());
+           writeF(_npc.getStat().getAttackSpeedMultiplier());

it works thx mods u can lock :)

Edited by haskovo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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