431 1: {pname, mobdata, floc, bonkverb} = args; 2: if (!(caller in {this, @this.doors})) 3: player:tell(" You feel an incredible pain in your ass."); 4: this.(tostr(player))[11] = 1; 5: this.(tostr(player))[8] = 0; 6: return; 7: endif 8: if (floc == 1 || floc == 2) 9: "Forest Fight -> floc = 1"; 10: "Ok, who get first blow? (Shut up you in the back.)"; 11: NUM = listassoc(pname, this.players)[2]; 12: blow = this.(tostr(NUM))[21] > mobdata[8] ? 1 | random(2) - 1; 13: "player always gets first blow atm. I'll fix this later."; 14: this.(tostr(NUM))[27] = "fight"; 15: this.(tostr(NUM))[20] = {1, mobdata, floc, {caller, bonkverb}, 1}; 16: if (random(10) == 1) 17: player:tell(" ", mobdata[1], " gets the drop on you, and strikes first!"); 18: player:tell(" Your guardian angel creates a light shield."); 19: this.(tostr(NUM))[31] = {1}; 20: this.(tostr(NUM))[20][5] = 2; 21: this:enemy_fight(); 22: else 23: player:tell(this:description()); 24: endif 25: endif . 0