Log inGet started
World

Blast Kit: Explosion Area Damage, Knockback and Juice in One Call

Branchmain
Branchesmain
Commitb5025c046a

README.md

blastKit test suite

Checks in edit mode with spawned dummy entities and fake health and juice modules:

  • radius and falloff (full at the centre, minFalloff at the edge, flat damage with falloff = false), nearest-first ordering and knockback direction;
  • flat distance, filter and exclude, ids as targets, damage as a function, targets from a function;
  • damage goes through the health module with by, team, type, origin and scaled knockback; onHit fires; apply = false hurts nobody;
  • the juice preset plays at the centre and juice = false or effects = false skips it; default targets come from health.all().

It leaves real SecondWind and juiceKit visuals to the games that install them. Run: tools.use("tests", "run", { suite = "blastKit" }).