Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ConFreeze.cs
Go to the documentation of this file.
1public class ConFreeze : Condition
2{
3 public override bool UseElements => true;
4
5 public override void OnChangePhase(int lastPhase, int newPhase)
6 {
7 switch (newPhase)
8 {
9 case 0:
10 elements.SetBase(79, -25);
11 break;
12 case 1:
13 elements.SetBase(79, -50);
14 break;
15 }
16 }
17}
ElementContainer elements
override bool UseElements
Definition: ConFreeze.cs:3
override void OnChangePhase(int lastPhase, int newPhase)
Definition: ConFreeze.cs:5
Element SetBase(string alias, int v, int potential=0)