Changed addExpAndSp methods to synchronized.
This commit is contained in:
parent
42039fadd5
commit
9d7d7f4db3
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10542,12 +10542,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10545,12 +10545,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10547,12 +10547,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10538,12 +10538,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10562,12 +10562,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10565,12 +10565,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10571,12 +10571,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3771,7 +3771,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10593,12 +10593,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3771,7 +3771,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10704,12 +10704,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3771,7 +3771,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10731,12 +10731,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3771,7 +3771,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10781,12 +10781,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3771,7 +3771,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10781,12 +10781,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -1187,7 +1187,7 @@ public abstract class Creature extends WorldObject
|
||||
return true;
|
||||
}
|
||||
|
||||
public void addExpAndSp(int addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(int addToExp, int addToSp)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -336,7 +336,7 @@ public class Player extends Creature
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(int addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(int addToExp, int addToSp)
|
||||
{
|
||||
_exp += addToExp;
|
||||
_sp += addToSp;
|
||||
|
@ -244,7 +244,7 @@ public class Pet extends Creature
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(int addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(int addToExp, int addToSp)
|
||||
{
|
||||
_exp += addToExp;
|
||||
_sp += addToSp;
|
||||
|
@ -5709,7 +5709,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
|
||||
* @param addToExp the add to exp
|
||||
* @param addToSp the add to sp
|
||||
*/
|
||||
public void addExpAndSp(long addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(long addToExp, int addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -12368,7 +12368,7 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(long addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(long addToExp, int addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp);
|
||||
}
|
||||
|
@ -1003,7 +1003,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(long addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(long addToExp, int addToSp)
|
||||
{
|
||||
if (getNpcId() == 12564)
|
||||
{
|
||||
|
@ -170,7 +170,7 @@ public class Servitor extends Summon
|
||||
_timeRemaining -= value;
|
||||
}
|
||||
|
||||
public void addExpAndSp(int addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(int addToExp, int addToSp)
|
||||
{
|
||||
getOwner().addExpAndSp(addToExp, addToSp);
|
||||
}
|
||||
|
@ -5755,7 +5755,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
|
||||
* @param addToExp the add to exp
|
||||
* @param addToSp the add to sp
|
||||
*/
|
||||
public void addExpAndSp(long addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(long addToExp, int addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -12680,7 +12680,7 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(long addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(long addToExp, int addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp);
|
||||
}
|
||||
|
@ -1012,7 +1012,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(long addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(long addToExp, int addToSp)
|
||||
{
|
||||
if (getNpcId() == 12564)
|
||||
{
|
||||
|
@ -170,7 +170,7 @@ public class Servitor extends Summon
|
||||
_timeRemaining -= value;
|
||||
}
|
||||
|
||||
public void addExpAndSp(int addToExp, int addToSp)
|
||||
public synchronized void addExpAndSp(int addToExp, int addToSp)
|
||||
{
|
||||
getOwner().addExpAndSp(addToExp, addToSp);
|
||||
}
|
||||
|
@ -4547,7 +4547,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10400,12 +10400,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1135,7 +1135,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564)
|
||||
{
|
||||
|
@ -4742,7 +4742,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10942,12 +10942,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1141,7 +1141,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564)
|
||||
{
|
||||
|
@ -4744,7 +4744,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10825,12 +10825,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1141,7 +1141,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564)
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10447,12 +10447,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10447,12 +10447,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10433,12 +10433,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3785,7 +3785,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10462,12 +10462,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3785,7 +3785,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10462,12 +10462,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3784,7 +3784,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10419,12 +10419,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3772,7 +3772,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10443,12 +10443,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1175,7 +1175,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3787,7 +3787,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10596,12 +10596,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1320,7 +1320,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3794,7 +3794,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10663,12 +10663,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1320,7 +1320,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3794,7 +3794,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10811,12 +10811,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1320,7 +1320,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
@ -3794,7 +3794,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
* @param addToExp
|
||||
* @param addToSp
|
||||
*/
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
// Dummy method (overridden by players and pets)
|
||||
}
|
||||
|
@ -10833,12 +10833,12 @@ public class Player extends Playable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, false);
|
||||
}
|
||||
|
||||
public void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp, boolean useVitality)
|
||||
{
|
||||
getStat().addExpAndSp(addToExp, addToSp, useVitality);
|
||||
}
|
||||
|
@ -1320,7 +1320,7 @@ public class Pet extends Summon
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExpAndSp(double addToExp, double addToSp)
|
||||
public synchronized void addExpAndSp(double addToExp, double addToSp)
|
||||
{
|
||||
if (getId() == 12564) // TODO: Remove this stupid hardcode.
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user