Skip to content

Commit

Permalink
- Update to BT 1.9, CB 0.2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
IceRaptor committed Feb 24, 2020
1 parent 3a74022 commit 6b4e066
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CleverGirl/CleverGirl/Helper/AIHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ private static float CalculateWeaponDamageEV(CondensedWeapon cWeapon, BehaviorTr
float armorReduction = 0f;
foreach(AmmunitionBox aBox in cWeapon.First.ammoBoxes) {
//Mod.Log.Debug($" -- Checking ammo box defId: {aBox.mechComponentRef.ComponentDefID}");
if (aBox.ammoDef.Is.mechComponentRef.Def.Is<CleverGirlComponent>(out CleverGirlComponent cgComp) && cgComp.ArmorDamageReduction != 0) {
if (aBox.mechComponentRef.Def.Is<CleverGirlComponent>(out CleverGirlComponent cgComp) && cgComp.ArmorDamageReduction != 0) {
armorReduction = cgComp.ArmorDamageReduction;
}
}
Expand Down
4 changes: 2 additions & 2 deletions CleverGirl/CleverGirl/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.3.4.0")]
[assembly: AssemblyFileVersion("0.3.4.0")]
[assembly: AssemblyVersion("0.4.0.0")]
[assembly: AssemblyFileVersion("0.4.0.0")]
6 changes: 3 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"Name": "CleverGirl",
"Enabled": true,
"Version": "0.3.2",
"Description": "Provides nudges for the AI to improve its behavior",
"Version": "0.4.0",
"Description": "Provides little nudges for the AI",
"Author": "IceRaptor",
"Website": "https://github.com/IceRaptor/CleverGirl",
"Contact": "",
"DLL": "CleverGirl.dll",
"DependsOn" : [ "IRBTModUtils" ],
"OptionallyDependsOn" : [ "CustomAmmoCategories", "CustomComponents" ],
"Settings": {
"Debug" : true,
"Debug" : false,
"Trace" : false,
"Profile" : false,
"Weights" : {
Expand Down

0 comments on commit 6b4e066

Please sign in to comment.