forked from 2009Scape/Server
Merge 2009scape updates #19
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ public final class SpinolypNPC extends AbstractNPC {
|
||||||
super.impact(entity, victim, state);
|
super.impact(entity, victim, state);
|
||||||
if (super.getType() == CombatStyle.MAGIC && state.getEstimatedHit() > 0) {
|
if (super.getType() == CombatStyle.MAGIC && state.getEstimatedHit() > 0) {
|
||||||
victim.getSkills().decrementPrayerPoints(1);
|
victim.getSkills().decrementPrayerPoints(1);
|
||||||
} else {
|
} else if (super.getType() == CombatStyle.RANGE && state.getEstimatedHit() > 0) {
|
||||||
if (RandomFunction.random(20) == 5) {
|
if (RandomFunction.random(20) == 5) {
|
||||||
applyPoison(victim, entity, 30);
|
applyPoison(victim, entity, 30);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue