Beispiel #1
0
 public SetManeuverTarget( BaseCombatManeuver newManeuver, string Text )
     : base(-1, false, TargetFlags.None)
 {
     maneuver = newManeuver;
     Text = text;
 }
        public void ChangeManeuver( BaseCombatManeuver maneuver, FeatList feat, string message )
        {
            if( this.ManeuverBonusTimer != null )
            {
                this.SendMessage( 60, "You are still under the effect of a previously used maneuver." );
                return;
            }

            if( maneuver.GetType() == this.CombatManeuver.GetType() )
            {
                this.SendMessage( 60, "You hold back on the maneuver you had prepared." );
                DisableManeuver();
                return;
            }

            this.SendMessage( 60, message );
            this.CombatManeuver = maneuver;
            this.OffensiveFeat = feat;
            this.ManeuverAccuracyBonus = this.CombatManeuver.AccuracyBonus * this.CombatManeuver.FeatLevel;
            this.ManeuverDamageBonus = this.CombatManeuver.DamageBonus * this.CombatManeuver.FeatLevel;
            this.Send( new MobileStatus( this, this ) );
        }