diff options
Diffstat (limited to 'scripts/Entities/Items/ScrollConsumable.cs')
| -rw-r--r-- | scripts/Entities/Items/ScrollConsumable.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Entities/Items/ScrollConsumable.cs b/scripts/Entities/Items/ScrollConsumable.cs index 7dc8e48..2869deb 100644 --- a/scripts/Entities/Items/ScrollConsumable.cs +++ b/scripts/Entities/Items/ScrollConsumable.cs @@ -17,8 +17,6 @@ namespace TheLegendOfGustav.Entities.Items; /// <param name="definition">Definição do item.</param> public partial class ScrollConsumable(Vector2I initialPosition, MapData map, ScrollConsumableDefinition definition) : ConsumableItem(initialPosition, map, definition) { - public SpellResource Spell { get; private set; } = definition.Spell; - /// <summary> /// O pergaminho só pode ser usado uma única vez. /// Alguns feitiços precisam de um alvo, o que significa que @@ -41,6 +39,8 @@ public partial class ScrollConsumable(Vector2I initialPosition, MapData map, Scr /// </summary> private SignalBus.PlayerSpellCastEventHandler bindSignal = null; + public SpellResource Spell { get; private set; } = definition.Spell; + public override bool Activate(ItemAction action) { if (awaitingTermination) |
