Missing some messages:
Code:
if (prayer.levelRequirement > player.getStats().getRealLevel(Skills.PRAYER)){
player.getPackets().sendGameMessage("You need a Prayer level of at least %s to use %s.", prayer.levelRequirement, prayer.name()); //TODO prob different in 718
return false;
}
How does protection from summoning in general work? For example for a steel titan hit, is the protection method returned after ONLY checking for protect from summoning, or does regular protect from range also have an effect?
Code:
if ((source instanceof Familiar)){
if (isSummonProtecting()){
if (isCurses()){
reflectedDamage = (int) (hit.getDamage() * 0.1);
player.setNextGraphics(new Graphics(2227));
player.setNextAnimation(new Animation(12573));
if (!canDeflectCurse(hit.getSource()))
return;
hit.getSource().applyHit(new Hit(hit.getSource(), reflectedDamage, HitLook.REFLECTED_DAMAGE));
}
hit.setDamage((int) (hit.getDamage() * 0.6)); //TODO how does this work? is it 0.6? because ik protect summoning doesnt stop 100% damage
}
return; //TODO ? if source instanceof familiar it returns here, doesnt bother checking regular protect prayers...
}
When you prayer flick with leech prayers, (for example leech attack) your offence is *= 0.05 (5% bonus). But if your leech is boosted to 6%, on the removal of the leech prayer while flicking, does that extra 1% reset? or is that 1% perminant, therefore your next flick will give 6% bonus with the chance of increasing further.
(For context, while using prayers regularly, if I have a 10% attack boost while activating turmoil it will reset, and when deactivating turmoil, the turmoil boost will reset)