Skip to content

Explosive Shrapnel

Robin Seifert edited this page Jul 3, 2023 · 1 revision

Shrapnel

An explosive that produces fragments that do ~11 hp on impact. With fragments being evenly spaces in a sphere shape. To get the most out of the explosive air bursting is advised.

Logic

Will generate n entities based on the blast scale to the power of itself. Meaning if you set it to scale of 10 it will spawn 100 entities. Each entity is setup to randomize motion and direction slightly. Meaning it is possible for gaps to exist in the sphere at distance. Along with this the damage may be slightly higher at zero.

damage = 11 * speed; speed is not constant and works the same as arrows

Configs

Name Default Purpose
scale 30 scale, directly tied to fragment count
Clone this wiki locally