More TDs fixes:
- Increase TDs aggro range - Add proper music for the Ancient Guthix Temple. - Add a kill counter for TDs, and replace Bork with it in `::stats`.
This commit is contained in:
@@ -25,6 +25,11 @@ public enum BossKillCounter {
|
||||
JAD(new int[] { 2745 }, "Tz-Tok Jad", 14828),
|
||||
KALPHITE_QUEEN(new int[] { 1160 }, "Kalphite Queen", 14650),
|
||||
CORPOREAL_BEAST(new int[] { 8133 }, "Corporeal Beast", 14653),
|
||||
TORMENTED_DEMONS(new int[] {
|
||||
8349, 8350, 8351, 8352, 8353, 8354,
|
||||
8355, 8356, 8357, 8358, 8359, 8360,
|
||||
8361, 8362, 8363, 8364, 8365, 8366,
|
||||
}, "Tormented demon", -1),
|
||||
CALLISTO(new int[] { 8610 }, "Callisto", 14658),
|
||||
SCORPIA(new int[] { 8611 }, "Scorpia", 14661),
|
||||
VENENATIS(new int[] { 8612 }, "Venenatis", 14657),
|
||||
@@ -169,4 +174,4 @@ public enum BossKillCounter {
|
||||
player.getPacketDispatch().sendMessage("Your Barrows chest count is: <col=ff0000>" + player.getSavedData().getGlobalData().getBarrowsLoots() + "</col>.");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package core.game.node.entity.npc.bosses;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import core.game.content.global.BossKillCounter;
|
||||
import core.game.node.entity.Entity;
|
||||
import core.game.node.entity.combat.BattleState;
|
||||
import core.game.node.entity.combat.CombatStyle;
|
||||
@@ -63,6 +64,14 @@ public class TormentedDemonNPC extends AbstractNPC {
|
||||
*/
|
||||
private final int[] damageLog = new int[3];
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
super.init();
|
||||
getAggressiveHandler().setChanceRatio(10);
|
||||
getAggressiveHandler().setRadius(64);
|
||||
getAggressiveHandler().setAllowTolerance(false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new {@Code TormentedDemonNPC} {@Code Object}
|
||||
*/
|
||||
@@ -162,6 +171,7 @@ public class TormentedDemonNPC extends AbstractNPC {
|
||||
super.finalizeDeath(killer);
|
||||
reTransform();
|
||||
fireShield = true;
|
||||
BossKillCounter.addtoKillcount((Player) killer, this.getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user