<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:ForzaUI"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    mc:Ignorable="d"
    x:Class="ForzaUI.HUDSkillControl"
    Margin="0, 83, 0, 0"
    VerticalAlignment="Top"
    HorizontalAlignment="Center" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_SkillChain">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_SkillChain.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_DareDevil">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_Daredevil.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_Stuntman">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_Stuntman.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_ThreadingTheNeedle">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_ThreadingTheNeedle.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_AirbornePass">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_AirbornePass.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_HardCharger">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_HardCharger.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_Kangaroo">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_Kangaroo.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_TriplePass">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_TriplePass.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_SideSwipe">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_SideSwipe.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_CrashLanding">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_CrashLanding.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_ShowOff">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_ShowOff.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_EbisuStyle">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_EbisuStyle.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_LuckyEscape">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_LuckyEscape.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_SlingShot">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_SlingShot.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_WreckingBall">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_WreckingBall.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_DoubleInfection">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_DoubleInfection.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_DoubleKing">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_DoubleKing.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_Landscaping">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_Landscaping.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_Trashman">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_Trashman.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_Snowman">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_Snowman.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_BarrelRoll">/ForzaUI;component/Textures/Anthem/HUD/SkillCombos/Combo_Icon_BarrelRoll.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_SkillComboIcon_SpeedBoost">/ForzaUI;component/Textures/Data_Bound/PDLC2/SkillCombos/Combo_Icon_SpeedBoost.png</ImageSource>

            <local:MappingConverter x:Key="A_MappingConverter_UISkillTypeToComboIconImageSource">
                <local:MappingConverterEntry Key="{x:Static UISkillType.CleanStart}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.FastAndClean}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.DareDevil}" Value="{StaticResource A_BitmapImage_SkillComboIcon_DareDevil}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Stuntman}" Value="{StaticResource A_BitmapImage_SkillComboIcon_Stuntman}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.ThreadingTheNeedle}" Value="{StaticResource A_BitmapImage_SkillComboIcon_ThreadingTheNeedle}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.AirbornePass}" Value="{StaticResource A_BitmapImage_SkillComboIcon_AirbornePass}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.HardCharger}" Value="{StaticResource A_BitmapImage_SkillComboIcon_HardCharger}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Kangaroo}" Value="{StaticResource A_BitmapImage_SkillComboIcon_Kangaroo}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.TriplePass}" Value="{StaticResource A_BitmapImage_SkillComboIcon_TriplePass}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.SideSwipe}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SideSwipe}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.CrashLanding}" Value="{StaticResource A_BitmapImage_SkillComboIcon_CrashLanding}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.ShowOff}" Value="{StaticResource A_BitmapImage_SkillComboIcon_ShowOff}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.EbisuStyle}" Value="{StaticResource A_BitmapImage_SkillComboIcon_EbisuStyle}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.LuckyEscape}" Value="{StaticResource A_BitmapImage_SkillComboIcon_LuckyEscape}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.SlingShot}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SlingShot}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.WreckingBall}" Value="{StaticResource A_BitmapImage_SkillComboIcon_WreckingBall}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.DoubleInfection}" Value="{StaticResource A_BitmapImage_SkillComboIcon_DoubleInfection}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.DoubleKing}" Value="{StaticResource A_BitmapImage_SkillComboIcon_DoubleKing}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.GreatChain}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.AwesomeChain}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.UltimateChain}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Landscaping}" Value="{StaticResource A_BitmapImage_SkillComboIcon_Landscaping}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.GoingPostal}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.RoadOpen}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Trashman}" Value="{StaticResource A_BitmapImage_SkillComboIcon_Trashman}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Lumberjack}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.FruitSalad}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Waterworks}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Snowman}" Value="{StaticResource A_BitmapImage_SkillComboIcon_Snowman}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.BarrelRoll}" Value="{StaticResource A_BitmapImage_SkillComboIcon_BarrelRoll}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Goal}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Try}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.Wicket}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.IceCream}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.PhoneBox}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SkillChain}"/>
                <local:MappingConverterEntry Key="{x:Static UISkillType.SpeedBoost}" Value="{StaticResource A_BitmapImage_SkillComboIcon_SpeedBoost}"/>
            </local:MappingConverter>
            
            <System:Double x:Key="A_Double_ChainMultiplierNum_ScalePulse">1.4</System:Double>

            <System:Double x:Key="A_Double_Opacity_ChainMultiplierGlow">1</System:Double>
            <System:Double x:Key="A_Double_Opacity_SkillPanelGlow">1</System:Double>
            <System:Double x:Key="A_Double_Opacity_FinalScoreGlow">1.0</System:Double>

            <CircleEase x:Key="A_EasingFunction_Circle_EaseOut" EasingMode="EaseOut"/>
            <CircleEase x:Key="A_EasingFunction_Circle_EaseIn" EasingMode="EaseIn"/>
            <ExponentialEase x:Key="A_EasingFunction_SkillCancel" EasingMode="EaseIn"/>
            <QuadraticEase x:Key="A_EasingFunction_Quadratic" EasingMode="EaseIn"/>
            <CircleEase x:Key="A_EasingFunction_NewSkillIn" EasingMode="EaseIn"/>
            <CircleEase x:Key="A_EasingFunction_NewSkillBounce" EasingMode="EaseOut"/>
            <QuadraticEase x:Key="A_EasingFunction_EaseIn" EasingMode="EaseIn"/>
            <QuadraticEase x:Key="A_EasingFunction_EaseOut" EasingMode="EaseOut"/>

            <KeyTime x:Key="A_KeyTime_BankFlash_Duration">0:0:1.1</KeyTime>
            <Duration x:Key="A_Duration_FallDuration">0:0:0.8</Duration>
            <System:Double x:Key="A_Double_BankFlash_Scale">8</System:Double>
            <System:Double x:Key="A_Double_CancelFallDistance">150</System:Double>
            <System:Double x:Key="A_Double_SkillsPanel_NegativeYOffset">-64</System:Double>
            <System:Double x:Key="A_Double_SkillsPanel_PositiveYOffset">64</System:Double>

            <Duration x:Key="PART_A_Duration_SkillNew">0:0:2.9</Duration>
            <Duration x:Key="PART_A_Duration_Counting">0:0:1.0</Duration>

            <Style x:Key="A_Style_FZTextBlock_Score" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_SkillsText}"/>
                <Setter Property="Effect" Value="{StaticResource A_DropShadowEffect_SkillsHud}"/>
                <Setter Property="CapHeight" Value="32"/>
            </Style>

            <Style x:Key="A_Style_FZTextBlock_Score_Tight" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_Score}">
            </Style>

            <Style x:Key="A_Style_FZTextBlock_Multiplier" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_Score_Tight}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_Text}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsSkillSong}" Value="True">
                        <Setter Property="FontSize" Value="36" />
                        <Setter Property="Margin" Value="0,0,0,0" />
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Foreground}" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZTextBlock_X" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_Text}"/>
                <Setter Property="Effect" Value="{StaticResource A_DropShadowEffect_SkillsHud}"/>
                <Setter Property="CapHeight" Value="25"/>
                <Setter Property="VerticalAlignment" Value="Bottom"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsSkillSong}" Value="True">
                        <Setter Property="FontSize" Value="26" />
                        <Setter Property="Margin" Value="0,0,0,0" />
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Foreground}" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
            
            <Style x:Key="A_Style_FZTextBlock_SkillBase" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Small}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_Text}"/>
                <Setter Property="Effect" Value="{StaticResource A_DropShadowEffect_SkillsHud}"/>
                <Setter Property="CapHeight" Value="18.5"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsCombo}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Foreground}"/>
                        <Setter Property="Effect" Value="{x:Null}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsFastAndClean}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_FastAndClean_Foreground}"/>
                        <Setter Property="Effect" Value="{x:Null}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZTextBlock_SkillName" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_SkillBase}">
                <Setter Property="Margin" Value="0,0,0,0"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsCombo}" Value="True">
                        <Setter Property="Margin" Value="5,0,5,0"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsFastAndClean}" Value="True">
                        <Setter Property="Margin" Value="5,0,5,0"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
            
            <Style x:Key="A_Style_FZTextBlock_SkillScore" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_SkillBase}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_SkillsText}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsCombo}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Background}"/>
                        <Setter Property="Margin" Value="8,0,8,0"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsFastAndClean}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_FastAndClean_Background}"/>
                        <Setter Property="Margin" Value="8,0,8,0"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FrameworkElement_ItalicIfComboOrFastAndClean" TargetType="FrameworkElement">
                <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsCombo}" Value="True">
                        <Setter Property="RenderTransform" Value="{StaticResource A_SkewTransform_HUD_Italics}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsFastAndClean}" Value="True">
                        <Setter Property="RenderTransform" Value="{StaticResource A_SkewTransform_HUD_Italics}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_SkillPanel_SkillComboBacking" CornerRadius="10,0,0,10"/>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_SkillPanel_ScoreComboBacking" CornerRadius="0,10,10,0"/>

            <Style x:Key="A_Style_FZMaterial_SkillPanel_SkillComboBacking" TargetType="local:FZMaterial">
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_SkillPanel_SkillComboBacking}"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Color" Value="{StaticResource A_Color_Transparent}" />
                <Setter Property="Height" Value="38"/>
                <Setter Property="Margin" Value="12,0,0,0" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsCombo}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Background}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsFastAndClean}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_FastAndClean_Background}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_SkillPanel_ScoreComboBacking" TargetType="local:FZMaterial">
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_SkillPanel_ScoreComboBacking}"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Color" Value="{StaticResource A_Color_Transparent}" />
                <Setter Property="Height" Value="38"/>
                <Setter Property="Margin" Value="0,0,12,0" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsCombo}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Foreground}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsFastAndClean}" Value="True">
                        <Setter Property="Color" Value="{StaticResource A_Color_Skills_FastAndClean_Foreground}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_ComboIcon" TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Margin" Value="-4,-16,-11,-16"/>
                <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Foreground}"/>
                <Setter Property="ImageSource" Value="{Binding SkillType, Converter={StaticResource A_MappingConverter_UISkillTypeToComboIconImageSource}}" />
                <Setter Property="Visibility" Value="{Binding ImageSource, Converter={StaticResource A_FZBooleanToVisibilityConverter}, RelativeSource={RelativeSource Self}, FallbackValue=Collapsed}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding SkillTypeString}" Value="Kangaroo">
                        <Setter Property="Margin" Value="-12,-16, -5,-16"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding SkillTypeString}" Value="SideSwipe">
                        <Setter Property="Margin" Value="-10,-16, -5,-16"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding SkillTypeString}" Value="EbisuStyle">
                        <Setter Property="Margin" Value="-10,-16, -5,-16"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding SkillTypeString}" Value="BarrelRoll">
                        <Setter Property="Margin" Value="-4,-16, -8,-16"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_StackPanel_Skill" TargetType="{x:Type StackPanel}">
                <Setter Property="Orientation" Value="Horizontal"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Margin" Value="8,3"/>
            </Style>

            <Storyboard x:Key="A_Storyboard_ChainMultiplier_Pulse">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="ChainMultiplierNum">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_ChainMultiplierNum_ScalePulse}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="ChainMultiplierNum">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_ChainMultiplierNum_ScalePulse}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="ChainMultiplierGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="ChainMultiplierGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainMultiplierGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0.0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_Opacity_ChainMultiplierGlow}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:EventFire.EventName)" Storyboard.TargetName="EventFire" FillBehavior="Stop">
                    <DiscreteStringKeyFrame KeyTime="0:0:0.0" Value=""/>
                    <DiscreteStringKeyFrame KeyTime="0:0:0.3" Value="UpdateMultiplierString"/>
                    <DiscreteStringKeyFrame KeyTime="0:0:0.7" Value=""/>
                </StringAnimationUsingKeyFrames>

                <!-- Multiplier Audio -->
                <StringAnimationUsingKeyFrames Storyboard.TargetName="MultiplierAudioEvent" Storyboard.TargetProperty="(local:AudioEvent.SoundName)">
                    <DiscreteStringKeyFrame KeyTime="0:0:0.2" Value="" />
                    <DiscreteStringKeyFrame KeyTime="0:0:0.3" Value="/Master/UI/DrivingSkills/HZ2_SFX_HUD_DrivingSkills_MultiplierIncreace_01" />
                </StringAnimationUsingKeyFrames>
            </Storyboard>

            <Style x:Key="A_Style_FZMaterial_ChainMultiplierBackground"
                   TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Opacity" Value="0" />
                <Setter Property="Color" Value="{StaticResource A_Color_Skills_Combo_Background}" />
                <Setter Property="Margin" Value="2,-5,-8,-5" />
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_HudItem}" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsSkillSong}" Value="True">
                        <Setter Property="Opacity" Value="1" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FrameworkElement_SkillSongSpacer" TargetType="FrameworkElement">
                <Setter Property="Height" Value="47"/>
                <Setter Property="Visibility" Value="{Binding IsSkillSong, Converter={StaticResource A_FZBooleanToVisibilityConverter}}"/>
            </Style>
        </ResourceDictionary>
    </UserControl.Resources>

    <Grid x:Name="OuterPanel" 
          RenderTransformOrigin="0.5,0">

        <Grid.RenderTransform>
            <TransformGroup>
                <ScaleTransform/>
                <SkewTransform/>
                <RotateTransform />
                <TranslateTransform />
            </TransformGroup>
        </Grid.RenderTransform>

        <Grid.Resources>

            <Storyboard x:Key="A_Storyboard_Hidden">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="OuterPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Key="A_Storyboard_SkillNewA">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Key="A_Storyboard_SkillNewB">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Key="A_Storyboard_SkillExpiringA">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA" RepeatBehavior="Forever">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0.8"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.4" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0.8" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Key="A_Storyboard_SkillExpiringB">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB" RepeatBehavior="Forever">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0.8"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.4" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0.8" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>

            </Storyboard>
            <Storyboard x:Key="A_Storyboard_ChainCompleted">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainPanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainMultiplier">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainScorePanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="DataContext.Complete" Storyboard.TargetName="OuterPanel">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Key="A_Storyboard_ChainCancelled">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillNameA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillNameB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillScoreA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillScoreB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillIconA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillIconB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainPanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainMultiplier">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainScorePanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="DataContext.Complete" Storyboard.TargetName="OuterPanel">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
            </Storyboard>

            <Storyboard x:Key="A_Storyboard_Transition_HiddenToSkillNewA">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainScorePanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainMultiplier">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_NegativeYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_Opacity_SkillPanelGlow}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>

            <Storyboard x:Key="A_Storyboard_Transition_HiddenToSkillNewB">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainScorePanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainMultiplier">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_NegativeYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_Opacity_SkillPanelGlow}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>

            <Storyboard x:Key="A_Storyboard_Transition_AnyToSkillNewA">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_NegativeYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.ClipToBounds)" Storyboard.TargetName="TopBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_Opacity_SkillPanelGlow}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>

            <Storyboard x:Key="A_Storyboard_Transition_AnyToSkillNewB">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SkillsPanel_NegativeYOffset}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="8" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_SkillsPanel_PositiveYOffset}" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.ClipToBounds)" Storyboard.TargetName="TopBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="SkillPanelGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="4" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_Opacity_SkillPanelGlow}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>

            <Storyboard x:Key="A_Storyboard_Transition_SkillExpiringAToChainCompleted">
                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(local:FZTextBlock.Color)" Storyboard.TargetName="FinalScore">
                    <EasingColorKeyFrame KeyTime="0:0:0.0" Value="#FFFFFFFF"/>
                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="#FFFFFFFF"/>
                    <EasingColorKeyFrame KeyTime="0:0:3.0" Value="{StaticResource A_Color_HUD_SkillsText}" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </ColorAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="3.5"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1.15" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="3.5"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1.15" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.ClipToBounds)" Storyboard.TargetName="TopBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="FinalScoreGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="{StaticResource A_Double_BankFlash_Scale}" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                    <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_BankFlash_Duration}" Value="1" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="FinalScoreGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="{StaticResource A_Double_BankFlash_Scale}" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                    <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_BankFlash_Duration}" Value="1" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FinalScoreGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.5" Value="{StaticResource A_Double_Opacity_FinalScoreGlow}"/>
                    <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_BankFlash_Duration}" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="DataContext.Complete" Storyboard.TargetName="OuterPanel">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:3.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1" EasingFunction="{StaticResource A_EasingFunction_EaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:3.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <!-- Skill-Chain Banked Audio -->
                <StringAnimationUsingKeyFrames Storyboard.TargetName="SkillChainBankedAudioEvent" Storyboard.TargetProperty="(local:AudioEvent.SoundName)">
                    <DiscreteStringKeyFrame KeyTime="0:0:0.5" Value="/Master/UI/DrivingSkills/HZ2_SFX_HUD_DrivingSkills_PointsBank_01" />
                </StringAnimationUsingKeyFrames>
            </Storyboard>

            <Storyboard x:Key="A_Storyboard_Transition_SkillExpiringBToChainCompleted">
                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(local:FZTextBlock.Color)" Storyboard.TargetName="FinalScore">
                    <EasingColorKeyFrame KeyTime="0:0:0.0" Value="#FFFFFFFF"/>
                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="#FFFFFFFF"/>
                    <EasingColorKeyFrame KeyTime="0:0:3.0" Value="{StaticResource A_Color_HUD_SkillsText}" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </ColorAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="3.5"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1.15" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="3.5"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_NewSkillIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1.15" EasingFunction="{StaticResource A_EasingFunction_NewSkillBounce}"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.ClipToBounds)" Storyboard.TargetName="TopBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="FinalScoreGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="{StaticResource A_Double_BankFlash_Scale}" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                    <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_BankFlash_Duration}" Value="1" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="FinalScoreGlow">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="{StaticResource A_Double_BankFlash_Scale}" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                    <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_BankFlash_Duration}" Value="1" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FinalScoreGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.5" Value="1.0"/>
                    <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_BankFlash_Duration}" Value="0" EasingFunction="{StaticResource A_EasingFunction_Circle_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="DataContext.Complete" Storyboard.TargetName="OuterPanel">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:3.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1" EasingFunction="{StaticResource A_EasingFunction_EaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:3.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <!-- Skill-Chain Banked Audio -->
                <StringAnimationUsingKeyFrames Storyboard.TargetName="SkillChainBankedAudioEvent" Storyboard.TargetProperty="(local:AudioEvent.SoundName)">
                    <DiscreteStringKeyFrame KeyTime="0:0:0.5" Value="/Master/UI/DrivingSkills/HZ2_SFX_HUD_DrivingSkills_PointsBank_01" />
                </StringAnimationUsingKeyFrames>
            </Storyboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_SkillAToChainCancelled" DurationOverride="{StaticResource A_Duration_FallDuration}">
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="ClipToBounds" Storyboard.TargetName="TopBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="ClipToBounds" Storyboard.TargetName="BottomBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainScorePanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="{StaticResource A_Double_CancelFallDistance}" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ChainScorePanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="-2"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="-15"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainMultiplier">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20" />
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="250" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ChainMultiplier">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="2"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="10"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="ChainPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1.1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="ChainPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1.1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainMultiplier">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainScorePanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillNameA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="300" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SkillNameA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="3"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="15"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillScoreA">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.9" Value="400" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SkillScoreA">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="3"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.9" Value="-25"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillIconA">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.95" Value="200" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="SkillIconA">
                    <EasingDoubleKeyFrame KeyTime="0:0:1.95" Value="-10" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SkillIconA">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-3"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.95" Value="-10"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(local:FZMaterial.Color)" Storyboard.TargetName="SkillComboBackingALeft">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Color_Transparent}"/>
                </ObjectAnimationUsingKeyFrames>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(local:FZMaterial.Color)" Storyboard.TargetName="SkillComboBackingARight">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Color_Transparent}"/>
                </ObjectAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillNameA">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillScoreA">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillIconA">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="DataContext.Complete" Storyboard.TargetName="OuterPanel">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:2.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_SkillBToChainCancelled" DurationOverride="{StaticResource A_Duration_FallDuration}">
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="ClipToBounds" Storyboard.TargetName="TopBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="ClipToBounds" Storyboard.TargetName="BottomBounds">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="False"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainScorePanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="{StaticResource A_Double_CancelFallDistance}" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ChainScorePanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="-2"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="-15"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="ChainMultiplier">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20" />
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="250" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ChainMultiplier">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="2"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="10"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="ChainPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1.1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="ChainPanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1.1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainMultiplier">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ChainScorePanel">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillPanelB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillNameB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="300" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SkillNameB">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="3"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="15"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillScoreB">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.9" Value="400" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SkillScoreB">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="3"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.9" Value="-25"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="SkillIconB">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-20"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.95" Value="200" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="SkillIconB">
                    <EasingDoubleKeyFrame KeyTime="0:0:1.95" Value="-10" EasingFunction="{StaticResource A_EasingFunction_SkillCancel}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SkillIconB">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-3"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.95" Value="-10"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelGlow">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(local:FZMaterial.Color)" Storyboard.TargetName="SkillComboBackingBLeft">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Color_Transparent}"/>
                </ObjectAnimationUsingKeyFrames>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(local:FZMaterial.Color)" Storyboard.TargetName="SkillComboBackingBRight">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Color_Transparent}"/>
                </ObjectAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillNameB">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillScoreB">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillIconB">
                    <EasingDoubleKeyFrame KeyTime="0:0:2.0" Value="0" EasingFunction="{StaticResource A_EasingFunction_Quadratic}"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SkillPanelA">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FinalScore">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="DataContext.Complete" Storyboard.TargetName="OuterPanel">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:2.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
            </local:UIStoryboard>

        </Grid.Resources>

        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup>
                <VisualState x:Name="Hidden" Storyboard="{StaticResource A_Storyboard_Hidden}"/>
                <VisualState x:Name="SkillNewA" Storyboard="{StaticResource A_Storyboard_SkillNewA}"/>
                <VisualState x:Name="SkillNewB" Storyboard="{StaticResource A_Storyboard_SkillNewB}"/>
                <VisualState x:Name="SkillExpiringA" Storyboard="{StaticResource A_Storyboard_SkillExpiringA}"/>
                <VisualState x:Name="SkillExpiringB" Storyboard="{StaticResource A_Storyboard_SkillExpiringB}"/>
                <VisualState x:Name="ChainCompleted" Storyboard="{StaticResource A_Storyboard_ChainCompleted}"/>
                <VisualState x:Name="ChainCancelled" Storyboard="{StaticResource A_Storyboard_ChainCancelled}"/>
                <VisualStateGroup.Transitions>
                    <VisualTransition From="Hidden" To="SkillNewA" Storyboard="{StaticResource A_Storyboard_Transition_HiddenToSkillNewA}"/>
                    <VisualTransition From="Hidden" To="SkillNewB" Storyboard="{StaticResource A_Storyboard_Transition_HiddenToSkillNewB}"/>
                    <VisualTransition To="SkillNewA" Storyboard="{StaticResource A_Storyboard_Transition_AnyToSkillNewA}"/>
                    <VisualTransition To="SkillNewB" Storyboard="{StaticResource A_Storyboard_Transition_AnyToSkillNewB}"/>
                    <VisualTransition From="SkillExpiringA" To="ChainCompleted" Storyboard="{StaticResource A_Storyboard_Transition_SkillExpiringAToChainCompleted}"/>
                    <VisualTransition From="SkillExpiringB" To="ChainCompleted" Storyboard="{StaticResource A_Storyboard_Transition_SkillExpiringBToChainCompleted}"/>
                    <VisualTransition From="SkillNewA" To="ChainCancelled" GeneratedDuration="0:0:0.6" Storyboard="{StaticResource A_Storyboard_Transition_SkillAToChainCancelled}"/>
                    <VisualTransition From="SkillNewB" To="ChainCancelled" GeneratedDuration="0:0:0.6" Storyboard="{StaticResource A_Storyboard_Transition_SkillBToChainCancelled}"/>
                    <VisualTransition From="SkillExpiringA" To="ChainCancelled" GeneratedDuration="0:0:0.6" Storyboard="{StaticResource A_Storyboard_Transition_SkillAToChainCancelled}"/>
                    <VisualTransition From="SkillExpiringB" To="ChainCancelled" GeneratedDuration="0:0:0.6" Storyboard="{StaticResource A_Storyboard_Transition_SkillBToChainCancelled}"/>
                </VisualStateGroup.Transitions>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>

        <Grid Margin="0,44,0,0" VerticalAlignment="Top">
            <Decorator HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" RenderTransform="{StaticResource A_SkewTransform_HUD_Italics}">
                <StackPanel x:Name="FinalScore" HorizontalAlignment="Center" VerticalAlignment="Center" Opacity="0" RenderTransformOrigin="0.5,0.5" Orientation="Vertical">
                    <local:FZTextBlock Text="{local:Loc Rivals.IDS_NewPBSmall}" Style="{StaticResource A_Style_FZTextBlock_Score}" Color="#FFFFFFFE" FontSize="24" Effect="{StaticResource A_DropShadowEffect_SkillsHud}" Margin="0,20,0,8" Visibility="{Binding IsPB, Converter={StaticResource A_FZBooleanToVisibilityConverter}}" HorizontalAlignment="Center"/>
                    <local:FZTextBlock Text="{Binding FinalScore}" CapHeight="27.5"  Style="{StaticResource A_Style_FZTextBlock_Score}"  Effect="{StaticResource A_DropShadowEffect_SkillsHud}" HorizontalAlignment="Center" Margin="0,0,0,0"/>
                    <StackPanel.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                    </StackPanel.RenderTransform>
                </StackPanel>
            </Decorator>
            <local:FZMaterial x:Name="FinalScoreGlow" ImageSource="/ForzaUI;component/Textures/Anthem/HUD/SkillsLargeGlow.png"
                        RenderTransformOrigin="0.5, 0.5"
                        Opacity="0"
                        Height="80"
                        Width="160"
                        Margin="0,0,0,0"
                        Color="{StaticResource A_Color_HUD_GlowTint}"
                        Preset="{StaticResource A_FZMaterialPresetAdditive}"
                        VerticalAlignment="Center"
                        HorizontalAlignment="Center">
                <local:FZMaterial.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="2" ScaleY="2"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FZMaterial.RenderTransform>
            </local:FZMaterial>
        </Grid>

        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid x:Name="TopBounds" ClipToBounds="True" Margin="-10,0" RenderTransformOrigin="0.5,0.5" Visibility="{Binding HideScores, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}}">
                <Grid.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="{Binding ScaleX}" ScaleY="{Binding ScaleY}"/>
                        <SkewTransform/>
                        <RotateTransform Angle="{Binding NoiseOffsetAngle}"/>
                        <TranslateTransform X="{Binding NoiseOffsetX}" Y="{Binding NoiseOffsetY}"/>
                    </TransformGroup>
                </Grid.RenderTransform>

                <StackPanel Orientation="Vertical" RenderTransformOrigin="0.5,0.5" RenderTransform="{StaticResource A_SkewTransform_HUD_Italics}">
                    <Decorator Style="{StaticResource A_Style_FrameworkElement_SkillSongSpacer}"/>
                    <StackPanel x:Name="ChainPanel" Orientation="Horizontal" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5" Margin="0,12,0,12">
                        <StackPanel.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </StackPanel.RenderTransform>

                        <Decorator x:Name="ChainScorePanel" RenderTransformOrigin="0.5,0.5">
                            <Decorator.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Decorator.RenderTransform>
                            <local:FZTextBlock x:Name="ChainScore" Text="{Binding Score}" Style="{StaticResource A_Style_FZTextBlock_Score_Tight}" RenderTransformOrigin="0.5,0.5"/>
                        </Decorator>
                        <Grid Margin="6,0,0,0">
                            <Grid x:Name="ChainMultiplier" VerticalAlignment="Center" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5">
                                <Grid.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform />
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Grid.RenderTransform>
                                <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_ChainMultiplierBackground}"/>
                                <StackPanel Orientation="Horizontal">
                                    <Decorator Margin="10,0,2,0">
                                        <local:FZTextBlock x:Name="ChainX" Text="{local:Loc RaceFeats.IDS_Multiplier_X}" Style="{StaticResource A_Style_FZTextBlock_X}"/>
                                    </Decorator>
                                    <Decorator Margin="0,0,0,0"
                                    x:Name="ChainMultiplierNum"
                                    RenderTransformOrigin="0.5,0.5">
                                        <Decorator.RenderTransform>
                                            <ScaleTransform/>
                                        </Decorator.RenderTransform>
                                        <local:FZTextBlock Text="{Binding MultiplierString}" Style="{StaticResource A_Style_FZTextBlock_Multiplier}">
                                        </local:FZTextBlock>
                                    </Decorator>
                                </StackPanel>
                            </Grid>
                            <local:FZMaterial x:Name="ChainMultiplierGlow" ImageSource="/ForzaUI;component/Textures/Anthem/HUD/SkillsLargeGlow.png"
                                                    RenderTransformOrigin="0.5, 0.5"
                                                    Opacity="0"
                                                    Width="80"
                                                    Margin="-40,0,-40,0"
                                                    Color="{StaticResource A_Color_HUD_GlowTint}"
                                                    Preset="{StaticResource A_FZMaterialPresetAdditive}">
                                <local:FZMaterial.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform ScaleX="2"/>
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </local:FZMaterial.RenderTransform>
                            </local:FZMaterial>
                        </Grid>

                    </StackPanel>
                </StackPanel>
            </Grid>
            <Grid Margin="0,-2,0,0">
                <Grid x:Name="BottomBounds" ClipToBounds="True" Height="64" Margin="0,-8,0,0">
                    <Decorator x:Name="SkillPanelA" RenderTransformOrigin="0.5,0.5" ClipToBounds="False" VerticalAlignment="Center" DataContext="{Binding Skills[0]}">
                        <StackPanel Style="{StaticResource A_Style_StackPanel_Skill}" ClipToBounds="False">
                            <local:FZMaterial x:Name="SkillComboBackingALeft" ClipToBounds="False" Style="{StaticResource A_Style_FZMaterial_SkillPanel_SkillComboBacking}">
                                <StackPanel Orientation="Horizontal">
                                    <Decorator x:Name="SkillIconA" RenderTransformOrigin="0.5,0.5">
                                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_ComboIcon}" Width="64" Height="64" VerticalAlignment="Center" />
                                        <Decorator.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Decorator.RenderTransform>
                                    </Decorator>
                                    <Decorator x:Name="SkillNameA" RenderTransformOrigin="0.5,0.5" >
                                        <Decorator Margin="6,0,6,0" VerticalAlignment="Center" Style="{StaticResource A_Style_FrameworkElement_ItalicIfComboOrFastAndClean}">
                                            <local:FZTextBlock Text="{Binding Skill}" Style="{StaticResource A_Style_FZTextBlock_SkillName}" />
                                        </Decorator>
                                        <Decorator.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Decorator.RenderTransform>
                                    </Decorator>
                                </StackPanel>
                            </local:FZMaterial>
                            <Decorator x:Name="SkillScoreA" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Center" Visibility="{Binding DataContext.HideScores, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}, RelativeSource={RelativeSource FindAncestor, AncestorType=UserControl}}">
                                <local:FZMaterial x:Name="SkillComboBackingARight" ClipToBounds="False" Style="{StaticResource A_Style_FZMaterial_SkillPanel_ScoreComboBacking}">
                                    <Decorator Style="{StaticResource A_Style_FrameworkElement_ItalicIfComboOrFastAndClean}">
                                        <local:FZTextBlock Text="{Binding SkillScore}" Style="{StaticResource A_Style_FZTextBlock_SkillScore}" VerticalAlignment="Center" />
                                    </Decorator>
                                </local:FZMaterial>
                                <Decorator.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Decorator.RenderTransform>
                            </Decorator>
                        </StackPanel>
                        <Decorator.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </Decorator.RenderTransform>
                    </Decorator>

                    <Decorator x:Name="SkillPanelB" RenderTransformOrigin="0.5,0.5" ClipToBounds="False" VerticalAlignment="Center" DataContext="{Binding Skills[1]}">
                        <StackPanel Style="{StaticResource A_Style_StackPanel_Skill}" ClipToBounds="False">
                            <local:FZMaterial x:Name="SkillComboBackingBLeft" ClipToBounds="False" Style="{StaticResource A_Style_FZMaterial_SkillPanel_SkillComboBacking}">
                                <StackPanel Orientation="Horizontal">
                                    <Decorator x:Name="SkillIconB" RenderTransformOrigin="0.5,0.5">
                                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_ComboIcon}" Width="64" Height="64" VerticalAlignment="Center" />
                                        <Decorator.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Decorator.RenderTransform>
                                    </Decorator>
                                    <Decorator x:Name="SkillNameB" RenderTransformOrigin="0.5,0.5" >
                                        <Decorator Margin="6,0,6,0" VerticalAlignment="Center" Style="{StaticResource A_Style_FrameworkElement_ItalicIfComboOrFastAndClean}">
                                            <local:FZTextBlock Text="{Binding Skill}" Style="{StaticResource A_Style_FZTextBlock_SkillName}" />
                                        </Decorator>
                                        <Decorator.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Decorator.RenderTransform>
                                    </Decorator>
                                </StackPanel>
                            </local:FZMaterial>
                            <Decorator x:Name="SkillScoreB" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Center" Visibility="{Binding DataContext.HideScores, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}, RelativeSource={RelativeSource FindAncestor, AncestorType=UserControl}}">
                                <local:FZMaterial x:Name="SkillComboBackingBRight" ClipToBounds="False" Style="{StaticResource A_Style_FZMaterial_SkillPanel_ScoreComboBacking}">
                                    <Decorator Style="{StaticResource A_Style_FrameworkElement_ItalicIfComboOrFastAndClean}">
                                        <local:FZTextBlock Text="{Binding SkillScore}" Style="{StaticResource A_Style_FZTextBlock_SkillScore}" VerticalAlignment="Center" />
                                    </Decorator>
                                </local:FZMaterial>
                                <Decorator.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Decorator.RenderTransform>
                            </Decorator>
                        </StackPanel>
                        <Decorator.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </Decorator.RenderTransform>
                    </Decorator>
                </Grid>
                <local:FZMaterial x:Name="SkillPanelGlow" ImageSource="/ForzaUI;component/Textures/Anthem/HUD/SkillsLargeGlow.png"
                            RenderTransformOrigin="0.5, 0.5"
                            Opacity="0"
                            Color="{StaticResource A_Color_HUD_GlowTint}"
                            Preset="{StaticResource A_FZMaterialPresetAdditive}">
                    <local:FZMaterial.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="2" ScaleY="2"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </local:FZMaterial.RenderTransform>
                </local:FZMaterial>
            </Grid>
        </StackPanel>
        <local:EventFire x:Name="EventFire" />
        <local:AudioEvent x:Name="MultiplierAudioEvent" />
        <local:AudioEvent x:Name="SkillChainBankedAudioEvent" />
    </Grid>

</UserControl>
