16 lines
458 B
Markdown
16 lines
458 B
Markdown
# radiation_explosion.js — greenBurst() (satır 144)
|
||
|
||
[← radiation_explosion.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
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);
|
||
}
|
||
```
|