|
override int | GetPhase () |
|
override void | OnStart () |
|
override void | Tick () |
|
override BaseNotification | CreateNotification () |
|
virtual void | OnStacked (int p) |
|
Condition | SetPerfume (int duration=3) |
|
override void | Tick () |
|
virtual void | OnCalculateFov (Fov fov, ref int radius, ref float power) |
|
virtual void | OnCreateFov (Fov fov) |
|
override void | OnValueChanged () |
|
void | Kill (bool silent=false) |
|
virtual bool | CanStack (Condition c) |
|
virtual bool | TryMove (Point p) |
|
void | SetElement (int id) |
|
void | SetRefVal (int a, int b) |
|
virtual Color | GetSpriteColor () |
|
override string | ToString () |
|
override string | GetText () |
|
override int | GetValue () |
|
override Color | GetColor (Gradient g) |
|
virtual void | SetOwner (Chara _owner, bool onDeserialize=false) |
|
SourceElement.Row | GetElementSource (int i) |
|
void | Start () |
|
bool | TryNullify (Condition c) |
|
virtual void | OnBeforeStart () |
|
virtual void | OnStart () |
|
virtual void | OnStartOrStack () |
|
virtual void | PlayEffect () |
|
virtual void | PlayEndEffect () |
|
virtual void | OnRefresh () |
|
void | SetPhase () |
|
bool | IsNullPhase () |
|
override int | GetPhase () |
|
void | PhaseMsg (bool inc) |
|
override string | GetPhaseStr () |
|
virtual void | Tick () |
|
void | Mod (int a, bool force=false) |
|
virtual void | OnValueChanged () |
|
virtual void | OnChangePhase (int lastPhase, int newPhase) |
|
virtual void | OnRemoved () |
|
virtual int | EvaluatePower (int p) |
|
virtual int | EvaluateTurn (int p) |
|
virtual BaseNotification | CreateNotification () |
|
Element | GetDefenseAttribute (Chara c=null) |
|
override void | _WriteNote (UINote n, bool asChild=false) |
|
virtual void | OnWriteNote (List< string > list) |
|
virtual RendererReplacer | GetRendererReplacer () |
|
virtual Color | GetColor (Gradient gradient) |
|
virtual Color | GetColor (SkinColorProfile c) |
|
Color | GetColor () |
|
virtual string | GetText () |
|
virtual string | GetPhaseStr () |
|
virtual int | GetValue () |
|
virtual Sprite | GetSprite () |
|
virtual void | SetText (UIText t, SkinColorProfile cols=null) |
|
virtual int | GetPhase () |
|
void | PopText () |
|
virtual void | WriteNote (UINote n, Action< UINote > onWriteNote=null) |
|
virtual void | _WriteNote (UINote n, bool asChild=false) |
|
|
static T | Create< T > (int power=100, Action< T > onCreate=null) |
|
static Condition | Create (string alias, int power=100, Action< Condition > onCreate=null) |
|
static int | rnd (int a) |
|
static int | curve (int a, int start, int step, int rate=75) |
|
static int | rndHalf (int a) |
|
static float | rndf (float a) |
|
static int | rndSqrt (int a) |
|
static void | Wait (float a, Card c) |
|
static void | Wait (float a, Point p) |
|
static int | Bigger (int a, int b) |
|
static int | Smaller (int a, int b) |
|
int[] | _ints = new int[5] |
|
int | phase = -1 |
|
ElementContainer | elements |
|
Chara | owner |
|
int | id |
|
SourceStat.Row | _source |
|
static bool | ignoreEffect |
|
static Chara | CC |
|
static Core | core |
|
Definition at line 1 of file ConSuffocation.cs.
◆ GetPhase()
override int ConSuffocation.GetPhase |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from BaseCondition.
Definition at line 5 of file ConSuffocation.cs.
6 {
7 if (base.value >= 50)
8 {
9 if (base.value >= 100)
10 {
11 return 2;
12 }
13 return 1;
14 }
15 return 0;
16 }
◆ OnStart()
override void ConSuffocation.OnStart |
( |
| ) |
|
|
inlinevirtual |
◆ Tick()
override void ConSuffocation.Tick |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from Condition.
Definition at line 30 of file ConSuffocation.cs.
31 {
33 {
35 return;
36 }
37 if (base.value >= 200)
38 {
39 base.value = 200;
40 }
42 {
44 }
46 {
48 {
50 }
52 {
54 }
55 }
56 }
void Mod(int a, bool force=false)
void DamageHP(int dmg, AttackSource attackSource=AttackSource.None, Card origin=null)
bool HasElement(int ele, int req=1)
void ModExp(string alias, int a)
override bool IsAliveInCurrentZone
void Kill(bool silent=false)
References EClass._zone, Cell.CanSuffocate(), Card.Cell, Card.DamageHP(), Card.HasElement(), Chara.IsAliveInCurrentZone, Spatial.IsRegion, Condition.Kill(), Chara.MaxHP, BaseCondition.Mod(), Card.ModExp(), BaseCondition.owner, and BaseCondition.phase.
◆ PreventRegen
override bool ConSuffocation.PreventRegen |
|
get |
The documentation for this class was generated from the following file: