458 B
458 B
radiation_explosion.js — greenBurst() (satır 144)
← radiation_explosion.js · ← Master
function greenBurst(world, e)
{
var p = e.getPosition();
var h = e.getHeight();
var midY = p.y + h * 0.5;
world.spawnParticles(PT_RAD, true, p.x, midY, p.z, 18, 0.3, h * 0.5, 0.3, 0.08);
world.spawnParticles(PT_SPELL, true, p.x, midY, p.z, 10, 0.3, h * 0.5, 0.3, 0.02);
}