Jardeborde

Initiate
I need some help regarding a shard I put up for a few friends of mine. I'm doing a lot of things around it but ran into a problem.

I'd like to remove completely the requirements of Recall and Mark spells but I have no idea how to do it. I have tried a few things around the spells ".cs" files but I come up with errors saying pretty much that something is missing.

Do I have to do something else as well than just removing lines from Recall.cs and Mark.cs ? I can see clearly the reagents that it requires but not skill requirements etc.
 
To make recall require no skills search for the following in Recall.cs

C#:
public bool NoSkillRequirement { get { return (Core.SE && (m_Book != null || m_AuctionMap != null || m_SearchMap != null)) || TransformationSpellHelper.UnderTransformation(Caster, typeof(WraithFormSpell)); } }

change it to:
C#:
public bool NoSkillRequirement { get { return true; } }

To make the mark spell also require no skill add the following to Mark.cs

C#:
        public bool NoSkillRequirement { get { return true; } }
        public override void GetCastSkills(out double min, out double max)
        {
            if (NoSkillRequirement)
                min = max = 0;
            else
                base.GetCastSkills(out min, out max);
        }
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back