Do not show custom faction max level message.
This commit is contained in:
@@ -3011,10 +3011,6 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
|
|||||||
{
|
{
|
||||||
player.sendPacket(new ExShowScreenMessage("Your reputation with the " + faction.toString().toLowerCase().replace("_", " ") + " faction was increased by " + factionPoints + " points.", 5000));
|
player.sendPacket(new ExShowScreenMessage("Your reputation with the " + faction.toString().toLowerCase().replace("_", " ") + " faction was increased by " + factionPoints + " points.", 5000));
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
player.sendPacket(new ExShowScreenMessage("Your reputation with the " + faction.toString().toLowerCase().replace("_", " ") + " faction is at the highest level possible.", 5000));
|
|
||||||
}
|
|
||||||
|
|
||||||
player.addFactionPoints(faction, factionPoints);
|
player.addFactionPoints(faction, factionPoints);
|
||||||
final int newLevel = player.getFactionLevel(faction);
|
final int newLevel = player.getFactionLevel(faction);
|
||||||
|
Reference in New Issue
Block a user