Jump to content

[solved] Editing Deadfire Balance Polishing Mod's Blood Sacrifice -100% Healing Received?


Recommended Posts

https://www.nexusmods.com/pillarsofeternity2/mods/438?tab=description this is the mod in question.

I find the no-heal for 6 seconds a bit too harsh for me, the other things the mod does with Blood Sacrifice are fine - especially the 3s recovery makes so much sense to me. I am just not 100% sure how to edit the file to not mess it up completely...

The complete code:

{
	"GameDataObjects": [
        {
            "$type": "Game.GameData.AttackMeleeGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice_Self",
            "ID": "effef826-1f55-4284-914b-e1dc6fc12b79",
            "Components": [{
                "$type": "Game.GameData.AttackBaseComponent, Assembly-CSharp",
                "RecoveryTimeID": "9d15e1c1-c6e1-4b25-bc1d-bf3707f6f534",
                "OverrideTacticalActionType": "Free"
            }]
        },
        {
            "$type": "Game.GameData.GenericAbilityGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice",
            "ID": "9d3e2b8d-1fdd-496f-acc1-51d6d3836e59",
            "Components": [{
                "$type": "Game.GameData.GenericAbilityComponent, Assembly-CSharp",
                "StatusEffectsIDs": ["ff9d484e-abc4-4b18-88f9-49efbb654a9f","74c5cfc3-31f3-4e9d-a158-1faa8879eb87"]
            }]
        },
        {
            "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice_SE_NoHealing",
            "ID": "74c5cfc3-31f3-4e9d-a158-1faa8879eb87",
            "Components": [{
                "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp",
                "StatusEffectType": "BonusHealMult",
                "OverrideDescriptionString": -1,
                "OverrideDescriptionStringTactical": -1,
                "UseStatusEffectValueAs": "None",
                "BaseValue": 0,
                "DynamicValue": {
                    "Stat": "None",
                    "SkillDataID": "00000000-0000-0000-0000-000000000000",
                    "ClassID": "00000000-0000-0000-0000-000000000000",
                    "MultiplyBy": 1,
                    "Operator": "Add"
                },
                "KeywordsIDs": [],
                "DurationType": "UseDurationTimeUnadjusted",
                "Duration": 6,
                "MaxStackQuantity": 0,
                "ApplicationBehavior": "UseLongerDurationIfAlreadyApplied",
                "ApplicationType": "ApplyOnStart",
                "IntervalRateID": "00000000-0000-0000-0000-000000000000",
                "StackedChildrenApplyEffects": "false",
                "InclusionConditions": {
                    "Operator": 0,
                    "Components": []
                },
                "ApplicationPrerequisites": {
                    "Conditional": {
                        "Operator": 0,
                        "Components": []
                    }
                },
                "TriggerAdjustment": {
                    "TriggerOnEvent": "None",
                    "TriggerOffEvent": "None",
                    "ValidateWithAttackFilter": "false",
                    "ParamValue": 0,
                    "ValueAdjustment": 0,
                    "DurationAdjustment": 0,
                    "ResetTriggerOnEffectTimeout": "false",
                    "MaxTriggerCount": 0,
                    "IgnoreMaxTriggerCount": "false",
                    "RemoveEffectAtMax": "false",
                    "ChanceToTrigger": 1
                },
                "PowerLevelScaling": {
                    "UseCharacterLevel": "false",
                    "BaseLevel": 0,
                    "LevelIncrement": 1,
                    "MaxLevel": 0,
                    "ValueAdjustment": 0,
                    "DurationAdjustment": 0
                },
                "IsHostile": "true",
                "ClearOnCombatEnd": "false",
                "ClearOnRest": "true",
                "ClearOnFoodRest": "false",
                "ClearWhenAttacks": "false",
                "ClearOnDeath": "false",
                "HideFromCombatTooltip": "false",
                "HideFromCombatLog": "false",
                "HideFromUI": "false",
                "HideIfNoValue": "false",
                "VisualEffects": [],
                "MaterialReplacementID": "00000000-0000-0000-0000-000000000000",
                "AttackFilter": {
                    "KeywordsIDs": [],
                    "KeywordLogic": "Or",
                    "Race": "None",
                    "IsKith": "false",
                    "HealthPercentage": 0,
                    "HealthOperator": "EqualTo",
                    "Range": "None",
                    "ClassTypeID": "00000000-0000-0000-0000-000000000000",
                    "Source": "None",
                    "DefendedBy": "None",
                    "Empowered": "false",
                    "Disengagement": "false",
                    "Stealthed": "false",
                    "UseStealthLinger": "false",
                    "PowerLevel": 0,
                    "PowerLevelOperator": "EqualTo",
                    "ChanceToApply": 1,
                    "AttackHostility": "Default",
                    "TargetType": "None"
                },
                "AttackTargetFilter": {
                    "KeywordsIDs": [],
                    "KeywordLogic": "Or",
                    "Race": "None",
                    "IsKith": "false",
                    "HealthPercentage": 0,
                    "HealthOperator": "EqualTo",
                    "Distance": 0,
                    "DistanceOperator": "EqualTo",
                    "HasDOT": "false",
                    "IsMarked": "false",
                    "TargetHostility": "Default"
                },
                "ExtraValue": 0,
                "OverridePenetration": 0,
                "DamageTypeValue": "All",
                "KeywordValueID": "00000000-0000-0000-0000-000000000000",
                "RaceValue": "None",
                "StatusEffectTypeValue": "None",
                "ItemValueID": "00000000-0000-0000-0000-000000000000",
                "AfflictionTypeValueID": "00000000-0000-0000-0000-000000000000",
                "StatusEffectsValueIDs": [],
                "AttackValueID": "00000000-0000-0000-0000-000000000000",
                "AttackOverrideValue": "None",
                "EventValue": "OnApply",
                "ClassValueID": "00000000-0000-0000-0000-000000000000",
                "WeaponTypeValue": "None",
                "AttackHitType": "None",
                "SkillValueID": "00000000-0000-0000-0000-000000000000",
                "AudioEventListID": "00000000-0000-0000-0000-000000000000",
                "BedRestDaysMinimum": 0,
                "BedRestDaysMaximum": 0
            }]
        },
        {
            "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice_SE_AddResource_Tier1",
            "ID": "b7fd3885-1128-4756-b0a2-3547cae4fd86",
            "Components": [{
                "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp",
                "ExtraValue": 2
            }]
        }, {
            "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice_SE_AddResource_Tier2",
            "ID": "7b116f6f-ac25-4b31-a606-16942f137f13",
            "Components": [{
                "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp",
                "ExtraValue": 5
            }]
        }, {
            "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice_SE_AddResource_Tier3",
            "ID": "10d3b644-5100-4c20-a28d-3b92c913436f",
            "Components": [{
                "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp",
                "ExtraValue": 8
            }]
        }
	]
}

Do I just delete the part with NoHealing?

{
            "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp",
            "DebugName": "Blood_Sacrifice_SE_NoHealing",
            "ID": "74c5cfc3-31f3-4e9d-a158-1faa8879eb87",
            "Components": [{
                "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp",
                "StatusEffectType": "BonusHealMult",
                "OverrideDescriptionString": -1,
                "OverrideDescriptionStringTactical": -1,
                "UseStatusEffectValueAs": "None",
                "BaseValue": 0,
                "DynamicValue": {
                    "Stat": "None",
                    "SkillDataID": "00000000-0000-0000-0000-000000000000",
                    "ClassID": "00000000-0000-0000-0000-000000000000",
                    "MultiplyBy": 1,
                    "Operator": "Add"
                },
                "KeywordsIDs": [],
                "DurationType": "UseDurationTimeUnadjusted",
                "Duration": 6,
                "MaxStackQuantity": 0,
                "ApplicationBehavior": "UseLongerDurationIfAlreadyApplied",
                "ApplicationType": "ApplyOnStart",
                "IntervalRateID": "00000000-0000-0000-0000-000000000000",
                "StackedChildrenApplyEffects": "false",
                "InclusionConditions": {
                    "Operator": 0,
                    "Components": []
                },
                "ApplicationPrerequisites": {
                    "Conditional": {
                        "Operator": 0,
                        "Components": []
                    }
                },
                "TriggerAdjustment": {
                    "TriggerOnEvent": "None",
                    "TriggerOffEvent": "None",
                    "ValidateWithAttackFilter": "false",
                    "ParamValue": 0,
                    "ValueAdjustment": 0,
                    "DurationAdjustment": 0,
                    "ResetTriggerOnEffectTimeout": "false",
                    "MaxTriggerCount": 0,
                    "IgnoreMaxTriggerCount": "false",
                    "RemoveEffectAtMax": "false",
                    "ChanceToTrigger": 1
                },
                "PowerLevelScaling": {
                    "UseCharacterLevel": "false",
                    "BaseLevel": 0,
                    "LevelIncrement": 1,
                    "MaxLevel": 0,
                    "ValueAdjustment": 0,
                    "DurationAdjustment": 0
                },
                "IsHostile": "true",
                "ClearOnCombatEnd": "false",
                "ClearOnRest": "true",
                "ClearOnFoodRest": "false",
                "ClearWhenAttacks": "false",
                "ClearOnDeath": "false",
                "HideFromCombatTooltip": "false",
                "HideFromCombatLog": "false",
                "HideFromUI": "false",
                "HideIfNoValue": "false",
                "VisualEffects": [],
                "MaterialReplacementID": "00000000-0000-0000-0000-000000000000",
                "AttackFilter": {
                    "KeywordsIDs": [],
                    "KeywordLogic": "Or",
                    "Race": "None",
                    "IsKith": "false",
                    "HealthPercentage": 0,
                    "HealthOperator": "EqualTo",
                    "Range": "None",
                    "ClassTypeID": "00000000-0000-0000-0000-000000000000",
                    "Source": "None",
                    "DefendedBy": "None",
                    "Empowered": "false",
                    "Disengagement": "false",
                    "Stealthed": "false",
                    "UseStealthLinger": "false",
                    "PowerLevel": 0,
                    "PowerLevelOperator": "EqualTo",
                    "ChanceToApply": 1,
                    "AttackHostility": "Default",
                    "TargetType": "None"
                },
                "AttackTargetFilter": {
                    "KeywordsIDs": [],
                    "KeywordLogic": "Or",
                    "Race": "None",
                    "IsKith": "false",
                    "HealthPercentage": 0,
                    "HealthOperator": "EqualTo",
                    "Distance": 0,
                    "DistanceOperator": "EqualTo",
                    "HasDOT": "false",
                    "IsMarked": "false",
                    "TargetHostility": "Default"
                },
                "ExtraValue": 0,
                "OverridePenetration": 0,
                "DamageTypeValue": "All",
                "KeywordValueID": "00000000-0000-0000-0000-000000000000",
                "RaceValue": "None",
                "StatusEffectTypeValue": "None",
                "ItemValueID": "00000000-0000-0000-0000-000000000000",
                "AfflictionTypeValueID": "00000000-0000-0000-0000-000000000000",
                "StatusEffectsValueIDs": [],
                "AttackValueID": "00000000-0000-0000-0000-000000000000",
                "AttackOverrideValue": "None",
                "EventValue": "OnApply",
                "ClassValueID": "00000000-0000-0000-0000-000000000000",
                "WeaponTypeValue": "None",
                "AttackHitType": "None",
                "SkillValueID": "00000000-0000-0000-0000-000000000000",
                "AudioEventListID": "00000000-0000-0000-0000-000000000000",
                "BedRestDaysMinimum": 0,
                "BedRestDaysMaximum": 0
            }]

Or do I need to do something else?

Edited by SirMirrorcoat
Link to comment
Share on other sites

If you delete the "Blood_Sacrifice_SE_NoHealing" object, its ID

"74c5cfc3-31f3-4e9d-a158-1faa8879eb87"

would still be referenced by the StatusEffectsIDs array in "Blood_Sacrifice". You want to remove that reference.
(You could even keep the "Blood_Sacrifice_SE_NoHealing" object afterwards, since it would no long be referenced by anything.)

Change this part in Blood_Sacrifice from...

"StatusEffectsIDs": ["ff9d484e-abc4-4b18-88f9-49efbb654a9f","74c5cfc3-31f3-4e9d-a158-1faa8879eb87"]

To...

"StatusEffectsIDs": ["ff9d484e-abc4-4b18-88f9-49efbb654a9f"]

 

Link to comment
Share on other sites

  • SirMirrorcoat changed the title to [solved] Editing Deadfire Balance Polishing Mod's Blood Sacrifice -100% Healing Received?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...