diff --git a/StarRailUID/starrailuid_damagecal/config/RelicAbility.json b/StarRailUID/starrailuid_damagecal/config/RelicAbility.json new file mode 100644 index 0000000..7994444 --- /dev/null +++ b/StarRailUID/starrailuid_damagecal/config/RelicAbility.json @@ -0,0 +1,4015 @@ +{ + "AbilityList": [ + { + "Name": "RelicAbility100", + "TargetInfo": { + "TargetType": "Caster" + } + }, + { + "Modifiers": { + "MRelic_101_Main": { + "EnterBattlePriority": "CharacterBuff", + "OnEnterBattle": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareWaveCount", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyTeamBoostPoint", + "ModifyFunction": "Add", + "ModifyValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + } + ] + } + ] + } + }, + "Name": "Ability51011", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_101_Main" + } + ] + }, + { + "Modifiers": { + "MRelic_102_Main": { + "OnBeforeHit": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAttackType", + "AttackTypes": [ + "Normal" + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 459179394 + } + ] + } + } + ] + } + ] + } + }, + "Name": "Ability51021", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_102_Main" + } + ], + "DynamicValues": { + "Values": { + "459179394": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "102_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_103_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "ShieldAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 885378938 + } + ] + } + } + ] + } + }, + "Name": "Ability51031", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_103_Main" + } + ], + "DynamicValues": { + "Values": { + "885378938": { + "ReadInfo": { + "Type": "None", + "Str": "103_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_104_Main": { + "OnBeforeSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCurrentSkillType", + "SkillType": "Ultra" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_104_CriticalDamage", + "LifeTime": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1879856137 + } + ] + } + } + ] + } + ] + }, + "MRelic_104_CriticalDamage": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalDamageBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 157515215 + } + ] + } + } + ], + "Stacking": "ReplaceByCaster" + } + }, + "Name": "Ability51041", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_104_Main" + } + ], + "DynamicValues": { + "Values": { + "157515215": { + "ReadInfo": { + "Type": "None", + "Str": "104_4" + } + }, + "-1879856137": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "104_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_105_Main": { + "OnAfterAttack": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_105_Sub", + "MaxLayer": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1513477700 + } + ] + } + } + ], + "OnAfterBeingAttacked": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_105_Sub", + "MaxLayer": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1513477700 + } + ] + } + } + ] + }, + "MRelic_105_Sub": { + "MaxLayer": 6, + "LayerAddWhenStack": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + }, + "OnStack": [ + { + "$type": "RPG.GameCore.SetDynamicValueByModifierValue", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ValueType": "Layer", + "Multiplier": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + }, + "DynamicKey": "_Layer" + }, + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 531501707 + }, + { + "Type": "DynamicNumber", + "DynamicHash": 1912601768 + }, + { + "Type": "Mul" + } + ] + } + } + ], + "Stacking": "ReplaceByCaster", + "DynamicValues": { + "Values": { + "1912601768": {} + } + } + } + }, + "Name": "Ability51051", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_105_Main" + } + ], + "DynamicValues": { + "Values": { + "531501707": { + "ReadInfo": { + "Type": "None", + "Str": "105_4" + } + }, + "1513477700": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "105_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_106_Main2": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AllDamageReduce", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 337117016 + } + ] + } + } + ] + } + }, + "Name": "Ability51060", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_106_Main2" + } + ], + "DynamicValues": { + "Values": { + "337117016": { + "ReadInfo": { + "Type": "None", + "Str": "106_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_106_Main": { + "OnPhase1": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareHPRatio", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "CompareType": "LessEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1366832712 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.HealHP", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "FormulaType": "HealByTargetMaxHP", + "HealPercentage": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1668979317 + } + ] + } + }, + { + "$type": "RPG.GameCore.ModifySPNew", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "AddValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 229419792 + } + ] + } + } + ] + } + ] + } + }, + "Name": "Ability51061", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_106_Main" + } + ], + "DynamicValues": { + "Values": { + "-1366832712": { + "ReadInfo": { + "Type": "None", + "Str": "106_4" + } + }, + "-1668979317": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "106_4" + } + }, + "229419792": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "106_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_107_Main": { + "OnBeforeHit": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAttackType", + "AttackTypes": [ + "BPSkill" + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 618880522 + } + ] + } + } + ] + } + ], + "OnAfterSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCurrentSkillType", + "SkillType": "Ultra" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_107_FireDamageAddRatio" + } + ] + } + ] + }, + "MRelic_107_FireDamageAddRatio": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "FireAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 494825317 + } + ] + } + } + ], + "OnAfterAttack": [ + { + "$type": "RPG.GameCore.RemoveSelfModifier" + } + ] + } + }, + "Name": "Ability51071", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_107_Main" + } + ], + "DynamicValues": { + "Values": { + "618880522": { + "ReadInfo": { + "Type": "None", + "Str": "107_4" + } + }, + "494825317": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "107_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_108_Main": { + "OnBeforeHitAll": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Defender_DefenceAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -364539573 + }, + { + "Type": "Sub" + } + ] + } + }, + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByHasStanceWeak", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "DamageDefenderEntity" + }, + "WeakType": "Quantum" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Defender_DefenceAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1196642128 + }, + { + "Type": "Sub" + } + ] + } + } + ] + } + ] + } + }, + "Name": "Ability51081", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_108_Main" + } + ], + "DynamicValues": { + "Values": { + "-364539573": { + "ReadInfo": { + "Type": "None", + "Str": "108_4" + } + }, + "-1196642128": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "108_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_109_Main": { + "OnBeforeSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCurrentSkillType", + "SkillType": "Skill" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_109_Sub", + "LifeTime": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1310126948 + } + ] + } + } + ] + } + ] + }, + "MRelic_109_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1781482481 + } + ] + } + } + ], + "Stacking": "ReplaceByCaster" + } + }, + "Name": "Ability51091", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_109_Main" + } + ], + "DynamicValues": { + "Values": { + "-1781482481": { + "ReadInfo": { + "Type": "None", + "Str": "109_4" + } + }, + "1310126948": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "109_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_110_Main": { + "OnAfterSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCurrentSkillType", + "SkillType": "Ultra" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyActionDelay", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "AddNormalizedValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1098494600 + }, + { + "Type": "Sub" + } + ] + } + } + ] + } + ] + } + }, + "Name": "Ability51101", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_110_Main" + } + ], + "DynamicValues": { + "Values": { + "1098494600": { + "ReadInfo": { + "Type": "None", + "Str": "110_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_111_Main": { + "OnTriggerBreak": [ + { + "$type": "RPG.GameCore.ModifySPNew", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "AddValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1192876879 + } + ] + } + } + ] + } + }, + "Name": "Ability51111", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_111_Main" + } + ], + "DynamicValues": { + "Values": { + "-1192876879": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "111_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_112_Main": { + "OnBeforeHitAll": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByStatusCount", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "DamageDefenderEntity" + }, + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByContainBehaviorFlag", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "DamageDefenderEntity" + }, + "Flag": "STAT_Confine" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_CriticalChance": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 45095677 + } + ] + } + }, + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_CriticalDamage": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -773885837 + } + ] + } + } + ], + "FailedTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_CriticalChance": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 45095677 + } + ] + } + } + ] + } + ] + } + ] + } + }, + "Name": "Ability51121", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_112_Main" + } + ], + "DynamicValues": { + "Values": { + "45095677": { + "ReadInfo": { + "Type": "None", + "Str": "112_4" + } + }, + "-773885837": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "112_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_301_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "Speed", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 550312197 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_301_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "Speed", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 550312197 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_301_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_301_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_301_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -227304383 + } + ] + } + } + ] + } + }, + "Name": "Ability53011", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_301_Main" + } + ], + "DynamicValues": { + "Values": { + "550312197": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "301_2" + } + }, + "-227304383": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "301_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_302_Main": { + "EnterBattlePriority": "CharacterBuff", + "OnEnterBattle": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareWaveCount", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "Speed", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1778291848 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllTeamMember" + }, + "ModifierName": "MRelic_302_Sub" + } + ] + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "Speed", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1778291848 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetConcat", + "Targets": [ + { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllLightTeam" + }, + { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllUnselectable" + } + ] + }, + "ModifierName": "MRelic_302_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllTeamMember" + }, + "ModifierName": "MRelic_302_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_302_Sub": { + "BehaviorFlagList": [ + "RemoveWhenCasterDead" + ], + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1554194146 + } + ] + } + } + ], + "Stacking": "Multiple" + } + }, + "Name": "Ability53021", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_302_Main" + } + ], + "DynamicValues": { + "Values": { + "1778291848": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "302_2" + } + }, + "1554194146": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "302_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_303_Main": { + "OnPhase1": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "StatusProbabilityBase", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + } + ] + } + }, + "FailedTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValueByProperty", + "DynamicKey": "MDF_StatusProbability", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Value": "StatusProbabilityBase" + }, + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_303_Sub", + "DynamicValues": { + "MDF_AttackAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + }, + { + "Type": "DynamicNumber", + "DynamicHash": -261763503 + }, + { + "Type": "Mul" + } + ] + } + } + } + ] + } + ], + "OnPhase2": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "StatusProbabilityBase", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + } + ] + } + }, + "FailedTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValueByProperty", + "DynamicKey": "MDF_StatusProbability", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Value": "StatusProbabilityBase" + }, + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_303_Sub", + "DynamicValues": { + "MDF_AttackAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + }, + { + "Type": "DynamicNumber", + "DynamicHash": -261763503 + }, + { + "Type": "Mul" + } + ] + } + } + } + ] + } + ], + "OnListenBeforeSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "StatusProbabilityBase", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + } + ] + } + }, + "FailedTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValueByProperty", + "DynamicKey": "MDF_StatusProbability", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Value": "StatusProbabilityBase" + }, + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_303_Sub", + "DynamicValues": { + "MDF_AttackAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + }, + { + "Type": "DynamicNumber", + "DynamicHash": -261763503 + }, + { + "Type": "Mul" + } + ] + } + } + } + ] + } + ], + "OnListenAfterSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "StatusProbabilityBase", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + } + ] + } + }, + "FailedTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValueByProperty", + "DynamicKey": "MDF_StatusProbability", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Value": "StatusProbabilityBase" + }, + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_303_Sub", + "DynamicValues": { + "MDF_AttackAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + }, + { + "Type": "DynamicNumber", + "DynamicHash": -261763503 + }, + { + "Type": "Mul" + } + ] + } + } + } + ] + } + ], + "EnterBattlePriority": "CharacterBuff", + "OnEnterBattle": [ + { + "$type": "RPG.GameCore.SetDynamicValueByProperty", + "DynamicKey": "MDF_StatusProbability", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Value": "StatusProbabilityBase" + }, + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_303_Sub", + "DynamicValues": { + "MDF_AttackAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -229967663 + }, + { + "Type": "DynamicNumber", + "DynamicHash": -261763503 + }, + { + "Type": "Mul" + } + ] + } + } + } + ], + "DynamicValues": { + "Values": { + "-229967663": {} + } + } + }, + "MRelic_303_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "DynamicKey": "MDF_AttackAddedRatio", + "CompareType": "Greater", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 419529603 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 419529603 + } + ] + } + } + ], + "FailedTaskList": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1826473127 + } + ] + } + } + ] + } + ], + "Stacking": "ReplaceByCaster", + "DynamicValues": { + "Values": { + "-1826473127": {} + } + } + } + }, + "Name": "Ability53031", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_303_Main" + } + ], + "DynamicValues": { + "Values": { + "-261763503": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "303_2" + } + }, + "419529603": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "303_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_304_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "StatusProbability", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -80981650 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_304_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "StatusProbability", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": -1 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -80981650 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_304_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_304_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_304_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "DefenceAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 43780502 + } + ] + } + } + ] + } + }, + "Name": "Ability53041", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_304_Main" + } + ], + "DynamicValues": { + "Values": { + "-80981650": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "304_2" + } + }, + "43780502": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "304_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_305_Main": { + "OnAfterAttack": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_305_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "EnterBattlePriority": "CharacterBuff", + "OnEnterBattle": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareWaveCount", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalDamage", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1511673230 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_305_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_305_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChanceBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1491686669 + } + ] + } + } + ] + } + }, + "Name": "Ability53051", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_305_Main" + } + ], + "DynamicValues": { + "Values": { + "-1511673230": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "305_2" + } + }, + "1491686669": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "305_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_306_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChance", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1127902366 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_306_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "CriticalChance", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": -1 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1127902366 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_306_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_306_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_306_Sub": { + "OnBeforeHit": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAttackType", + "AttackTypes": [ + "Ultra", + "Insert" + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1200369059 + } + ] + } + } + ] + } + ] + } + }, + "Name": "Ability53061", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_306_Main" + } + ], + "DynamicValues": { + "Values": { + "-1127902366": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "306_2" + } + }, + "-1200369059": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "306_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_307_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "Speed", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1677143947 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_307_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "Speed", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": -1 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1677143947 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_307_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_307_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_307_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "BreakDamageAddedRatioBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -2021745413 + } + ] + } + } + ] + } + }, + "Name": "Ability53071", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_307_Main" + } + ], + "DynamicValues": { + "Values": { + "1677143947": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "307_2" + } + }, + "-2021745413": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "307_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_308_Main": { + "EnterBattlePriority": "CharacterBuff", + "OnEnterBattle": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareWaveCount", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "Speed", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -100454402 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyActionDelay", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "AddNormalizedValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1642612682 + }, + { + "Type": "Sub" + } + ] + } + } + ] + } + ] + } + ] + } + }, + "Name": "Ability53081", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_308_Main" + } + ], + "DynamicValues": { + "Values": { + "-100454402": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "308_2" + } + }, + "-1642612682": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "308_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_309_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChance", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1488776989 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_309_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "CriticalChance", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": -1 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1488776989 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_309_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_309_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_309_Sub": { + "OnBeforeHit": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAttackType", + "AttackTypes": [ + "Normal", + "BPSkill" + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1473807238 + } + ] + } + } + ] + } + ] + } + }, + "Name": "Ability53091", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_309_Main" + } + ], + "DynamicValues": { + "Values": { + "-1488776989": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "309_2" + } + }, + "-1473807238": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "309_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_900_Main": { + "OnListenHPChange": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAnd", + "PredicateList": [ + { + "$type": "RPG.GameCore.ByCompareTarget", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ParamEntity2" + }, + "CompareType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + } + }, + { + "$type": "RPG.GameCore.ByCompareParamValue", + "CompareType": "Less", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + } + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByTargetTeam", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ParamEntity" + }, + "Team": "TeamLight" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_900_Sub", + "LifeTime": { + "IsDynamic": false, + "FixedValue": { + "Value": 2 + } + }, + "Count": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "DynamicValues": { + "_MaxLayer": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1180256955 + } + ] + } + } + } + ] + } + ] + } + ], + "OnAfterBeingAttacked": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_900_Sub", + "LifeTime": { + "IsDynamic": false, + "FixedValue": { + "Value": 2 + } + }, + "Count": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + }, + "DynamicValues": { + "_MaxLayer": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1180256955 + } + ] + } + } + } + ] + }, + "MRelic_900_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.SetDynamicValueByModifierValue", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_900_Sub", + "Multiplier": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "DynamicKey": "_Count" + }, + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_Count", + "CompareType": "Greater", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChanceBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1190582898 + } + ] + } + } + ] + } + ], + "OnListenHPChange": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAnd", + "PredicateList": [ + { + "$type": "RPG.GameCore.ByCompareTarget", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ParamEntity2" + }, + "CompareType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + } + }, + { + "$type": "RPG.GameCore.ByCompareParamValue", + "CompareType": "Less", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + } + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByTargetTeam", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ParamEntity" + }, + "Team": "TeamLight" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareModifierValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "CompareType": "Less", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1180256955 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChanceBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1190582898 + } + ] + } + }, + { + "$type": "RPG.GameCore.SetModifierValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_900_Sub", + "ModifyFunction": "Add", + "Value": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + } + ] + } + ] + } + ] + } + ], + "OnAfterBeingAttacked": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareModifierValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "CompareType": "Less", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1180256955 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChanceBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1190582898 + } + ] + } + }, + { + "$type": "RPG.GameCore.SetModifierValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_900_Sub", + "ModifyFunction": "Add", + "Value": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + } + } + ] + } + ], + "DynamicValues": { + "Values": { + "916155872": {}, + "-1342592610": {} + } + } + } + }, + "Name": "Ability59001", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_900_Main" + } + ], + "DynamicValues": { + "Values": { + "-1190582898": { + "ReadInfo": { + "Type": "None", + "Str": "900_4" + } + }, + "1180256955": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "900_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_901_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_901_Sub" + } + ] + }, + "MRelic_901_Sub": { + "OnBeforeHitAll": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByContainBehaviorFlag", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ParamEntity" + }, + "Flag": "STAT_DOT" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -358311156 + } + ] + } + } + ] + } + ], + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "DotDamageAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -175110055 + } + ] + } + } + ] + } + }, + "Name": "Ability59011", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_901_Main" + } + ], + "DynamicValues": { + "Values": { + "-175110055": { + "ReadInfo": { + "Type": "None", + "Str": "901_4" + } + }, + "-358311156": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "901_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_902_Main": { + "OnAfterSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCurrentSkillType", + "SkillType": "Ultra" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByTargetListIntersects", + "FirstTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "SkillTargetEntityList" + }, + "FirstTargetAliveOnly": false, + "SecondTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllTeammate" + }, + "SecondTargetAliveOnly": false + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllLightTeam" + }, + "ModifierName": "MRelic_902_Sub", + "LifeTime": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 102489793 + } + ] + } + } + ] + } + ] + } + ] + }, + "MRelic_902_Sub": { + "BehaviorFlagList": [ + "STAT_SpeedUp" + ], + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "SpeedAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 410186986 + } + ] + } + } + ] + } + }, + "Name": "Ability59021", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_902_Main" + } + ], + "DynamicValues": { + "Values": { + "410186986": { + "ReadInfo": { + "Type": "None", + "Str": "902_4" + } + }, + "102489793": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "902_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_903_Main": { + "OnPhase1": [ + { + "$type": "RPG.GameCore.SetDynamicValueByStatusCount", + "DynamicKey": "_DebuffCount", + "ReadTargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + } + }, + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_TurnCount", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_DebuffCount", + "CompareType": "Greater", + "CompareValue": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.DispelStatus", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Numbers": { + "IsDynamic": false, + "FixedValue": { + "Value": 1 + } + }, + "Order": "LastAdded" + } + ], + "FailedTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_903_Sub", + "LifeTime": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -613484126 + } + ] + } + } + ] + } + ] + }, + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_TurnCount", + "CompareType": "Equal", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 314686377 + }, + { + "Type": "FixedNumber", + "FixedValue": { + "Value": 1 + } + }, + { + "Type": "Sub" + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_TurnCount", + "Value": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + } + ], + "FailedTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_TurnCount", + "Value": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1612122267 + }, + { + "Type": "FixedNumber", + "FixedValue": { + "Value": 1 + } + }, + { + "Type": "Add" + } + ] + } + } + ] + } + ], + "DynamicValues": { + "Values": { + "-1601007696": {}, + "-1612122267": {} + } + } + }, + "MRelic_903_Sub": { + "BehaviorFlagList": [ + "STAT_SpeedUp" + ], + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "SpeedAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1965394869 + } + ] + } + } + ] + } + }, + "Name": "Ability59031", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_903_Main" + } + ], + "DynamicValues": { + "Values": { + "-1965394869": { + "ReadInfo": { + "Type": "None", + "Str": "903_4" + } + }, + "-613484126": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "903_4" + } + }, + "314686377": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "903_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_904_Main": { + "OnBeforeHitAll": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByAttackType", + "AttackTypes": [ + "BPSkill" + ] + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1001622286 + } + ] + } + }, + { + "$type": "RPG.GameCore.ModifyDamageData", + "Attacker_AllDamageTypeAddedRatio": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1123642700 + }, + { + "Type": "DynamicNumber", + "DynamicHash": 713850951 + }, + { + "Type": "Mul" + } + ] + } + } + ] + } + ], + "OnBeforeSkillUse": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCurrentSkillType", + "SkillType": "Skill" + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.SetDynamicValueByVariateType", + "DynamicKey": "_BPNeed", + "VariateType": "SkillBpCost" + } + ] + } + ], + "OnAfterSkillUse": [ + { + "$type": "RPG.GameCore.SetDynamicValue", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "DynamicKey": "_BPNeed", + "Value": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + } + } + ], + "DynamicValues": { + "Values": { + "713850951": {} + } + } + } + }, + "Name": "Ability59041", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_904_Main" + } + ], + "DynamicValues": { + "Values": { + "-1001622286": { + "ReadInfo": { + "Type": "None", + "Str": "904_4" + } + }, + "-1123642700": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "904_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_905_Main": { + "OnAfterBeingAttacked": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ParamEntity" + }, + "ModifierName": "MRelic_905_Sub", + "Chance": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -535061016 + } + ] + }, + "LifeTime": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 790336635 + } + ] + } + } + ] + }, + "MRelic_905_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "FatigueRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -137415487 + } + ] + } + } + ] + } + }, + "Name": "Ability59051", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_905_Main" + } + ], + "DynamicValues": { + "Values": { + "-535061016": { + "ReadInfo": { + "Type": "None", + "Str": "905_4" + } + }, + "-137415487": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "905_4" + } + }, + "790336635": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "905_4" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_950_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AllDamageReduce", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1799754355 + } + ] + } + }, + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "BreakDamageAddedRatio", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1455710669 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_950_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "BreakDamageAddedRatio", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1455710669 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_950_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_950_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_950_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AllDamageReduce", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1247180329 + } + ] + } + } + ] + } + }, + "Name": "Ability59501", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_950_Main" + } + ], + "DynamicValues": { + "Values": { + "1799754355": { + "ReadInfo": { + "Type": "None", + "Str": "950_2" + } + }, + "-1455710669": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "950_2" + } + }, + "1247180329": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "950_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_951_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "StatusResistance", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -2024796506 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllLightTeam" + }, + "ModifierName": "MRelic_951_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "StatusResistance", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -2024796506 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetConcat", + "Targets": [ + { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllLightTeam" + }, + { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllUnselectable" + } + ] + }, + "ModifierName": "MRelic_951_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "AllLightTeam" + }, + "ModifierName": "MRelic_951_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_951_Sub": { + "BehaviorFlagList": [ + "RemoveWhenCasterDead" + ], + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "AttackAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 1769551996 + } + ] + } + } + ], + "Stacking": "Multiple" + } + }, + "Name": "Ability59511", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_951_Main" + } + ], + "DynamicValues": { + "Values": { + "-2024796506": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "951_2" + } + }, + "1769551996": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "951_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_952_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalDamage", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1474745832 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_952_Sub" + } + ] + } + ], + "OnAbilityPropertyChange": [ + { + "Property": "CriticalDamage", + "Ranges": [ + { + "Min": { + "IsDynamic": false, + "FixedValue": { + "Value": 0 + } + }, + "Max": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1474745832 + } + ] + }, + "OnEnterRange": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_952_Sub", + "OnlyRemoveCasterAdded": true + } + ], + "OnExitRange": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_952_Sub" + } + ] + } + ] + } + ] + }, + "MRelic_952_Sub": { + "BehaviorFlagList": [ + "STAT_SpeedUp" + ], + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "SpeedAddedRatio", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -943821905 + } + ] + } + } + ] + } + }, + "Name": "Ability59521", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_952_Main" + } + ], + "DynamicValues": { + "Values": { + "-1474745832": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "952_2" + } + }, + "-943821905": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "952_2" + } + } + } + } + }, + { + "Modifiers": { + "MRelic_953_Main": { + "OnStack": [ + { + "$type": "RPG.GameCore.PredicateTaskList", + "Predicate": { + "$type": "RPG.GameCore.ByCompareAbilityProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalDamage", + "CompareType": "GreaterEqual", + "CompareValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": -1296370729 + } + ] + } + }, + "SuccessTaskList": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_953_Sub" + } + ] + } + ], + "OnAfterAttack": [ + { + "$type": "RPG.GameCore.RemoveModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "ModifierName": "MRelic_953_Sub", + "OnlyRemoveCasterAdded": true + } + ] + }, + "MRelic_953_Sub": { + "OnStack": [ + { + "$type": "RPG.GameCore.StackProperty", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "ModifierOwnerEntity" + }, + "Property": "CriticalChanceBase", + "PropertyValue": { + "IsDynamic": true, + "Expressions": [ + { + "Type": "DynamicNumber", + "DynamicHash": 8729018 + } + ] + } + } + ] + } + }, + "Name": "Ability59531", + "TargetInfo": { + "TargetType": "Caster" + }, + "OnStart": [ + { + "$type": "RPG.GameCore.AddModifier", + "TargetType": { + "$type": "RPG.GameCore.TargetAlias", + "Alias": "Caster" + }, + "ModifierName": "MRelic_953_Main" + } + ], + "DynamicValues": { + "Values": { + "-1296370729": { + "ReadInfo": { + "Type": "SkillTreeParam", + "Str": "953_2" + } + }, + "8729018": { + "ReadInfo": { + "Type": "SkillRank", + "Str": "953_2" + } + } + } + } + } + ] +} diff --git a/StarRailUID/starrailuid_wiki/__init__.py b/StarRailUID/starrailuid_wiki/__init__.py new file mode 100644 index 0000000..b51c9ef --- /dev/null +++ b/StarRailUID/starrailuid_wiki/__init__.py @@ -0,0 +1,69 @@ +import re + +from gsuid_core.sv import SV +from gsuid_core.bot import Bot +from gsuid_core.models import Event +from gsuid_core.utils.image.convert import convert_img + +from ..utils.map.name_covert import alias_to_char_name +from ..utils.resource.RESOURCE_PATH import ( + WIKI_ROLE_PATH, + WIKI_RELIC_PATH, + WIKI_LIGHT_CONE_PATH, + WIKI_MATERIAL_FOR_ROLE, +) + +sv_sr_wiki = SV('星铁WIKI') + + +@sv_sr_wiki.on_prefix(('sr角色攻略')) +async def send_role_wiki_pic(bot: Bot, ev: Event): + msg = ' '.join(re.findall('[\u4e00-\u9fa5]+', ev.text)) + await bot.logger.info('开始获取{}攻略'.format(msg)) + name = await alias_to_char_name(msg) + img = WIKI_ROLE_PATH / '{}.png'.format(name) + if img.exists(): + img = await convert_img(img) + await bot.logger.info('获得{}攻略图片成功!'.format(name)) + await bot.send(img) + else: + await bot.logger.warning('未找到{}攻略图片'.format(name)) + + +@sv_sr_wiki.on_prefix(('sr遗器')) +async def send_relic_wiki_pic(bot: Bot, ev: Event): + msg = ' '.join(re.findall('[\u4e00-\u9fa5]+', ev.text)) + await bot.logger.info('开始获取{}遗器'.format(msg)) + img = WIKI_RELIC_PATH / '{}.png'.format(msg) + if img.exists(): + img = await convert_img(img) + await bot.logger.info('获得{}攻略图片成功!'.format(msg)) + await bot.send(img) + else: + await bot.logger.warning('未找到{}攻略图片'.format(msg)) + + +@sv_sr_wiki.on_prefix(('sr突破材料')) +async def send_material_for_role_wiki_pic(bot: Bot, ev: Event): + msg = ' '.join(re.findall('[\u4e00-\u9fa5]+', ev.text)) + await bot.logger.info('开始获取{}突破材料'.format(msg)) + img = WIKI_MATERIAL_FOR_ROLE / '{}.png'.format(msg) + if img.exists(): + img = await convert_img(img) + await bot.logger.info('获得{}攻略图片成功!'.format(msg)) + await bot.send(img) + else: + await bot.logger.warning('未找到{}攻略图片'.format(msg)) + + +@sv_sr_wiki.on_prefix(('sr武器')) +async def send_light_cone_wiki_pic(bot: Bot, ev: Event): + msg = ' '.join(re.findall('[\u4e00-\u9fa5]+', ev.text)) + await bot.logger.info('开始获取{}武器'.format(msg)) + img = WIKI_LIGHT_CONE_PATH / '{}.png'.format(msg) + if img.exists(): + img = await convert_img(img) + await bot.logger.info('获得{}攻略图片成功!'.format(msg)) + await bot.send(img) + else: + await bot.logger.warning('未找到{}攻略图片'.format(msg)) diff --git a/StarRailUID/utils/map/name_covert.py b/StarRailUID/utils/map/name_covert.py index 426475e..c0e8b89 100644 --- a/StarRailUID/utils/map/name_covert.py +++ b/StarRailUID/utils/map/name_covert.py @@ -1,61 +1,61 @@ -from .SR_MAP_PATH import ( - EquipmentID2Name, - EquipmentID2EnName, - alias_data, - avatarId2Name, - avatarId2Star_data, -) - - -async def avatar_id_to_name(avatar_id: str) -> str: - char_name = avatarId2Name[avatar_id] - return char_name - - -async def name_to_avatar_id(name: str) -> str: - avatar_id = '' - for i in avatarId2Name: - if avatarId2Name[i] == name: - avatar_id = i - break - return avatar_id - - -async def avatar_id_to_char_star(char_id: str) -> str: - char_star = avatarId2Star_data[str(char_id)] - return char_star - - -async def alias_to_char_name(char_name: str) -> str: - for i in alias_data['characters']: - if char_name in alias_data['characters'][i]: - return alias_data['characters'][i][0] - return False - - -async def weapon_id_to_name(weapon_id: str) -> str: - weapon_name = EquipmentID2Name[weapon_id] - return weapon_name - - -async def name_to_weapon_id(name: str) -> str: - weapon_id = '' - for i in EquipmentID2Name: - if EquipmentID2Name[i] == name: - weapon_id = i - break - return weapon_id - - -async def weapon_id_to_en_name(weapon_id: str) -> str: - weapon_en_name = EquipmentID2EnName[weapon_id] - return weapon_en_name - - -async def en_name_to_weapon_id(name: str) -> str: - weapon_id = '' - for i in EquipmentID2EnName: - if EquipmentID2EnName[i] == name: - weapon_id = i - break - return weapon_id +from .SR_MAP_PATH import ( + EquipmentID2Name, + EquipmentID2EnName, + alias_data, + avatarId2Name, + avatarId2Star_data, +) + + +async def avatar_id_to_name(avatar_id: str) -> str: + char_name = avatarId2Name[avatar_id] + return char_name + + +async def name_to_avatar_id(name: str) -> str: + avatar_id = '' + for i in avatarId2Name: + if avatarId2Name[i] == name: + avatar_id = i + break + return avatar_id + + +async def avatar_id_to_char_star(char_id: str) -> str: + char_star = avatarId2Star_data[str(char_id)] + return char_star + + +async def alias_to_char_name(char_name: str) -> str: + for i in alias_data['characters']: + if char_name in alias_data['characters'][i]: + return alias_data['characters'][i][0] + return char_name + + +async def weapon_id_to_name(weapon_id: str) -> str: + weapon_name = EquipmentID2Name[weapon_id] + return weapon_name + + +async def name_to_weapon_id(name: str) -> str: + weapon_id = '' + for i in EquipmentID2Name: + if EquipmentID2Name[i] == name: + weapon_id = i + break + return weapon_id + + +async def weapon_id_to_en_name(weapon_id: str) -> str: + weapon_en_name = EquipmentID2EnName[weapon_id] + return weapon_en_name + + +async def en_name_to_weapon_id(name: str) -> str: + weapon_id = '' + for i in EquipmentID2EnName: + if EquipmentID2EnName[i] == name: + weapon_id = i + break + return weapon_id diff --git a/poetry.lock b/poetry.lock index 727f5f8..9c3eca0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -373,7 +373,6 @@ files = [ {file = "libcst-0.4.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3e9d9fdd9a9b9b8991936ff1c07527ce7ef396c8233280ba9a7137e72c2e48e"}, {file = "libcst-0.4.10-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e1b4cbaf7b1cdad5fa3eababe42d5b46c0d52afe13c5ba4eac2495fc57630ea"}, {file = "libcst-0.4.10-cp39-cp39-win_amd64.whl", hash = "sha256:bcbd07cec3d7a7be6f0299b0c246e085e3d6cc8af367e2c96059183b97c2e2fe"}, - {file = "libcst-0.4.10.tar.gz", hash = "sha256:b98a829d96e8b209fb761b00cd1bacc27c70eae77d00e57976e5ae2c718c3f81"}, ] [package.dependencies] @@ -386,14 +385,14 @@ dev = ["Sphinx (>=5.1.1)", "black (==23.1.0)", "build (>=0.10.0)", "coverage (>= [[package]] name = "loguru" -version = "0.6.0" +version = "0.7.0" description = "Python logging made (stupidly) simple" category = "dev" optional = false python-versions = ">=3.5" files = [ - {file = "loguru-0.6.0-py3-none-any.whl", hash = "sha256:4e2414d534a2ab57573365b3e6d0234dfb1d84b68b7f3b948e6fb743860a77c3"}, - {file = "loguru-0.6.0.tar.gz", hash = "sha256:066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c"}, + {file = "loguru-0.7.0-py3-none-any.whl", hash = "sha256:b93aa30099fa6860d4727f1b81f8718e965bb96253fa190fab2077aaad6d15d3"}, + {file = "loguru-0.7.0.tar.gz", hash = "sha256:1612053ced6ae84d7959dd7d5e431a0532642237ec21f7fd83ac73fe539e03e1"}, ] [package.dependencies] @@ -401,7 +400,7 @@ colorama = {version = ">=0.3.4", markers = "sys_platform == \"win32\""} win32-setctime = {version = ">=1.0.0", markers = "sys_platform == \"win32\""} [package.extras] -dev = ["Sphinx (>=4.1.1)", "black (>=19.10b0)", "colorama (>=0.3.4)", "docutils (==0.16)", "flake8 (>=3.7.7)", "isort (>=5.1.1)", "pytest (>=4.6.2)", "pytest-cov (>=2.7.1)", "sphinx-autobuild (>=0.7.1)", "sphinx-rtd-theme (>=0.4.3)", "tox (>=3.9.0)"] +dev = ["Sphinx (==5.3.0)", "colorama (==0.4.5)", "colorama (==0.4.6)", "freezegun (==1.1.0)", "freezegun (==1.2.2)", "mypy (==v0.910)", "mypy (==v0.971)", "mypy (==v0.990)", "pre-commit (==3.2.1)", "pytest (==6.1.2)", "pytest (==7.2.1)", "pytest-cov (==2.12.1)", "pytest-cov (==4.0.0)", "pytest-mypy-plugins (==1.10.1)", "pytest-mypy-plugins (==1.9.3)", "sphinx-autobuild (==2021.3.14)", "sphinx-rtd-theme (==1.2.0)", "tox (==3.27.1)", "tox (==4.4.6)"] [[package]] name = "mccabe" @@ -528,18 +527,18 @@ setuptools = "*" [[package]] name = "nonebot2" -version = "2.0.0rc4" +version = "2.0.0" description = "An asynchronous python bot framework." category = "dev" optional = false python-versions = ">=3.8,<4.0" files = [ - {file = "nonebot2-2.0.0rc4-py3-none-any.whl", hash = "sha256:dba33955e07f962d4fc0d3841b1d5d20ed00b8eb4189f0ac608b07e193148a3b"}, - {file = "nonebot2-2.0.0rc4.tar.gz", hash = "sha256:572ab5a2678155dca93ec27695a51b1c8b3ad43c3329a360e67ce11c6dd01c7d"}, + {file = "nonebot2-2.0.0-py3-none-any.whl", hash = "sha256:a3b0caedd52033a11f1d7c24875c3b89513a4b5014f703e0bb266e2e39a0bd30"}, + {file = "nonebot2-2.0.0.tar.gz", hash = "sha256:144c175ce100c3300d53475fc47b7a9f0a6545861ff12bdc8a1442ab12d430df"}, ] [package.dependencies] -loguru = ">=0.6.0,<0.7.0" +loguru = ">=0.6.0,<1.0.0" pydantic = {version = ">=1.10.0,<2.0.0", extras = ["dotenv"]} pygtrie = ">=2.4.1,<3.0.0" tomli = {version = ">=2.0.1,<3.0.0", markers = "python_version < \"3.11\""} @@ -548,22 +547,22 @@ yarl = ">=1.7.2,<2.0.0" [package.extras] aiohttp = ["aiohttp[speedups] (>=3.7.4,<4.0.0)"] -all = ["Quart (>=0.18.0,<1.0.0)", "aiohttp[speedups] (>=3.7.4,<4.0.0)", "fastapi (>=0.93.0,<1.0.0)", "httpx[http2] (>=0.20.0,<1.0.0)", "uvicorn[standard] (>=0.20.0,<1.0.0)", "websockets (>=10.0,<11.0)"] +all = ["Quart (>=0.18.0,<1.0.0)", "aiohttp[speedups] (>=3.7.4,<4.0.0)", "fastapi (>=0.93.0,<1.0.0)", "httpx[http2] (>=0.20.0,<1.0.0)", "uvicorn[standard] (>=0.20.0,<1.0.0)", "websockets (>=10.0)"] fastapi = ["fastapi (>=0.93.0,<1.0.0)", "uvicorn[standard] (>=0.20.0,<1.0.0)"] httpx = ["httpx[http2] (>=0.20.0,<1.0.0)"] quart = ["Quart (>=0.18.0,<1.0.0)", "uvicorn[standard] (>=0.20.0,<1.0.0)"] -websockets = ["websockets (>=10.0,<11.0)"] +websockets = ["websockets (>=10.0)"] [[package]] name = "nonebug" -version = "0.3.3" +version = "0.3.4" description = "nonebot2 test framework" category = "dev" optional = false python-versions = ">=3.8,<4.0" files = [ - {file = "nonebug-0.3.3-py3-none-any.whl", hash = "sha256:c3e53e9fe0859083512b78b1af5c29c2ba73b86957fac6a028f094a64a04ea5a"}, - {file = "nonebug-0.3.3.tar.gz", hash = "sha256:3ef520e60c9af97fc4f4dbddcc46723aedb8a127b84369b49d2e9a40bea5b799"}, + {file = "nonebug-0.3.4-py3-none-any.whl", hash = "sha256:d6ebbde934d463141497e3162e26371b7e266d39f8cac0aa1bccc0e4542dd48b"}, + {file = "nonebug-0.3.4.tar.gz", hash = "sha256:11d106dff3fe0d5fa029b9745f701770bcc484be048e72722bb17bb00f84753d"}, ] [package.dependencies] @@ -587,14 +586,14 @@ files = [ [[package]] name = "pathspec" -version = "0.10.3" +version = "0.11.1" description = "Utility library for gitignore style pattern matching of file paths." category = "dev" optional = false python-versions = ">=3.7" files = [ - {file = "pathspec-0.10.3-py3-none-any.whl", hash = "sha256:3c95343af8b756205e2aba76e843ba9520a24dd84f68c22b9f93251507509dd6"}, - {file = "pathspec-0.10.3.tar.gz", hash = "sha256:56200de4077d9d0791465aa9095a01d421861e405b5096955051deefd697d6f6"}, + {file = "pathspec-0.11.1-py3-none-any.whl", hash = "sha256:d8af70af76652554bd134c22b3e8a1cc46ed7d91edcdd721ef1a0c51a84a5293"}, + {file = "pathspec-0.11.1.tar.gz", hash = "sha256:2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687"}, ] [[package]] @@ -650,22 +649,22 @@ virtualenv = ">=20.10.0" [[package]] name = "pycln" -version = "2.1.3" +version = "2.1.5" description = "A formatter for finding and removing unused import statements." category = "dev" optional = false python-versions = ">=3.6.2,<4" files = [ - {file = "pycln-2.1.3-py3-none-any.whl", hash = "sha256:161142502e4ff9853cd462a38401e29eb56235919856df2cb7fa4c84e463717f"}, - {file = "pycln-2.1.3.tar.gz", hash = "sha256:a33bfc64ded74a623b7cf49eca38b58db4348facc60c35af26d45de149b256f5"}, + {file = "pycln-2.1.5-py3-none-any.whl", hash = "sha256:1e1f2542aabc8942fd945bbecd39b55ed5f25cd9a70fa116a554cceaab4fdc3b"}, + {file = "pycln-2.1.5.tar.gz", hash = "sha256:5029007881d00b87bfc8831ef7cf59c90cc214fbbcc8773f0a9560ddef8d150a"}, ] [package.dependencies] libcst = {version = ">=0.3.10,<0.5.0", markers = "python_version >= \"3.7\""} -pathspec = ">=0.9.0,<0.11.0" +pathspec = ">=0.9.0,<0.12.0" pyyaml = ">=5.3.1,<7.0.0" tomlkit = ">=0.11.1,<0.12.0" -typer = ">=0.4.1,<0.8.0" +typer = ">=0.4.1,<0.10.0" [[package]] name = "pycodestyle" @@ -929,35 +928,36 @@ files = [ [[package]] name = "typer" -version = "0.7.0" +version = "0.9.0" description = "Typer, build great CLIs. Easy to code. Based on Python type hints." category = "dev" optional = false python-versions = ">=3.6" files = [ - {file = "typer-0.7.0-py3-none-any.whl", hash = "sha256:b5e704f4e48ec263de1c0b3a2387cd405a13767d2f907f44c1a08cbad96f606d"}, - {file = "typer-0.7.0.tar.gz", hash = "sha256:ff797846578a9f2a201b53442aedeb543319466870fbe1c701eab66dd7681165"}, + {file = "typer-0.9.0-py3-none-any.whl", hash = "sha256:5d96d986a21493606a358cae4461bd8cdf83cbf33a5aa950ae629ca3b51467ee"}, + {file = "typer-0.9.0.tar.gz", hash = "sha256:50922fd79aea2f4751a8e0408ff10d2662bd0c8bbfa84755a699f3bada2978b2"}, ] [package.dependencies] click = ">=7.1.1,<9.0.0" +typing-extensions = ">=3.7.4.3" [package.extras] -all = ["colorama (>=0.4.3,<0.5.0)", "rich (>=10.11.0,<13.0.0)", "shellingham (>=1.3.0,<2.0.0)"] +all = ["colorama (>=0.4.3,<0.5.0)", "rich (>=10.11.0,<14.0.0)", "shellingham (>=1.3.0,<2.0.0)"] dev = ["autoflake (>=1.3.1,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "pre-commit (>=2.17.0,<3.0.0)"] doc = ["cairosvg (>=2.5.2,<3.0.0)", "mdx-include (>=1.4.1,<2.0.0)", "mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "pillow (>=9.3.0,<10.0.0)"] -test = ["black (>=22.3.0,<23.0.0)", "coverage (>=6.2,<7.0)", "isort (>=5.0.6,<6.0.0)", "mypy (==0.910)", "pytest (>=4.4.0,<8.0.0)", "pytest-cov (>=2.10.0,<5.0.0)", "pytest-sugar (>=0.9.4,<0.10.0)", "pytest-xdist (>=1.32.0,<4.0.0)", "rich (>=10.11.0,<13.0.0)", "shellingham (>=1.3.0,<2.0.0)"] +test = ["black (>=22.3.0,<23.0.0)", "coverage (>=6.2,<7.0)", "isort (>=5.0.6,<6.0.0)", "mypy (==0.910)", "pytest (>=4.4.0,<8.0.0)", "pytest-cov (>=2.10.0,<5.0.0)", "pytest-sugar (>=0.9.4,<0.10.0)", "pytest-xdist (>=1.32.0,<4.0.0)", "rich (>=10.11.0,<14.0.0)", "shellingham (>=1.3.0,<2.0.0)"] [[package]] name = "typing-extensions" -version = "4.6.2" +version = "4.6.3" description = "Backported and Experimental Type Hints for Python 3.7+" category = "dev" optional = false python-versions = ">=3.7" files = [ - {file = "typing_extensions-4.6.2-py3-none-any.whl", hash = "sha256:3a8b36f13dd5fdc5d1b16fe317f5668545de77fa0b8e02006381fd49d731ab98"}, - {file = "typing_extensions-4.6.2.tar.gz", hash = "sha256:06006244c70ac8ee83fa8282cb188f697b8db25bc8b4df07be1873c43897060c"}, + {file = "typing_extensions-4.6.3-py3-none-any.whl", hash = "sha256:88a4153d8505aabbb4e13aacb7c486c2b4a33ca3b3f807914a9b4c844c471c26"}, + {file = "typing_extensions-4.6.3.tar.gz", hash = "sha256:d91d5919357fe7f681a9f2b5b4cb2a5f1ef0a1e9f59c4d8ff0d3491e05c0ffd5"}, ] [[package]]