From 11dcbe7edb39f3a881eeaa78a9d6f43fb480d9a3 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Wed, 16 Feb 2022 18:52:58 -0800 Subject: [PATCH] fix: Fixes scrolls not working (#933) --- Projects/UOContent/Spells/Chivalry/SacredJourney.cs | 5 ++++- Projects/UOContent/Spells/Fourth/Recall.cs | 4 ++++ Projects/UOContent/Spells/Seventh/GateTravel.cs | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Projects/UOContent/Spells/Chivalry/SacredJourney.cs b/Projects/UOContent/Spells/Chivalry/SacredJourney.cs index 0b8667796..8245c88de 100644 --- a/Projects/UOContent/Spells/Chivalry/SacredJourney.cs +++ b/Projects/UOContent/Spells/Chivalry/SacredJourney.cs @@ -16,9 +16,12 @@ namespace Server.Spells.Chivalry ); private readonly Runebook m_Book; - private readonly RunebookEntry m_Entry; + public SacredJourneySpell(Mobile caster, Item scroll) : base(caster, scroll, _info) + { + } + public SacredJourneySpell( Mobile caster, RunebookEntry entry = null, Runebook book = null, Item scroll = null ) : base(caster, scroll, _info) diff --git a/Projects/UOContent/Spells/Fourth/Recall.cs b/Projects/UOContent/Spells/Fourth/Recall.cs index c2f556e33..f9ea8cd1e 100644 --- a/Projects/UOContent/Spells/Fourth/Recall.cs +++ b/Projects/UOContent/Spells/Fourth/Recall.cs @@ -22,6 +22,10 @@ namespace Server.Spells.Fourth private readonly RunebookEntry m_Entry; + public RecallSpell(Mobile caster, Item scroll) : base(caster, scroll, _info) + { + } + public RecallSpell(Mobile caster, RunebookEntry entry = null, Runebook book = null, Item scroll = null) : base( caster, scroll, diff --git a/Projects/UOContent/Spells/Seventh/GateTravel.cs b/Projects/UOContent/Spells/Seventh/GateTravel.cs index 13a171c04..5377ddb22 100644 --- a/Projects/UOContent/Spells/Seventh/GateTravel.cs +++ b/Projects/UOContent/Spells/Seventh/GateTravel.cs @@ -20,6 +20,10 @@ namespace Server.Spells.Seventh private readonly RunebookEntry m_Entry; + public GateTravelSpell(Mobile caster, Item scroll) : base(caster, scroll, _info) + { + } + public GateTravelSpell(Mobile caster, RunebookEntry entry = null, Item scroll = null) : base(caster, scroll, _info) => m_Entry = entry;