f key is bound to fire
pausing time or being cloaked gives you 50% harm reduction from mob collisions no-cloning theorem duplication => down to 42%, but no longer removes 1% on bosses dazzler => drains 25%->10% energy, and it has a 15% bigger radius boson composite => only drains energy when you touch shields 'F' key lets you fire, and it can be rebound to other keys might be some bugs here, I didn't do much testing
This commit is contained in:
@@ -106,8 +106,9 @@ function collisionChecks(event) {
|
||||
// (obj === player) &&
|
||||
!(tech.isFreezeHarmImmune && (mob[k].isSlowed || mob[k].isStunned))
|
||||
) {
|
||||
mob[k].foundPlayer();
|
||||
let dmg = Math.min(Math.max(0.025 * Math.sqrt(mob[k].mass), 0.05), 0.3) * simulation.dmgScale; //player damage is capped at 0.3*dmgScale of 1.0
|
||||
if (m.isBodiesAsleep || m.isCloak) dmg *= 0.5
|
||||
mob[k].foundPlayer();
|
||||
if (tech.isRewindAvoidDeath && m.energy > 0.66) { //CPT reversal runs in m.damage, but it stops the rest of the collision code here too
|
||||
m.damage(dmg);
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user