if (!isInWildRange(p)) {
p.frames.sendMessage(p, "You need to move deeper into the wilderness!");
resetAttack(p);
return;
}
Printable View
if (!isInWildRange(p)) {
p.frames.sendMessage(p, "You need to move deeper into the wilderness!");
resetAttack(p);
return;
}
wow!!!! lol first of all change the frames to.....getActionSender
hmm i might be able to help you with the others if i new where the errors are and where u got this code
Code:p.otherIndex = p.enemyIndex;
Player other = Server.engine.players[p.otherIndex];
Code:if (!p.properWildernessLevel(p.combatLevel, other.combatLevel) || (!other.properWildernessLevel(other.combatLevel, p.combatLevel))) {
p.getActionSender().sendMessage(p, "You need to move deeper into the wilderness!");
p.resetAttack();
return;
}