Aaroniero

Initiate
I want to add 1 or 2 segs to some magery spells.. like Heal spell, cuz a mage can overheal in 2 segs and its not killable >-< its like invul D:

I dnt know how to put these seconds to spells.. >-<
 
You should look into Scripts\Spells\Base\Spell.cs Method GetCastDelay() and look into that process. Then folloc where the Variables you need are declared. Then you will see there is an Attribute CastDelayBase wich you can override (may check Bladespirits.cs)
 
Code:
        public override TimeSpan GetCastDelay()
        {
            if (Core.AOS)
                return TimeSpan.FromTicks(base.GetCastDelay().Ticks * ((Core.SE) ? 3 : 5));

            return base.GetCastDelay() + TimeSpan.FromSeconds(6.0);
        }

This was pulled from Blade Spirits and it looks like Chrome was right. Could work.

I also looked up some older stuff on making timer of a spell take longer, Maybe this will help. In my opinion I think ALL of the spells and casting in general on ServUO need to be redone they are worse than RUNUO and RUNUO has never been OSI Accurate with its casting for anything after AOS

http://www.runuo.com/community/threads/spell-delay-certain-spells.27053/
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back