fix: Fixes scrolls not working (#933)

This commit is contained in:
Kamron Batman 2022-02-16 18:52:58 -08:00 committed by GitHub
parent ecfa290514
commit 11dcbe7edb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 1 deletions

View file

@ -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)

View file

@ -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,

View file

@ -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;