Core/Spells: Fixed travel form
This commit is contained in:
@@ -2160,7 +2160,7 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
uint getTransForm() { return m_transform; }
|
||||
public uint getTransForm() { return m_transform; }
|
||||
|
||||
public bool HasStealthAura() { return HasAuraType(AuraType.ModStealth); }
|
||||
public bool HasInvisibilityAura() { return HasAuraType(AuraType.ModInvisibility); }
|
||||
|
||||
@@ -256,7 +256,7 @@ namespace Game.Entities
|
||||
return IsDisallowedMountForm(getTransForm(), GetShapeshiftForm(), GetDisplayId());
|
||||
}
|
||||
|
||||
bool IsDisallowedMountForm(uint spellId, ShapeShiftForm form, uint displayId)
|
||||
public bool IsDisallowedMountForm(uint spellId, ShapeShiftForm form, uint displayId)
|
||||
{
|
||||
SpellInfo transformSpellInfo = Global.SpellMgr.GetSpellInfo(getTransForm());
|
||||
if (transformSpellInfo != null)
|
||||
|
||||
Reference in New Issue
Block a user