Spell scrolls (#571)
* scroll spells * refactor magic system * Update spawners.yml * safe use * Update magic-spells.ftl
This commit is contained in:
@@ -101,7 +101,7 @@ public partial class SharedCP14MagicEnergySystem : EntitySystem
|
||||
if (safe == false)
|
||||
return true;
|
||||
|
||||
return component.Energy > energy;
|
||||
return component.Energy >= energy;
|
||||
}
|
||||
|
||||
public bool TryConsumeEnergy(EntityUid uid, FixedPoint2 energy, CP14MagicEnergyContainerComponent? component = null, bool safe = false)
|
||||
|
||||
Reference in New Issue
Block a user