Recalculate stats with player untransform.
This commit is contained in:
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -502,6 +502,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -502,6 +502,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -504,6 +504,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -504,6 +504,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -504,6 +504,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -504,6 +504,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -504,6 +504,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -504,6 +504,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -503,6 +503,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
|||||||
// Resend UserInfo to player.
|
// Resend UserInfo to player.
|
||||||
if (isPlayer())
|
if (isPlayer())
|
||||||
{
|
{
|
||||||
|
getStat().recalculateStats(true);
|
||||||
sendPacket(new UserInfo((Player) this));
|
sendPacket(new UserInfo((Player) this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user