duplication animation

blackhole mobs can no longer see past stealth
adding dup chance has graphics now

bug fixes
This commit is contained in:
landgreen
2021-09-29 06:27:40 -07:00
parent 1eb58afb9d
commit 62b9d974b4
11 changed files with 77 additions and 39 deletions

View File

@@ -1141,7 +1141,7 @@ const mobs = {
this.leaveBody = false; // no body since it turned into the bot
}
if (tech.isAddRemoveMaxHealth) {
if (this.isBoss) {
if (this.isBoss && this.isDropPowerUp) {
for (let i = 0; i < 2; i++) powerUps.spawn(this.position.x, this.position.y, "tech", false) //exit
} else {
const amount = 0.01