UPDATE Pixie library error.

Leon Kitsune
Those errors I was talking about. I found the script causing it. Its this.

if (not HasAttribute (game.pov, "equipped")) {
game.pov.equipped = fists
}
do (this, "settoattack")
attackroll = GetRandomInt (1, 20) - this.defence + game.pov.attack
attackroll = attackroll + game.pov.equipped.attackbonus
if (attackroll > 10) {
damage = game.pov.equipped.damagebonus
for (i, 1, game.pov.equipped.damagedicenumber) {
damage = damage + GetRandomInt (1, game.pov.equipped.damagedicesides) - this.armour
}
this.hitpoints = this.hitpoints - damage
if (this.hitpoints > 0) {
msg ("You swing " + game.pov.equipped.alias + " and hit, doing " + damage + " points of damage; " + this.hurt)
}
else {
msg ("You swing your " + game.pov.equipped.alias + " and hit, doing " + damage + " points of damage; " + this.death)
do (this, "makedead")
}
}
else {
msg ("You swing your " + game.pov.equipped.alias + " and miss.")
}


Not sure how I'm suppose to fix those lines. Any advice?

jaynabonne
The easiest way for us to help you fix it is for you to post your game here so we can run it and see what's up. It's hard to work with just fragments of code and error messages. We need to see the entire set up. I'm sure it will be straightforward to solve it then.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums