trying to fix dangerousness and added a cheat script #72

This commit is contained in:
logsol 2014-06-07 19:48:17 +02:00
parent 4bf4eb8b35
commit 355282ca08
3 changed files with 17 additions and 3 deletions

View file

@ -66,7 +66,7 @@ function (Parent, Nc) {
if(this.stats.health < 0) this.stats.health = 0;
if(this.stats.health <= 0) {
/*if(enemy != this) self killing scores for testing! */ enemy.score();
if(enemy != this) enemy.score();
this.kill(enemy);
} else {
this.broadcastStats();