Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base game passives expire when the soldiers goes into bleedout #1439

Open
LordAbizi opened this issue Jan 1, 2025 · 3 comments
Open

Base game passives expire when the soldiers goes into bleedout #1439

LordAbizi opened this issue Jan 1, 2025 · 3 comments

Comments

@LordAbizi
Copy link

Some base game abilities that grant passive abilities expire when the goes into bleedout.
One example is Squadsight:

Squadsight = new class'X2Effect_Squadsight';
	Squadsight.BuildPersistentEffect(1, true, true, true);
	Squadsight.SetDisplayInfo(ePerkBuff_Passive, Template.LocFriendlyName, Template.GetMyLongDescription(), Template.IconImage,,,Template.AbilitySourceName);
	Template.AddTargetEffect(Squadsight);

The third truth in the build persistent effect means the abiltiy s removed when source dies, but this also applies to bleed outs.
LWOTC fixes it and some other abilities:
Holotargeting, Volatile Mix, and Deadshot (the sharpshooter GTS unlock).

@faanlez
Copy link

faanlez commented Jan 1, 2025

Logged all infinite duration effects that get removed when source or target dies or goes into bleedout (obviously some of these are intentional but didn't want to start cutting down the list on my own):

X2Effect_TrackingShotMarkTarget 'TrackingShotMarkTargetEffect' on ability: 'TrackingShotMark'
X2Effect_Dazed 'Dazed' on ability: 'LethalDose'
X2Effect_Dazed 'Dazed' on ability: 'LethalDose'
X2Effect_Persistent 'Unconscious' on ability: 'MedikitStabilize'
X2Effect_Persistent 'Unconscious' on ability: 'Knockout'
X2Effect_Persistent 'Unconscious' on ability: 'KnockoutSelf'
X2Effect_PersistentStatChange 'ShadowPassive' on ability: 'ShadowPassive'
X2Effect_AdditionalAnimSets 'ShadowAnims' on ability: 'ShadowPassive'
X2Effect_Shadow 'Shadow' on ability: 'Shadow'
X2Effect_PersistentStatChange 'Shadow' on ability: 'Shadow'
X2Effect_AdditionalAnimSets 'ShadowAnims' on ability: 'Shadow'
X2Effect_Shadow 'Shadow' on ability: 'DistractionShadow'
X2Effect_PersistentStatChange 'DistractionShadow' on ability: 'DistractionShadow'
X2Effect_AdditionalAnimSets 'ShadowAnims' on ability: 'DistractionShadow'
X2Effect_Stunned 'Stunned' on ability: 'Rend'
X2Effect_Stunned 'Stunned' on ability: 'ArcWave'
X2Effect_Amplify 'AmplifyTarget' on ability: 'Amplify'
X2Effect_SpawnGhost 'TemplarGhost' on ability: 'Ghost'
X2Effect_PersistentVoidConduit 'VoidConduit' on ability: 'VoidConduit'
X2Effect_PersistentStatChange 'Bind' on ability: 'Bind'
X2Effect_ViperBindSustained 'BindSustainedEffect' on ability: 'Bind'
X2Effect_DamageImmunity 'SectopodInitialState' on ability: 'SectopodInitialState'
X2Effect_Squadsight 'Squadsight' on ability: 'Squadsight'
X2Effect_ToHitModifier 'HitWhereItHurts' on ability: 'HitWhereItHurts'
X2Effect_BiggestBooms 'BiggestBooms' on ability: 'BiggestBooms'
X2Effect_Persistent 'HoloTargeting' on ability: 'HoloTargeting'
X2Effect_VolatileMix 'VolatileMix' on ability: 'VolatileMix'
X2Effect_Persistent 'BeingCarried' on ability: 'CarryUnit'
X2Effect_DamageImmunity 'CodexImmunities' on ability: 'CodexImmunities'
X2Effect_DamageImmunity 'RobotImmunities' on ability: 'RobotImmunities'
X2Effect_Sustain 'Sustain' on ability: 'Sustain'
X2Effect_MindControl 'MindControl' on ability: 'Domination'
X2Effect_PersistentStatChange 'HolyWarriorEffect' on ability: 'HolyWarriorM1'
X2Effect_PersistentStatChange 'HolyWarriorEffect' on ability: 'HolyWarriorM2'
X2Effect_PersistentStatChange 'HolyWarriorEffect' on ability: 'HolyWarriorM3'
X2Effect_PersistentStatChange 'HolyWarriorEffect' on ability: 'HolyWarriorMP'
X2Effect_Regeneration 'Regeneration' on ability: 'AvatarInitialization'
X2Effect_DamageImmunity 'AvatarDamageImmunities' on ability: 'AvatarInitialization'
X2Effect_DamageImmunity 'AndromedonRobotImmunities' on ability: 'AndromedonRobotImmunities'
X2Effect_PersistentStatChange 'RageTriggered' on ability: 'TriggerRage'
X2Effect_MeleeDamageAdjust 'MeleeResistance' on ability: 'MeleeResistance'
X2Effect_Stunned 'Stunned' on ability: 'ImpairingAbility'
X2Effect_Persistent 'Unconscious' on ability: 'ImpairingAbility'
X2Effect_ChryssalidCocoonGestationStage3 'GestationEffect_Stage3' on ability: 'CocoonGestationTimeStage3'
X2Effect_ChosenKeen 'ChosenKeen' on ability: 'ChosenKeen'
X2Effect_Sustain 'ChosenDefeatedSustain' on ability: 'ChosenDefeatedSustain'
X2Effect_DamageImmunity 'ChosenImmunePsi' on ability: 'ChosenImmunePsi'
X2Effect_BlastShield 'BlastShield' on ability: 'BlastShield'
X2Effect_DamageImmunity 'ChosenImmuneMelee' on ability: 'ChosenImmuneMelee'
X2Effect_DamageImmunity 'ChosenImmuneEnvironmental' on ability: 'ChosenImmuneEnvironmental'
X2Effect_Regeneration 'Regeneration' on ability: 'ChosenRegenerate'
X2Effect_Persistent 'ChosenHoloTargeting' on ability: 'ChosenHoloTargeting'
X2Effect_Dazed 'Dazed' on ability: 'PartingSilk'
X2Effect_Dazed 'Dazed' on ability: 'MindScorch'
X2Effect_Dazed 'Dazed' on ability: 'MindScorch'
X2Effect_Persistent 'SpectralArmyLink' on ability: 'SpectralArmyLink'
X2Effect_Dazed 'Dazed' on ability: 'SpectralArmyImpairingAbility'
X2Effect_Dazed 'Dazed' on ability: 'SpectralArmyImpairingAbility'
X2Effect_SpawnPsiZombie_ZDCW 'SpawnZombieEffect' on ability: 'PsiReanimation'
X2Effect_DamageImmunity 'ZombieInitialization' on ability: 'ZombieInitialization'
X2Effect_SpawnPsiZombie_ZDCW 'SpawnZombieEffect' on ability: 'PsiReanimationMP'
X2Effect_DamageImmunity 'ChryssalidImmunities' on ability: 'ChryssalidImmunities'
X2Effect_Panicked 'Panicked' on ability: 'CivilianInitialState'
X2Effect_ModifyReactionFire 'CoolUnderPressure' on ability: 'CoolUnderPressure'
X2Effect_Persistent 'Unconscious' on ability: 'GremlinStabilize'
X2Effect_Regeneration 'Regeneration' on ability: 'FacelessInit'
X2Effect_Regeneration 'Regeneration' on ability: 'FacelessInitMP'
X2Effect_GatekeeperClosed 'GatekeeperClosedEffect' on ability: 'GatekeeperInitialState'
X2Effect_DamageImmunity 'GatekeeperDamageImmunityEffect' on ability: 'GatekeeperInitialState'
X2Effect_GatekeeperClosed 'GatekeeperClosedEffect' on ability: 'GatekeeperClose'
X2Effect_GatekeeperClosed 'GatekeeperClosedEffect' on ability: 'GatekeeperCloseMoveBegin'
X2Effect_GatekeeperClosed 'GatekeeperClosedEffect' on ability: 'Retract'
X2Effect_Stunned 'Stunned' on ability: 'HackRewardShutdownRobot'
X2Effect_Stunned 'Stunned' on ability: 'HackRewardShutdownTurret'
X2Effect_Squadsight 'Squadsight' on ability: 'IntegratedComms'
X2Effect_RangerStealth 'RangerStealth' on ability: 'DisguisedSignals'
X2Effect_DamageImmunity 'Override' on ability: 'Override'
X2Effect_RangerStealth 'RangerStealth' on ability: 'Stealth'
X2Effect_HuntersInstinctDamage 'HuntersInstinct' on ability: 'HuntersInstinct'
X2Effect_Regeneration 'Regeneration' on ability: 'StasisVestBonus'
X2Effect_RangerStealth 'RangerStealth' on ability: 'RefractionFieldAbility'
X2Effect_SustainingSphere 'SustainingSphere' on ability: 'SustainingSphereAbility'
X2Effect_PersistentStatChange 'LowVisibility' on ability: 'LowVisibility'
X2Effect_RangerStealth 'RangerStealth' on ability: 'SitRepStealth'
X2Effect_Persistent 'Unconscious' on ability: 'Shadowbind'
X2Effect_Persistent 'Unconscious' on ability: 'ShadowbindM2'
X2Effect_Persistent 'Unconscious' on ability: 'ShadowbindMP'
X2Effect_Stunned 'Stunned' on ability: 'StunImpairingAbility'
X2Effect_Persistent 'Unconscious' on ability: 'StunImpairingAbility'
X2Effect_MeleeDamageAdjust 'VulnerabilityMelee' on ability: 'VulnerabilityMelee'
X2Effect_BonusWeaponDamage 'WeaponTechBreakthroughBonus' on ability: 'WeaponTechBreakthroughBonus'
X2Effect_BonusWeaponDamage 'WeaponTypeBreakthroughBonus' on ability: 'WeaponTypeBreakthroughBonus'
X2Effect_LethalWeaponDamage 'BetweenTheEyes' on ability: 'BetweenTheEyes'
X2Effect_Stunned 'TacticalAnalysis' on ability: 'TacticalAnalysis'
X2Effect_Sustained 'IcarusDropGrabbeeEffect_Sustained' on ability: 'IcarusDropGrab'
X2Effect_DamageImmunity 'RulerImmunity' on ability: 'AlienRulerInitialState'
X2Effect_PersistentStatChange 'Bind' on ability: 'ViperNeonateBindAbility'
X2Effect_ViperBindSustained 'BindSustainedEffect' on ability: 'ViperNeonateBindAbility'
X2Effect_PersistentTraversalChange 'JumpUpEffect' on ability: 'VaultAbility'
X2Effect_PersistentStatChange 'Bind' on ability: 'KingBind'
X2Effect_ViperBindSustained 'KingBindSustainedEffect' on ability: 'KingBind'
X2Effect_Persistent 'Unconscious' on ability: 'KingBindSustained'
X2Effect_Persistent 'Unconscious' on ability: 'GremlinStabilize_Shen'
X2Effect_GenerateCover 'GenerateCover' on ability: 'Bulwark'

@BlackDog86
Copy link
Contributor

BlackDog86 commented Jan 1, 2025

First attempt:

SHADOW:
X2Effect_PersistentStatChange 'ShadowPassive' on ability: 'ShadowPassive'
X2Effect_AdditionalAnimSets 'ShadowAnims' on ability: 'ShadowPassive'
X2Effect_Shadow 'Shadow' on ability: 'Shadow'
X2Effect_PersistentStatChange 'Shadow' on ability: 'Shadow'
X2Effect_AdditionalAnimSets 'ShadowAnims' on ability: 'Shadow'
X2Effect_Shadow 'Shadow' on ability: 'DistractionShadow'
X2Effect_PersistentStatChange 'DistractionShadow' on ability: 'DistractionShadow'
X2Effect_AdditionalAnimSets 'ShadowAnims' on ability: 'DistractionShadow'

PHANTOM:
X2Effect_RangerStealth 'RangerStealth' on ability: 'Stealth'
X2Effect_RangerStealth 'RangerStealth' on ability: 'RefractionFieldAbility'
X2Effect_RangerStealth 'RangerStealth' on ability: 'SitRepStealth'
X2Effect_RangerStealth 'RangerStealth' on ability: 'DisguisedSignals'

SQUADSIGHT:
X2Effect_Squadsight 'Squadsight' on ability: 'Squadsight'
X2Effect_Squadsight 'Squadsight' on ability: 'IntegratedComms'

PERKS:
X2Effect_ToHitModifier 'HitWhereItHurts' on ability: 'HitWhereItHurts'
X2Effect_BiggestBooms 'BiggestBooms' on ability: 'BiggestBooms'
X2Effect_Persistent 'HoloTargeting' on ability: 'HoloTargeting'
X2Effect_VolatileMix 'VolatileMix' on ability: 'VolatileMix'
X2Effect_ModifyReactionFire 'CoolUnderPressure' on ability: 'CoolUnderPressure'
X2Effect_BlastShield 'BlastShield' on ability: 'BlastShield'

ITEMS / MISC:
X2Effect_MeleeDamageAdjust 'MeleeResistance' on ability: 'MeleeResistance'
X2Effect_MeleeDamageAdjust 'VulnerabilityMelee' on ability: 'VulnerabilityMelee'
X2Effect_DamageImmunity 'Override' on ability: 'Override'
X2Effect_PersistentStatChange 'LowVisibility' on ability: 'LowVisibility'
X2Effect_BonusWeaponDamage 'WeaponTechBreakthroughBonus' on ability: 'WeaponTechBreakthroughBonus'
X2Effect_BonusWeaponDamage 'WeaponTypeBreakthroughBonus' on ability: 'WeaponTypeBreakthroughBonus'
X2Effect_Regeneration 'Regeneration' on ability: 'StasisVestBonus'
X2Effect_LethalWeaponDamage 'BetweenTheEyes' on ability: 'BetweenTheEyes

These seem to be the main ones which could cause some effect for units that have been revived - I don't think I'd be that bothered about holotargeting getting removed on bleedout to be fair but there are quite a few xcom perks in that list which you wouldn't expect to disappear if you revive a bled out unit.

@faanlez
Copy link

faanlez commented Jan 2, 2025

That Holotargeting is the passive icon on your soldier, not the target effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants