Jump to content
  • 0

Problem with code no animation on npc


iAlreadyExist

Question

3 answers to this question

Recommended Posts

  • 0

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());
Link to comment
Share on other sites

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