Pre-AOS Spell Channeling Order/Chaos Sheilds!
Well, on my shard I wanted SC Order/Chaos sheilds (an corp teh parry mages) and it's Pre-AOS, so I thought I'd share how I did that.
1. Open up Scripts/Spells/Base/Spell.cs
2. Find
and right below it add
NOTE: Replace your m_Caster.ClearHands(); with this.
3. Find
and replace the m_Caster.ClearHands(); with
4. A little lower you'll find (like 3 lines down)
replace the m_Caster.ClearHands(); with
5. Save your script, and restart your server, and your Order/Chaos shields are SC!
Hope this helps some people, if you have any questions, just post em here, or PM me.
Well, on my shard I wanted SC Order/Chaos sheilds (an corp teh parry mages) and it's Pre-AOS, so I thought I'd share how I did that.
1. Open up Scripts/Spells/Base/Spell.cs
2. Find
Code:
TimeSpan castDelay = this.GetCastDelay();
if ( m_Caster.Body.IsHuman )
{
int count = (int)Math.Ceiling( castDelay.TotalSeconds / AnimateDelay.TotalSeconds );
if ( count != 0 )
{
m_AnimTimer = new AnimTimer( this, count );
m_AnimTimer.Start();
}
if ( m_Info.LeftHandEffect > 0 )
Caster.FixedParticles( 0, 10, 5, m_Info.LeftHandEffect, EffectLayer.LeftHand );
if ( m_Info.RightHandEffect > 0 )
Caster.FixedParticles( 0, 10, 5, m_Info.RightHandEffect, EffectLayer.RightHand );
}
if ( ClearHandsOnCast )
Code:
if( m_Caster.FindItemOnLayer( Layer.TwoHanded ) is ChaosShield || m_Caster.FindItemOnLayer( Layer.TwoHanded ) is OrderShield )
{
}
else
{
m_Caster.ClearHands();
}
3. Find
Code:
if ( m_Scroll is BaseWand )
{
bool m = m_Scroll.Movable;
m_Scroll.Movable = false;
if ( ClearHandsOnCast )
Code:
if( m_Caster.FindItemOnLayer( Layer.TwoHanded ) is ChaosShield || m_Caster.FindItemOnLayer( Layer.TwoHanded ) is OrderShield )
{
}
else
{
m_Caster.ClearHands();
}
4. A little lower you'll find (like 3 lines down)
Code:
m_Scroll.Movable = m;
}
else
{
Code:
if( m_Caster.FindItemOnLayer( Layer.TwoHanded ) is ChaosShield || m_Caster.FindItemOnLayer( Layer.TwoHanded ) is OrderShield )
{
}
else
{
m_Caster.ClearHands();
}
5. Save your script, and restart your server, and your Order/Chaos shields are SC!
Hope this helps some people, if you have any questions, just post em here, or PM me.