From dd66c18b4566db896e329c665c9063c77f86b20f Mon Sep 17 00:00:00 2001 From: Henning Waberg Date: Mon, 5 Nov 2018 23:35:09 +0100 Subject: [PATCH] Fix irregular --- .gitignore | 1 + RPG/Src/XCOM2RPGOverhaul/Classes/X2Ability_Aptitudes.uc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..622395b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.v12.XCOM_suo diff --git a/RPG/Src/XCOM2RPGOverhaul/Classes/X2Ability_Aptitudes.uc b/RPG/Src/XCOM2RPGOverhaul/Classes/X2Ability_Aptitudes.uc index 259804f..7b94ac1 100644 --- a/RPG/Src/XCOM2RPGOverhaul/Classes/X2Ability_Aptitudes.uc +++ b/RPG/Src/XCOM2RPGOverhaul/Classes/X2Ability_Aptitudes.uc @@ -633,7 +633,7 @@ static function X2AbilityTemplate Irregular() StealthEffect.BuildPersistentEffect(1, true, true, false, eGameRule_PlayerTurnBegin); StealthEffect.bRemoveWhenTargetConcealmentBroken = true; - Template = SelfTargetTrigger('APT_Irregular', "img:///UILibrary_XPACK_Common.PerkIcons.UIPerk_vanish", false, StealthEffect, 'PlayerTurnBegun'); + Template = SelfTargetTrigger('APT_Irregular', "img:///UILibrary_XPACK_Common.PerkIcons.UIPerk_vanish", false, StealthEffect, 'PlayerTurnBegun', eFilter_Player); AddIconPassive(Template); Template.AbilityShooterConditions.AddItem(new class'X2Condition_Stealth');