Updated NPC template EXP and SP values.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user