fix: Fixes scrolls not working (#933)
This commit is contained in:
parent
ecfa290514
commit
11dcbe7edb
3 changed files with 12 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue