mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 11:25:11 -06:00
fix retribution double dmg
This commit is contained in:
parent
bf6c40afad
commit
5b4d699e36
1 changed files with 0 additions and 3 deletions
|
|
@ -108,9 +108,6 @@ public final class Prayer {
|
|||
playAudio(player, Sounds.FIREBREATH_159);
|
||||
player.graphics(Graphics.create(437));
|
||||
int maximum = (int) (player.getSkills().getStaticLevel(Skills.PRAYER) * 0.25) - 1;
|
||||
if (killer != player && killer.getLocation().withinDistance(player.getLocation(), 1)) {
|
||||
killer.getImpactHandler().manualHit(player, 1 + RandomFunction.randomize(maximum), HitsplatType.NORMAL);
|
||||
}
|
||||
if (player.getProperties().isMultiZone()) {
|
||||
List<? extends Entity> targets;
|
||||
if (killer instanceof NPC) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue