added chronon gun

This commit is contained in:
landgreen
2019-12-13 19:01:09 -08:00
committed by GitHub
parent 75d1ca4d6b
commit 320f0ef28c
7 changed files with 237 additions and 149 deletions

View File

@@ -182,7 +182,7 @@ function mobCollisionChecks(event) {
if (b.modIsCrit && !mob[k].seePlayer.recall) dmg *= 5
mob[k].foundPlayer();
mob[k].damage(dmg);
obj.onDmg(); //some bullets do actions when they hits things, like despawn
obj.onDmg(mob[k]); //some bullets do actions when they hits things, like despawn
game.drawList.push({
//add dmg to draw queue
x: pairs[i].activeContacts[0].vertex.x,