###
### Name: Guardian Rank Effect Changes
### Author: SpiderLenny
### Categories: char-other,gameplay
### License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
### License URL: https://creativecommons.org/licenses/by-sa/4.0/
###

###
### I mostly made this to test stuff out, but it can be used as a template to change any guardian rank effect. I used FFYL Speed and Duration since they seemed the least impactful overall.
### The commented out code is stuff I found out was either not needed or didn't work.
### Thanks to Apocalyptech and FromDarkHell for helping out when I was trying to make this work

Make FFYL Speed Give Status Effect Chance
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacter/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,RewardAttributeEffects.AttributeToModify,0,,(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_CorrosiveChance.Att_StatusEffect_DamageCauser_CorrosiveChance),(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_ShockChance.Att_StatusEffect_DamageCauser_ShockChance),(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_FireChance.Att_StatusEffect_DamageCauser_FireChance),(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_RadiationChance.Att_StatusEffect_RadiationCauser_CorrosiveChance),(Game/GameData/StatusEffects/Att_CryoEffectMultiplier.Att_CryoEffectMultiplier)
SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,DisplayName,0,,Elemental Status Chance
SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,RewardAttributeEffects,0,,((AttributeToModify=/Game/GameData/StatusEffects/Att_CryoRateMultiplier.Att_CryoRateMultiplier,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_ShockChance.Att_StatusEffect_DamageCauser_ShockChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_FireChance.Att_StatusEffect_DamageCauser_FireChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_RadiationChance.Att_StatusEffect_DamageCauser_RadiationChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_CorrosiveChance.Att_StatusEffect_DamageCauser_CorrosiveChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,RewardAttributeEffects.RewardAttributeEffects[1],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_ShockChance.Att_StatusEffect_DamageCauser_ShockChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,RewardAttributeEffects.RewardAttributeEffects[2],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_FireChance.Att_StatusEffect_DamageCauser_FireChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,RewardAttributeEffects.RewardAttributeEffects[3],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_RadiationChance.Att_StatusEffect_DamageCauser_RadiationChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed,RewardAttributeEffects.RewardAttributeEffects[4],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_CorrosiveChance.Att_StatusEffect_DamageCauser_CorrosiveChance,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLMovementSpeed_Modifier.Att_GuardianReward_FFYLMovementSpeed_Modifier,BaseValueScale=1)))

#Make FFYL Duration Give Status Effect Damage
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacter/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration,RewardAttributeEffects.AttributeToModify,0,,(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_CorrosiveChance.Att_StatusEffect_DamageCauser_CorrosiveChance),(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_ShockChance.Att_StatusEffect_DamageCauser_ShockChance),(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_FireChance.Att_StatusEffect_DamageCauser_FireChance),(Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_RadiationChance.Att_StatusEffect_RadiationCauser_CorrosiveChance),(Game/GameData/StatusEffects/Att_CryoEffectMultiplier.Att_CryoEffectMultiplier)
SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration,DisplayName,0,,Elemental Status Damage
SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration,RewardAttributeEffects,0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_ShockDamage.Att_StatusEffect_DamageCauser_ShockDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_FireDamage.Att_StatusEffect_DamageCauser_FireDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_RadiationDamage.Att_StatusEffect_DamageCauser_RadiationDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)),(AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_CorrosiveDamage.Att_StatusEffect_DamageCauser_CorrosiveDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration,RewardAttributeEffects.RewardAttributeEffects[1],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_FireDamage.Att_StatusEffect_DamageCauser_FireDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration,RewardAttributeEffects.RewardAttributeEffects[2],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_RadiationDamage.Att_StatusEffect_DamageCauser_RadiationDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)))
#SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration,RewardAttributeEffects.RewardAttributeEffects[3],0,,((AttributeToModify=/Game/GameData/StatusEffects/EffectModifierAttributes/Att_StatusEffect_DamageCauser_CorrosiveDamage.Att_StatusEffect_DamageCauser_CorrosiveDamage,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_FFYLDuration_Modifier.Att_GuardianReward_FFYLDuration_Modifier,BaseValueScale=1)))

#Make Gun Damage Give Splash Radius
SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_GunDamage.GuardianReward_GunDamage,RewardAttributeEffects,0,,((AttributeToModify=/Game/GameData/Attributes/Damage/Att_InstigatedRadiusDamage_RadiusMultiplier.Att_InstigatedRadiusDamage_RadiusMultiplier,ModifierType=Scale,ModifierValue=(BaseValueAttribute=/Game/PlayerCharacters/_Shared/_Design/GuardianRank/Attributes/Att_GuardianReward_GunDamage_Modifier.Att_GuardianReward_GunDamage_Modifier,BaseValueScale=1)))
SparkPatchEntry,(1,1,0,),/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_GunDamage.GuardianReward_GunDamage,DisplayName,0,,Splash Radius