Wendigo demiplane antag (#1174)

* wendigo

* ritual3

* Update sky_lightning.yml
This commit is contained in:
Ed
2025-04-12 17:32:53 +03:00
committed by GitHub
parent ee30ae1341
commit 517bc5418b
34 changed files with 521 additions and 28 deletions

View File

@@ -24,7 +24,7 @@ public abstract partial class CP14SharedMagicSystem
if (_doAfter.IsRunning(action.Comp.ActiveDoAfter))
return false;
var fromItem = action.Comp.SpellStorage is not null;
var fromItem = action.Comp.SpellStorage is not null && action.Comp.SpellStorage.Value != performer;
var doAfterEventArgs = new DoAfterArgs(EntityManager, performer, MathF.Max(delayedEffect.CastDelay, 0.3f), doAfter, action, used: action.Comp.SpellStorage, target: target)
{