Closed Senior-Sam61 closed 2 years ago
I believe you'll want to replace "Merge" with "Replace"
and in your components I think you'll need:
{
"$type": "bdbdc2afaa197d4479e112a32f9bdab5, AddInitiatorAttackWithWeaponTrigger",
"name": "$AddInitiatorAttackWithWeaponTrigger$f798bc3d-4a60-47fd-ac63-ccf55e5ba994",
"m_Overrides": [],
"WaitForAttackResolve": false,
"OnlyHit": true,
"OnMiss": false,
"OnlyOnFullAttack": false,
"OnlyOnFirstAttack": false,
"OnlyOnFirstHit": false,
"CriticalHit": true,
"OnAttackOfOpportunity": false,
"NotCriticalHit": false,
"OnlySneakAttack": false,
"NotSneakAttack": false,
"m_WeaponType": null,
"CheckWeaponCategory": false,
"Category": "UnarmedStrike",
"CheckWeaponGroup": false,
"Group": "None",
"CheckWeaponRangeType": false,
"RangeType": "Melee",
"ActionsOnInitiator": false,
"ReduceHPToZero": false,
"CheckDistance": false,
"DistanceLessEqual": {
"m_Value": 0.0
},
"AllNaturalAndUnarmed": false,
"DuelistWeapon": false,
"NotExtraAttack": false,
"OnCharge": false,
"Action": {
"Actions": [
{
"$type": "2f9cfff2340b8c344ab4fd92c2eb61f2, ContextActionCastSpell",
"name": "$ContextActionCastSpell$98066609-1b18-4e85-a0c4-8dccb79f0988",
"m_Spell": "!bp_006ce4b5ffe7e374ca1d3cadc3670551",
"OverrideDC": false,
"DC": {
"ValueType": "Simple",
"Value": 0,
"ValueRank": "Default",
"ValueShared": "Damage",
"Property": "None",
"m_CustomProperty": null
},
"OverrideSpellLevel": false,
"SpellLevel": {
"ValueType": "Simple",
"Value": 0,
"ValueRank": "Default",
"ValueShared": "Damage",
"Property": "None",
"m_CustomProperty": null
},
"CastByTarget": false
}
]
}
},
So I did what you said FrozenDervish but I am still not able to build the patch. Here is what my build log said.
[11/28/2021 2:06:49 PM] Progress Tracker Started.
[11/28/2021 2:06:49 PM] 0 Running Task: 'Switch To Build Platform'
[11/28/2021 2:06:49 PM] 0.04761905 Running Task: 'Prepare Build'
[11/28/2021 2:06:49 PM] 0.0952381 Running Task: 'Build Assemblies'
[11/28/2021 2:07:32 PM] 0.1428571 Running Task: 'Prepare Blueprints'
[11/28/2021 2:07:32 PM] 0.1904762 Running Task: 'Extract Blueprint Direct References'
Build Task ExtractBlueprintDirectReferences failed with exception:
Unexpected end of content while loading JObject. Path '_#Entries[0].Components[0]', line 67, position 6.
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings options) [0x00061] in <6ed58f18a9874acf98993fe045f7378d>:0
at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x0006a] in <6ed58f18a9874acf98993fe045f7378d>:0
at Newtonsoft.Json.Linq.JObject.Parse (System.String json, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x0000c] in <6ed58f18a9874acf98993fe045f7378d>:0
at Newtonsoft.Json.Linq.JObject.Parse (System.String json) [0x00000] in <6ed58f18a9874acf98993fe045f7378d>:0
at OwlcatModification.Editor.Build.Tasks.ExtractBlueprintDirectReferences.Run () [0x000ac] in E:\Games\mods\Pathfinder Wrath of the Righteous\WrathModificationTemplate-master\Assets\Editor\Build\Tasks\ExtractBlueprintDirectReferences.cs:56
at UnityEditor.Build.Pipeline.BuildTasksRunner.Run (System.Collections.Generic.IList`1[T] pipeline, UnityEditor.Build.Pipeline.Interfaces.IBuildContext context) [0x000ca] in E:\Games\mods\Pathfinder Wrath of the Righteous\WrathModificationTemplate-master\Library\PackageCache\com.unity.scriptablebuildpipeline@1.16.1\Editor\Shared\BuildTasksRunner.cs:56
UnityEditor.Build.Pipeline.BuildTasksRunner:Run (System.Collections.Generic.IList`1<UnityEditor.Build.Pipeline.Interfaces.IBuildTask>,UnityEditor.Build.Pipeline.Interfaces.IBuildContext)
OwlcatModification.Editor.Build.Builder:RunTasks (System.Collections.Generic.IList`1<UnityEditor.Build.Pipeline.Interfaces.IBuildTask>,UnityEditor.Build.Pipeline.Interfaces.IBuildContext) (at Assets/Editor/Build/Builder.cs:127)
OwlcatModification.Editor.Build.Builder:BuildInternal (Kingmaker.Modding.OwlcatModificationManifest,OwlcatModification.Editor.Modification/SettingsData,string,string,UnityEditor.Build.Pipeline.Interfaces.IContextObject[]) (at Assets/Editor/Build/Builder.cs:111)
OwlcatModification.Editor.Build.Builder:Build (Kingmaker.Modding.OwlcatModificationManifest,OwlcatModification.Editor.Modification/SettingsData,string,string,UnityEditor.Build.Pipeline.Interfaces.IContextObject[]) (at Assets/Editor/Build/Builder.cs:40)
OwlcatModification.Editor.Build.Builder:Build (OwlcatModification.Editor.Modification) (at Assets/Editor/Build/Builder.cs:23)
OwlcatModification.Editor.ToolsMenu:Build () (at Assets/Editor/ToolsMenu.cs:111)
I also removed the , end the very end of the patch and the build log said the same thing
If the Mod isn't building, you've got an outright error in your formatting somewhere.
Unexpected end of content while loading JObject. Path '_#Entries[0].Components[0]', line 67, position 6.
This is telling you exactly what it is and where it is. Unexpected end of content usually means you've left something open i.e. you're missing a } or ] somewhere.
ok so I was able to build the patch but now the holy blare ability is making everyone make a will save on crits instead of just evil characters, so I think the ability itself is bugged. Thank you both for the help though.
Hi, could someone help me patch HolyBlareEnchantment to reference the correct ability HolyBlareAbility. Currently the enchantment has HeartOfIcebergAbility.
This is currently what I have: