Skip to content

Commit

Permalink
Change Exoskeleton Servos
Browse files Browse the repository at this point in the history
  • Loading branch information
Grobobobo committed Sep 17, 2021
1 parent 6d4b82c commit 6be7bb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions LongWarOfTheChosen/Localization/XComGame.int
Original file line number Diff line number Diff line change
Expand Up @@ -8316,8 +8316,8 @@ LocPromotionPopupText="This unit's mobility cannot go below <Ability:UNSTOPPABLE

[ExoskeletonServos X2AbilityTemplate]
LocFriendlyName="Exoskeleton Servos"
LocLongDescription="At the start of the mission, This unit's mobility becomes set to 14, and can't be affected by any mobility buffs or debuffs."
LocHelpText="At the start of the mission, This unit's mobility becomes set to 14, and can't be affected by any mobility buffs or debuffs."
LocLongDescription="This Unit's mobility cannot go below 14."
LocHelpText="This Unit's mobility cannot go below 14."
LocFlyOverText="Exoskeleton Servos"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ static function EventListenerReturn AbilityTriggerEventListener_HighVolumeFire(
static function X2AbilityTemplate CreateExoskeletonServos()
{
local X2AbilityTemplate Template;
local X2Effect_ExoskeletonServos UnstoppableEffect;
local X2Effect_Unstoppable UnstoppableEffect;

`CREATE_X2ABILITY_TEMPLATE(Template, 'ExoskeletonServos');
Template.IconImage = "img:///UILibrary_XPerkIconPack.UIPerk_move_blaze";
Expand All @@ -2094,11 +2094,11 @@ static function X2AbilityTemplate CreateExoskeletonServos()
Template.AbilityTriggers.AddItem(default.UnitPostBeginPlayTrigger);


UnstoppableEffect = new class'X2Effect_ExoskeletonServos';
UnstoppableEffect.BuildPersistentEffect(1, false, true,, eGameRule_PlayerTurnBegin);
UnstoppableEffect.SetDisplayInfo(ePerkBuff_Bonus, Template.LocFriendlyName, Template.GetMyLongDescription(), Template.IconImage, false,, Template.AbilitySourceName);
UnstoppableEffect = new class'X2Effect_Unstoppable';
UnstoppableEffect.BuildPersistentEffect(1, true, true,, eGameRule_PlayerTurnBegin);
UnstoppableEffect.SetDisplayInfo(ePerkBuff_Bonus, Template.LocFriendlyName, Template.GetMyLongDescription(), Template.IconImage, true,, Template.AbilitySourceName);
UnstoppableEffect.AddStatCap(eStat_Mobility,default.EXO_SERVOS_MOB,true);
UnstoppableEffect.AddStatCap(eStat_Mobility,default.EXO_SERVOS_MOB,false);
//UnstoppableEffect.AddStatCap(eStat_Mobility,default.EXO_SERVOS_MOB,false);
Template.AddTargetEffect(UnstoppableEffect);


Expand Down

0 comments on commit 6be7bb2

Please sign in to comment.