Skip to content

Commit

Permalink
Added X2Effect_Pillar to CHL
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDog86 committed Dec 19, 2023
1 parent 7858d92 commit 73b17a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions X2WOTCCommunityHighlander/Src/XComGame/Classes/X2Effect_Pillar.uc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class X2Effect_Pillar extends X2Effect_SpawnDestructible;

function int GetStartingNumTurns(const out EffectAppliedData ApplyEffectParameters)
{
local XComGameState_Unit SourceUnit;

SourceUnit = XComGameState_Unit(`XCOMHISTORY.GetGameStateForObjectID(ApplyEffectParameters.SourceStateObjectRef.ObjectID));
return SourceUnit.GetTemplarFocusLevel();
}

DefaultProperties
{
EffectName = "Pillar"
DuplicateResponse = eDupe_Allow
bDestroyOnRemoval = true
}

0 comments on commit 73b17a0

Please sign in to comment.