Hello, i have a problem with the script Feint.cs it doesn't work well at all... it reduce the swing speed and it should do a damage reduction.

I tried to fix it but i really don't know how to do it, I know that i need to make some changes on Feint.cs and BaseWeapon.cs I know that this is an old "bug" and I think for sure there exist a solution.

Can someone help me please?
Thank you!
 
Ok full disclosure, I run a pre-aos server so I don't know much about this ability. But as far as I can tell you are right, it's supposed to do damage reduction and instead it does swing speed reduction (which you could argue would have a reducing effect since you're not hitting as many times in that 6 second period, but still it's not what you want).

Code:
public class FeintTimer : Timer
		{
			private Mobile m_Defender;
			private int m_SwingSpeedReduction;

			public int SwingSpeedReduction { get { return m_SwingSpeedReduction; } }

			public FeintTimer( Mobile defender, int swingSpeedReduction )
				: base( TimeSpan.FromSeconds( 6.0 ) )
			{
				m_Defender = defender;
				m_SwingSpeedReduction = swingSpeedReduction;
				Priority = TimerPriority.FiftyMS;
			}

			protected override void OnTick()
			{
				Registry.Remove( m_Defender );
			}
		}

So it put me in mind of a damage mod I incorporated into my BaseWeapon script for directional damage (not mine). Seems to me you could borrow some of this code and reverse it (use negative numbers) to achieve the desired effect. Worth a shot anyway...here is a link to that post

http://www.runuo.com/community/threads/directional-damage.49520/


Hope this helps
 
Back