new level boss
This commit is contained in:
@@ -222,9 +222,9 @@ function collisionChecks(event) {
|
||||
if (obj.classType === "body" && obj.speed > 6) {
|
||||
const v = Vector.magnitude(Vector.sub(mob[k].velocity, obj.velocity));
|
||||
if (v > 9) {
|
||||
let dmg = b.dmgScale * v * obj.mass * 0.065 * mod.throwChargeRate;
|
||||
let dmg = 0.06 * b.dmgScale * v * obj.mass * mod.throwChargeRate;
|
||||
if (mod.isCrit && !mob[k].seePlayer.recall && !mob[k].shield) dmg *= 5
|
||||
if (mob[k].isShielded) dmg *= 0.5
|
||||
if (mob[k].isShielded) dmg *= 0.4
|
||||
mob[k].damage(dmg, true);
|
||||
if (mob[k].distanceToPlayer2() < 1000000) mob[k].foundPlayer();
|
||||
game.drawList.push({
|
||||
|
||||
Reference in New Issue
Block a user