forked from 2009Scape/Server
Spinolyp poison now only applies to range attacks
This commit is contained in:
parent
8397452071
commit
2806c08f7b
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ public final class SpinolypNPC extends AbstractNPC {
|
|||
super.impact(entity, victim, state);
|
||||
if (super.getType() == CombatStyle.MAGIC && state.getEstimatedHit() > 0) {
|
||||
victim.getSkills().decrementPrayerPoints(1);
|
||||
} else {
|
||||
} else if (super.getType() == CombatStyle.RANGE && state.getEstimatedHit() > 0) {
|
||||
if (RandomFunction.random(20) == 5) {
|
||||
applyPoison(victim, entity, 30);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue