Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNiceUK committed May 31, 2019
1 parent d4912be commit afe8e1d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,8 @@ static function X2AbilityTemplate CreateBendingReed(name TemplateName = 'Bending
Template.AddShooterEffect(ActionPointEffect);

MobilityIncrease = new class'X2Effect_PersistentStatChange';
MobilityIncrease.BuildPersistentEffect(1, false, true);
// Single line change for #531. eGameRule_PlayerTurnEnd used not eGameRule_PlayerTurnBegin so that the normal mobility is shown by mods which can show enemy stats. Because of this bIgnorePlayerCheckOnTick also set to gurantee never starts a turn with this active, somehow!
MobilityIncrease.BuildPersistentEffect(1, false, true, true, eGameRule_PlayerTurnEnd);
MobilityIncrease.AddPersistentStatChange(eStat_Mobility, default.BENDINGREED_MOBILITY_INCREASE, MODOP_Multiplication);
Template.AddShooterEffect(MobilityIncrease);

Expand Down

0 comments on commit afe8e1d

Please sign in to comment.