Updated NPC template EXP and SP values.

This commit is contained in:
MobiusDevelopment
2022-11-15 00:55:29 +00:00
parent 336956c0cf
commit 1c0a013ae0
185 changed files with 3850 additions and 4181 deletions

View File

@@ -160,25 +160,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
_weaponEnchant = set.getInt("weaponEnchant", 0);
_exp = set.getDouble("exp", 0);
// TODO: Tempfix until XMLs are updated.
if (_exp > 0)
{
_exp /= 10000;
if (_exp == 0)
{
_exp = 1;
}
}
_sp = set.getDouble("sp", 0);
// TODO: Tempfix until XMLs are updated.
if (_sp > 0)
{
_sp /= 10000;
if (_sp == 0)
{
_sp = 1;
}
}
_raidPoints = set.getDouble("raidPoints", 0);
_unique = set.getBoolean("unique", false);
_attackable = set.getBoolean("attackable", true);