From c2425925409a705be6fc703674f6e25c22d33852 Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Thu, 23 Mar 2023 03:24:07 +0000 Subject: [PATCH] Updated Project Config for Build --- COMP250_1_2101327_AI/Config/DefaultGame.ini | 5 ++++- .../Source/COMP250_1_2101327_AI/GOAP/Actions/COMBO_IIA.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/COMP250_1_2101327_AI/Config/DefaultGame.ini b/COMP250_1_2101327_AI/Config/DefaultGame.ini index 1a295f6..6e15687 100644 --- a/COMP250_1_2101327_AI/Config/DefaultGame.ini +++ b/COMP250_1_2101327_AI/Config/DefaultGame.ini @@ -1,7 +1,10 @@ [/Script/EngineSettings.GeneralProjectSettings] ProjectID=CA4DE73F4A541B9D65E00FBDD59447AA -ProjectName=Third Person Game Template +ProjectName=COMP250_AI +ProjectDisplayedTitle=NSLOCTEXT("[/Script/EngineSettings]", "AA53D7724B6FAF571FF943AC298C6AC4", "COMP250_AI") +Description=GOAP AI in Turn Based Combat [StartupActions] bAddPacks=True InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent") + diff --git a/COMP250_1_2101327_AI/Source/COMP250_1_2101327_AI/GOAP/Actions/COMBO_IIA.cpp b/COMP250_1_2101327_AI/Source/COMP250_1_2101327_AI/GOAP/Actions/COMBO_IIA.cpp index a0bf03d..c248a5a 100644 --- a/COMP250_1_2101327_AI/Source/COMP250_1_2101327_AI/GOAP/Actions/COMBO_IIA.cpp +++ b/COMP250_1_2101327_AI/Source/COMP250_1_2101327_AI/GOAP/Actions/COMBO_IIA.cpp @@ -10,7 +10,7 @@ void UCOMBO_IIA::Init() PreConditions.Add("AzosResource", 1); PreConditions.Add("IroquoidResource", 2); PreConditions.Add("EnemyHealth", 50); - Effects.Add("EnemyHealth", -10); + Effects.Add("EnemyHealth", -15); Effects.Add("AzosResource", 1); Effects.Add("IroquoidResource", 2); }