Hello, im using the pi 'Lost legacy'

Theres a problem with prayer, it doesnt matter wich npc you attack because if you use prayer it will constantly hit 5's only (rock crabs, or kree arra) both 5's

Could some one please explain me how to fix this? i'll thank you

Thanks,

Nick

Btw found this

if(c.prayerActive[18]) { // protect from melee
damage = 5;
}

If i remove dammage it keep hitting 0