Elin Decompiled Documentation EA 23.130 Nightly
|
Public Member Functions | |
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) |
Public Attributes | |
int[] | _ints = new int[5] |
int | phase = -1 |
ElementContainer | elements |
Chara | owner |
![]() | |
int | id |
SourceStat.Row | _source |
Properties | |
int | value [get, set] |
int | power [get, set] |
int | refVal [get, set] |
int | refVal2 [get, set] |
bool | givenByPcParty [get, set] |
bool | isPerfume [get, set] |
override Chara | Owner [get] |
virtual string | Name [get] |
virtual bool | IsToggle [get] |
virtual bool | WillOverride [get] |
virtual bool | AllowMultipleInstance [get] |
virtual bool | ConsumeTurn [get] |
virtual bool | HasDuration [get] |
virtual bool | PreventRegen [get] |
virtual bool | ShouldRefresh [get] |
virtual bool | CancelAI [get] |
virtual bool | TimeBased [get] |
virtual bool | SyncRide [get] |
virtual bool | UseElements [get] |
virtual int | GainResistFactor [get] |
virtual int | P2 [get] |
SourceElement.Row | sourceElement [get] |
virtual bool | IsElemental [get] |
virtual string | RefString1 [get] |
virtual bool | CanManualRemove [get] |
![]() | |
SourceStat.Row | source [get] |
virtual Emo2 | EmoIcon [get] |
virtual ConditionType | Type [get] |
virtual string | idSprite [get] |
virtual bool | ShowInWidget [get] |
virtual Chara | Owner [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Additional Inherited Members | |
![]() | |
static int | rndSeed (int a, int seed) |
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) |
![]() | |
static Chara | CC |
![]() | |
static Core | core |
Definition at line 6 of file BaseCondition.cs.
|
inlinevirtual |
Reimplemented from BaseStats.
Definition at line 423 of file BaseCondition.cs.
References Element.Create(), elements, GetDefenseAttribute(), GetElementSource(), ElementContainer.Has(), Element.id, item, Element.Name, OnWriteNote(), P2, power, EClass.sources, SourceManager.stats, Element.Value, and ElementContainer.Value().
Referenced by Element._WriteNote().
|
inlinevirtual |
Reimplemented in BaseBuff, ConBuffStats, ConStrife, ConWeapon, ConWrath, and TimeDebuff.
Definition at line 137 of file BaseCondition.cs.
|
inlinevirtual |
Reimplemented in BaseDebuff, BaseStance, Condition, and ConSupress.
Definition at line 405 of file BaseCondition.cs.
|
inlinevirtual |
Definition at line 395 of file BaseCondition.cs.
Referenced by Chara.AddCondition().
|
inlinevirtual |
Reimplemented in ConBuffStats.
Definition at line 400 of file BaseCondition.cs.
References P2.
Referenced by Element._WriteNote(), and Condition.OnStacked().
|
inlinevirtual |
Reimplemented from BaseStats.
Definition at line 186 of file BaseCondition.cs.
References phase.
Referenced by NotificationCondition.OnRefresh().
Definition at line 410 of file BaseCondition.cs.
References Element.Create().
Referenced by _WriteNote(), and Chara.AddCondition().
|
inline |
Definition at line 217 of file BaseCondition.cs.
References SourceManager.elements, sourceElement, and EClass.sources.
Referenced by _WriteNote(), and SetOwner().
|
inlinevirtual |
Reimplemented from BaseStats.
Reimplemented in BaseDebuff, BaseStance, ConAnorexia, ConAwakening, ConBlind, ConBuffStats, ConBurning, ConConfuse, ConDrug, ConDrunk, ConEntangle, ConFaint, ConFear, ConGravity, ConParalyze, ConReload, ConSleep, ConSmoking, ConSuffocation, ConSuspend, ConWait, ConWet, and ConWrath.
Definition at line 331 of file BaseCondition.cs.
References value.
Referenced by IsNullPhase(), SetOwner(), and SetPhase().
|
inlinevirtual |
Reimplemented from BaseStats.
Reimplemented in ConBuffStats.
Definition at line 359 of file BaseCondition.cs.
Referenced by GetText().
|
inlinevirtual |
Reimplemented in ConBoost, ConTransmuteBroom, and ConTransmutePutit.
Definition at line 467 of file BaseCondition.cs.
Referenced by Chara._CreateRenderer().
|
inlinevirtual |
Definition at line 158 of file BaseCondition.cs.
References Color, GameSetting.elements, SourceManager.elements, IsElemental, refVal, EClass.setting, and EClass.sources.
Referenced by NotificationBuff.OnInstantiate().
|
inlinevirtual |
Reimplemented from BaseStats.
Reimplemented in ConBuffStats.
Definition at line 172 of file BaseCondition.cs.
References GetPhaseStr(), and IsNullPhase().
Referenced by NotificationBuff.OnRefresh(), and NotificationCondition.OnRefresh().
|
inlinevirtual |
|
inline |
Definition at line 322 of file BaseCondition.cs.
References GetPhase().
Referenced by GetText().
|
inline |
Definition at line 373 of file BaseCondition.cs.
References isPerfume, OnValueChanged(), SetPhase(), and value.
Referenced by Chara.Cure(), AttackProcess.Perform(), FoodEffect.ProcTrait(), ConBleed.Tick(), ConBurning.Tick(), ConChampagne.Tick(), ConDeathSentense.Tick(), ConDisease.Tick(), Condition.Tick(), ConDrunk.Tick(), ConFear.Tick(), ConHOT.Tick(), ConInsane.Tick(), ConMiasma.Tick(), ConPoison.Tick(), ConSleep.Tick(), ConSuffocation.Tick(), and ConWet.Tick().
|
inlinevirtual |
Reimplemented in ConSleep.
Definition at line 270 of file BaseCondition.cs.
Referenced by Start().
|
inlinevirtual |
Reimplemented in ConFreeze, and ConPoison.
Definition at line 387 of file BaseCondition.cs.
Referenced by SetOwner(), and SetPhase().
|
inlinevirtual |
Reimplemented in ConExcommunication, ConGravity, ConInvisibility, ConLevitate, ConSeeInvisible, ConTelepathy, and ConWet.
Definition at line 306 of file BaseCondition.cs.
Referenced by Chara.Refresh().
|
inlinevirtual |
Reimplemented in ConBlind, ConBoost, ConConfuse, ConDisease, ConDrunk, ConExcommunication, ConFaint, ConHallucination, ConIncognito, ConNightVision, ConParalyze, ConReload, ConSleep, ConSuspend, ConTorch, ConTransmute, and ConWrath.
Definition at line 391 of file BaseCondition.cs.
Referenced by Condition.Kill().
|
inlinevirtual |
Reimplemented in ConAwakening, ConBandage, ConBlind, ConBoost, ConDrunk, ConIncognito, ConInvisibility, ConSuffocation, ConTorch, and ConTransmute.
Definition at line 274 of file BaseCondition.cs.
Referenced by Start().
|
inlinevirtual |
Reimplemented in ConNightVision.
Definition at line 278 of file BaseCondition.cs.
Referenced by Start().
|
inlinevirtual |
Reimplemented in Condition.
Definition at line 383 of file BaseCondition.cs.
Referenced by Mod().
|
inlinevirtual |
Reimplemented in ConBuffStats, ConHOT, ConMiasma, and ConStrife.
Definition at line 463 of file BaseCondition.cs.
Referenced by _WriteNote().
|
inline |
Definition at line 336 of file BaseCondition.cs.
References owner, phase, BaseStats.PopText(), RefString1, Card.Say(), Msg.SetColor(), and BaseStats.Type.
Referenced by SetPhase().
|
inlinevirtual |
Reimplemented in ConBuffStats.
Definition at line 282 of file BaseCondition.cs.
References Condition.ignoreEffect, owner, Card.PlayEffect(), and Card.PlaySound().
Referenced by Start().
|
inlinevirtual |
Definition at line 294 of file BaseCondition.cs.
References owner, Card.PlayEffect(), and Card.PlaySound().
Referenced by Condition.Kill().
|
inline |
Definition at line 147 of file BaseCondition.cs.
References BaseStats.id, and refVal.
Referenced by Element._WriteNote(), and ConMiasma.Tick().
|
inlinevirtual |
Reimplemented in ConBlind, ConBuffStats, ConConfuse, ConDisease, ConDrunk, ConFaint, ConHallucination, ConParalyze, ConSleep, and ConSuspend.
Definition at line 191 of file BaseCondition.cs.
References elements, BaseStats.EmoIcon, Chara.emoIcon, GetElementSource(), GetPhase(), OnChangePhase(), owner, P2, phase, power, ElementContainer.SetBase(), ElementContainer.SetParent(), and UseElements.
Referenced by Chara.InitStats().
|
inline |
Definition at line 310 of file BaseCondition.cs.
References GetPhase(), OnChangePhase(), phase, and PhaseMsg().
Referenced by Mod(), Condition.OnStacked(), and Start().
|
inline |
Definition at line 152 of file BaseCondition.cs.
References refVal, and refVal2.
Referenced by Element._WriteNote().
|
inline |
Definition at line 231 of file BaseCondition.cs.
References Chara.conditions, OnBeforeStart(), OnStart(), OnStartOrStack(), owner, phase, PlayEffect(), SetPhase(), and TryNullify().
|
inlinevirtual |
Reimplemented in BaseStance, ConAnorexia, ConBleed, ConBurning, ConChampagne, ConDeathSentense, ConDisease, Condition, ConDrunk, ConEntangle, ConFear, ConHOT, ConInsane, ConMiasma, ConPoison, ConRebirth, ConSleep, ConSmoking, ConStrife, ConSuffocation, ConSuspend, ConTransmute, ConWeapon, and ConWet.
Definition at line 369 of file BaseCondition.cs.
|
inline |
Definition at line 167 of file BaseCondition.cs.
References Name, phase, and value.
Referenced by ConBuffStats.OnWriteNote(), and ConStrife.OnWriteNote().
|
inlinevirtual |
Reimplemented in ConEntangle.
Definition at line 142 of file BaseCondition.cs.
Referenced by Chara.TryMove().
|
inline |
Definition at line 252 of file BaseCondition.cs.
References Name, owner, and Card.Say().
Referenced by Chara.AddCondition(), and Start().
int [] BaseCondition._ints = new int[5] |
Definition at line 9 of file BaseCondition.cs.
ElementContainer BaseCondition.elements |
Definition at line 13 of file BaseCondition.cs.
Referenced by _WriteNote(), Condition.Kill(), ConFreeze.OnChangePhase(), ConPoison.OnChangePhase(), SetOwner(), ConBuffStats.SetOwner(), and Element.BonusInfo.WriteNote().
Chara BaseCondition.owner |
Definition at line 15 of file BaseCondition.cs.
Referenced by Condition.Kill(), ConSleep.OnBeforeStart(), ConExcommunication.OnRefresh(), ConGravity.OnRefresh(), ConBlind.OnRemoved(), ConBoost.OnRemoved(), ConExcommunication.OnRemoved(), ConFaint.OnRemoved(), ConHallucination.OnRemoved(), ConNightVision.OnRemoved(), ConReload.OnRemoved(), ConSuspend.OnRemoved(), ConTorch.OnRemoved(), ConTransmute.OnRemoved(), ConWrath.OnRemoved(), ConAwakening.OnStart(), ConBandage.OnStart(), ConBlind.OnStart(), ConBoost.OnStart(), ConDrunk.OnStart(), ConInvisibility.OnStart(), ConSuffocation.OnStart(), ConTorch.OnStart(), ConTransmute.OnStart(), ConNightVision.OnStartOrStack(), PhaseMsg(), PlayEffect(), ConBuffStats.PlayEffect(), PlayEndEffect(), SetOwner(), ConBuffStats.SetOwner(), ConDisease.SetOwner(), ConFaint.SetOwner(), ConHallucination.SetOwner(), ConSleep.SetOwner(), Start(), ConBleed.Tick(), ConBurning.Tick(), ConChampagne.Tick(), ConDeathSentense.Tick(), ConDrunk.Tick(), ConEntangle.Tick(), ConFear.Tick(), ConHOT.Tick(), ConInsane.Tick(), ConMiasma.Tick(), ConPoison.Tick(), ConSleep.Tick(), ConSmoking.Tick(), ConSuffocation.Tick(), ConSuspend.Tick(), ConTransmute.Tick(), ConWet.Tick(), and TryNullify().
int BaseCondition.phase = -1 |
Definition at line 11 of file BaseCondition.cs.
Referenced by GetColor(), GetPhaseStr(), PhaseMsg(), SetOwner(), SetPhase(), Start(), ConSuffocation.Tick(), and ToString().
|
get |
Definition at line 97 of file BaseCondition.cs.
|
get |
Definition at line 107 of file BaseCondition.cs.
|
get |
Definition at line 135 of file BaseCondition.cs.
Referenced by NotificationCondition.OnClick().
|
get |
Definition at line 99 of file BaseCondition.cs.
Referenced by ConFear.Tick(), and Chara.TickConditions().
|
get |
Definition at line 115 of file BaseCondition.cs.
Referenced by Chara.AddCondition(), and Chara.AddResistCon().
|
getset |
Definition at line 65 of file BaseCondition.cs.
Referenced by TimeDebuff.CanStack().
|
get |
Definition at line 101 of file BaseCondition.cs.
Referenced by Element._WriteNote(), and NotificationBuff.OnRefresh().
|
get |
Definition at line 121 of file BaseCondition.cs.
Referenced by GetSpriteColor().
|
getset |
Definition at line 77 of file BaseCondition.cs.
Referenced by Chara.Cure(), and Mod().
|
get |
Definition at line 93 of file BaseCondition.cs.
Referenced by Chara.AddCondition().
|
get |
Definition at line 91 of file BaseCondition.cs.
Referenced by Element._WriteNote(), Condition.Create< T >(), GetPhaseStr(), ToString(), TryNullify(), and Element.BonusInfo.WriteNote().
|
get |
Definition at line 89 of file BaseCondition.cs.
|
get |
Definition at line 117 of file BaseCondition.cs.
Referenced by _WriteNote(), EvaluateTurn(), and SetOwner().
|
getset |
Definition at line 29 of file BaseCondition.cs.
Referenced by _WriteNote(), Chara.AddCondition(), Chara.AddResistCon(), Condition.Create(), Condition.Create< T >(), ConNightVision.OnCalculateFov(), ConTorch.OnCalculateFov(), AttackProcess.Perform(), Chara.ResistCon(), and SetOwner().
|
get |
Definition at line 103 of file BaseCondition.cs.
Referenced by AI_PassTime.Run(), and Chara.TickConditions().
|
get |
Definition at line 123 of file BaseCondition.cs.
Referenced by Condition.Kill(), and PhaseMsg().
|
getset |
Definition at line 41 of file BaseCondition.cs.
Referenced by Chara.GetBuffStats(), GetSpriteColor(), SetElement(), and SetRefVal().
|
getset |
Definition at line 53 of file BaseCondition.cs.
Referenced by SetRefVal().
|
get |
Definition at line 105 of file BaseCondition.cs.
Referenced by Condition.Kill().
|
get |
Definition at line 119 of file BaseCondition.cs.
Referenced by GetElementSource(), and AttackProcess.Perform().
|
get |
Definition at line 111 of file BaseCondition.cs.
|
get |
Definition at line 109 of file BaseCondition.cs.
Referenced by Chara.TickConditions().
|
get |
Definition at line 113 of file BaseCondition.cs.
Referenced by SetOwner().
|
getset |
Definition at line 17 of file BaseCondition.cs.
Referenced by GetPhase(), GetValue(), Mod(), NotificationBuff.OnRefresh(), NotificationCondition.OnRefresh(), and ToString().
|
get |
Definition at line 95 of file BaseCondition.cs.