make dragons breathe fire (#26746)

* add ActionGun system

* add RepeatingTrigger

* dragons breath projectile, repeatedly explodes

* give dragon fire breathing action, fireproof it

* oop

* oop 2

* prevent troll

* proper repeating thing

* pro

* webedit ops

* realops

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2024-05-08 00:25:41 +00:00
committed by GitHub
parent bd06aa2365
commit d6d1c9ed8a
8 changed files with 210 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ public sealed partial class ExplosionSystem : EntitySystem
if (explosive.Exploded)
return;
explosive.Exploded = true;
explosive.Exploded = !explosive.Repeatable;
// Override the explosion intensity if optional arguments were provided.
if (radius != null)