Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | ItemAbility |
Public Member Functions | |
override bool | CanManualCancel () |
override IEnumerable< Status > | Run () |
bool | TryMove (int dist) |
void | AddAbility (Act a, int mod=0, int chance=100, bool aiPt=false) |
virtual bool | TryUseRanged (int dist) |
virtual bool | TryThrow (int dist) |
virtual bool | TryUseAbility (int dist, bool beforeMove=false) |
virtual void | BuildAbilityList () |
virtual bool | TryAbortCombat () |
![]() | |
Goal | Duplicate () |
![]() | |
override string | ToString () |
override MultiSprite | GetStateIcon () |
virtual bool | ShouldAllyAttack (Chara tg) |
virtual Point | GetDestination () |
AIProgress | GetProgress () |
string | GetCurrentActionText () |
override bool | IsToolValid () |
virtual void | OnStart () |
void | SetOwner (Chara c) |
virtual void | OnSetOwner () |
void | SetChild (AIAct seq, Func< Status > _onChildFail=null) |
void | Start () |
override bool | Perform () |
Status | Restart () |
Status | Success (Action action=null) |
virtual void | OnSuccess () |
bool | TryCancel (Card c) |
virtual Status | Cancel () |
virtual void | OnCancel () |
virtual void | OnCancelOrSuccess () |
virtual bool | CanManualCancel () |
Status | KeepRunning () |
void | Reset () |
virtual void | OnReset () |
Status | Tick () |
virtual IEnumerable< Status > | Run () |
Status | TickChild () |
Status | Do (AIAct _seq, Func< Status > _onChildFail=null) |
Status | DoGotoInteraction (Point pos, Func< Status > _onChildFail=null) |
Status | DoGoto (Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null) |
Status | DoGoto (Card card, Func< Status > _onChildFail=null) |
Status | DoGoto (Card card, int dist, Func< Status > _onChildFail=null) |
Status | DoGotoSpot (Card card, Func< Status > _onChildFail=null) |
Status | DoGoto< T > (Func< Status > _onChildFail=null) |
Status | DoGotoSpot< T > (Func< Status > _onChildFail=null, bool ignoreAccessType=false) |
Status | DoGrab (Card card, int num=-1, bool pickHeld=false, Func< Status > _onChildFail=null) |
Status | DoGrab< T > () |
Status | DoProgress () |
Status | DoIdle (int repeat=3) |
Status | DoWait (int count=1) |
virtual AIProgress | CreateProgress () |
virtual void | OnCreateProgress (Progress_Custom p) |
virtual bool | CanProgress () |
virtual void | OnBeforeProgress () |
virtual void | OnProgress () |
virtual void | OnProgressComplete () |
void | SimulateZone (int days) |
virtual void | OnSimulateZone (int days) |
virtual void | OnSimulatePosition () |
![]() | |
virtual CursorInfo | GetCursorIcon (Card c) |
virtual MultiSprite | GetStateIcon () |
override Sprite | GetSprite () |
virtual bool | ShowMouseHint (Card c) |
virtual bool | IsValidTC (Card c) |
virtual string | GetHintText (string str="") |
virtual string | GetText (string str="") |
virtual string | GetTextSmall (Card c) |
bool | IsTargetHostileParty () |
virtual Color | GetActPlanColor () |
virtual bool | Perform () |
virtual bool | CanPerform () |
bool | Perform (Chara _cc, Card _tc=null, Point _tp=null) |
bool | CanPerform (Chara _cc, Card _tc=null, Point _tp=null) |
virtual bool | IsToolValid () |
new void | SetImage (Image image) |
virtual void | OnMarkMapHighlights () |
virtual bool | ShouldMapHighlight (Point p) |
![]() | |
virtual SourceElement.Row | GetSource () |
virtual int | GetSourcePotential (int v) |
virtual Sprite | GetSprite () |
int | GetMaterialSourceValue (Thing t, int v) |
virtual int | GetSourceValue (int v, int lv, SourceValueType type) |
virtual Sprite | GetIcon (string suffix="") |
bool | IsActive (Card c) |
int | SortVal (bool charaSheet=false) |
virtual bool | CanLink (ElementContainer owner) |
bool | HasTag (string tag) |
void | SetImage (Image i) |
virtual string | GetDetail () |
bool | IsFactionElement (Chara c) |
Element | GetParent (Card c) |
void | WriteNote (UINote n, ElementContainer owner=null, Action< UINote > onWriteNote=null) |
void | WriteNoteWithRef (UINote n, ElementContainer owner, Action< UINote > onWriteNote, Element refEle) |
void | _WriteNote (UINote n, Chara c, Act act) |
void | AddHeaderAbility (UINote n) |
void | _WriteNote (UINote n, ElementContainer owner, Action< UINote > onWriteNote, bool isRef, bool addHeader=true) |
virtual void | OnWriteNote (UINote n, ElementContainer owner) |
virtual void | OnChangeValue () |
void | CheckLevelBonus (ElementContainer owner, UINote n=null) |
int | GetSortVal (UIList.SortMode m) |
virtual Act.Cost | GetCost (Chara c) |
virtual int | GetPower (Card c) |
virtual void | SetTextValue (UIText text) |
virtual bool | IsPurchaseFeatReqMet (ElementContainer owner, int lv=-1) |
virtual void | WritePurchaseReq (UINote n, int lv=1) |
Public Attributes | |
Chara | destEnemy |
Chara | tc |
int | idleCount |
int | moveFail |
List< ItemAbility > | abilities |
List< Chara > | charas = new List<Chara>() |
![]() | |
new Chara | owner |
Status | status |
IEnumerator< Status > | Enumerator |
AIAct | child |
AIAct | parent |
byte | restartCount |
Func< Status > | onChildFail |
Func< bool > | isFail |
![]() | |
SourceElement.Row | _source |
int | id |
int | vBase |
int | vExp |
int | vPotential |
int | vTempPotential |
int | vLink |
int | vSource |
int | vSourcePotential |
ElementContainer | owner |
Properties | |
override CursorInfo | CursorIcon [get] |
override bool | CancelWhenDamaged [get] |
override bool | CancelOnAggro [get] |
Tactics | tactics [get] |
![]() | |
override bool | InformCancel [get] |
![]() | |
virtual bool | IsRunning [get] |
bool | IsChildRunning [get] |
bool | IsMoveAI [get] |
virtual int | MaxRestart [get] |
virtual new string | Name [get] |
virtual MultiSprite | stateIcon [get] |
virtual Sprite | actionIcon [get] |
virtual bool | IsNoGoal [get] |
virtual bool | IsAutoTurn [get] |
virtual bool | IsIdle [get] |
virtual bool | CancelOnAggro [get] |
virtual bool | PushChara [get] |
virtual int | MaxProgress [get] |
virtual bool | ShowProgress [get] |
virtual bool | UseTurbo [get] |
virtual int | CurrentProgress [get] |
virtual bool | ShowCursor [get] |
virtual bool | CancelWhenDamaged [get] |
virtual bool | CancelWhenMoved [get] |
virtual bool | InformCancel [get] |
virtual Thing | RenderThing [get] |
AIAct | Current [get] |
override bool | IsAct [get] |
override bool | ShowPotential [get] |
override bool | UsePotential [get] |
override bool | ShowRelativeAttribute [get] |
virtual bool | HasProgress [get] |
![]() | |
override bool | ShowPotential [get] |
override bool | UsePotential [get] |
override bool | ShowRelativeAttribute [get] |
virtual CursorInfo | CursorIcon [get] |
virtual string | ID [get] |
virtual bool | IsAct [get] |
virtual bool | WillEndTurn [get] |
virtual bool | CloseLayers [get] |
virtual int | LeftHand [get] |
virtual int | RightHand [get] |
virtual int | ElementPowerMod [get] |
virtual bool | ShowMapHighlight [get] |
virtual bool | ShowMapHighlightBlock [get] |
virtual bool | PickHeldOnStart [get] |
virtual bool | DropHeldOnStart [get] |
virtual bool | CanPressRepeat [get] |
virtual bool | CanAutofire [get] |
virtual bool | ResetAxis [get] |
virtual bool | RequireTool [get] |
virtual bool | IsHostileAct [get] |
virtual bool | HideRightInfo [get] |
virtual bool | HaveLongPressAction [get] |
virtual float | Radius [get] |
virtual int | PerformDistance [get] |
virtual int | MaxRadius [get] |
virtual TargetType | TargetType [get] |
virtual bool | LocalAct [get] |
virtual bool | CanRapidFire [get] |
virtual float | RapidDelay [get] |
virtual bool | ShowAuto [get] |
virtual bool | IsCrime [get] |
![]() | |
SourceElement.Row | source [get] |
virtual int | DisplayValue [get] |
virtual int | MinValue [get] |
int | Value [get] |
int | ValueWithoutLink [get] |
virtual int | MinPotential [get] |
int | Potential [get] |
virtual bool | CanGainExp [get] |
bool | IsFlag [get] |
virtual string | Name [get] |
virtual string | FullName [get] |
virtual int | ExpToNext [get] |
virtual bool | UseExpMod [get] |
virtual int | CostTrain [get] |
virtual int | CostLearn [get] |
virtual bool | ShowXP [get] |
virtual bool | ShowMsgOnValueChanged [get] |
virtual bool | ShowValue [get] |
virtual bool | ShowPotential [get] |
virtual bool | UsePotential [get] |
virtual bool | PotentialAsStock [get] |
virtual bool | ShowRelativeAttribute [get] |
virtual bool | ShowBonuses [get] |
virtual string | ShortName [get] |
bool | IsGlobalElement [get] |
bool | IsFactionWideElement [get] |
bool | IsPartyWideElement [get] |
virtual bool | ShowEncNumber [get] |
bool | IsTrait [get] |
bool | IsFoodTrait [get] |
bool | IsFoodTraitMain [get] |
bool | IsMainAttribute [get] |
Act | act [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 | |
![]() | |
enum | Status { Running , Fail , Success } |
![]() | |
enum | CostType { None , MP , SP } |
![]() | |
static void | SetReference (Chara _cc, Card _tc=null, Point _tp=null) |
static void | SetTool (Thing t) |
![]() | |
static string | GetName (string alias) |
static SourceElement.Row | Get (int id) |
static Dictionary< int, int > | GetElementMap (int[] list) |
static Dictionary< int, int > | GetElementMap (int[] list, Dictionary< int, int > map) |
static SourceElement.Row | GetRandomElement (int lv=1) |
static Element | Create (int id, int v=0) |
static Element | Create (string id, int v=1) |
static int | GetId (string alias) |
static int | GetResistLv (int v) |
static int | GetResistDamage (int dmg, int v, int power=0) |
![]() | |
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 Card | TC |
static Point | TP = new Point() |
static Thing | TOOL |
static int | powerMod = 100 |
static bool | forcePt |
![]() | |
const int | Div = 5 |
static Element | Void = new Element() |
static int[] | List_MainAttributes = new int[9] { 70, 72, 71, 77, 74, 75, 76, 73, 79 } |
static int[] | List_MainAttributesMajor = new int[8] { 70, 72, 71, 77, 74, 75, 76, 73 } |
static int[] | List_Body = new int[4] { 70, 72, 71, 77 } |
static int[] | List_Mind = new int[4] { 74, 75, 76, 73 } |
static List< SourceElement.Row > | ListElements = new List<SourceElement.Row>() |
static List< SourceElement.Row > | ListAttackElements = new List<SourceElement.Row>() |
![]() | |
static Core | core |
Definition at line 5 of file GoalCombat.cs.
|
inline |
Definition at line 408 of file GoalCombat.cs.
References abilities, and Element.act.
Referenced by BuildAbilityList().
|
inlinevirtual |
Reimplemented in GoalAutoCombat.
Definition at line 1040 of file GoalCombat.cs.
References Chara.ability, AddAbility(), ACT.Item, item, ActList.items, CharaAbility.list, ACT.Melee, AIAct.owner, and ACT.Ranged.
Referenced by Run().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from AIAct.
Definition at line 49 of file GoalCombat.cs.
References EClass._map, EClass._zone, abilities, ConfigAutoCombat.abortOnKill, ActionMode.Adv, Chara.ai, Game.Config.autoCombat, ConfigAutoCombat.bDontChase, BuildAbilityList(), Card.c_bossType, Chara.calmCheckTurn, Chara.CanBeTempAlly(), AIAct.Cancel(), Chara.CanSee(), Chara.CanSeeLos(), Tactics.ChanceSecondMove, Game.config, EClass.debug, Debug, destEnemy, Card.DEX, Card.Dist(), Point.Distance(), AIAct.DoGoto(), ConfigTactics.dontWander, Chara.enemy, Card.ExistsOnMap, Chara.FindNearestNewEnemy(), Chara.FindNewEnemy(), EClass.game, Chara.GetFirstStep(), Card.GetSightRadius(), Point.HasChara, Chara.HasCondition(), Card.HasEditorTag(), Card.HasElement(), Chara.host, Card.hp, Card.id, idleCount, Chara.isBlind, Player.IsCriminal, Chara.isDead, Card.isHidden, Point.IsInBounds, Chara.IsMinion, Chara.IsNeutralOrAbove(), Chara.IsPC, Chara.IsPCFaction, Chara.IsPCFactionMinion, Card.IsPCFactionOrMinion, Chara.IsPCParty, Spatial.isPeace, Card.IsPowerful, Card.isRestrained, Point.IsValid, CoreDebug.logCombat, Card.LV, Chara.MakeMinion(), Card.ModExp(), Card.Name, Chara.OriginalHostility, AIAct.owner, Chara.parasite, EClass.pc, Card.PlayEffect(), EClass.player, Card.PlaySound(), Map.plDay, Card.pos, Chara.race, Chara.ride, EClass.rnd(), Msg.Say(), Card.Say(), Zone.SetBGM(), Chara.SetEnemy(), AM_Adv.SetTurbo(), AIAct.ShouldAllyAttack(), Card.ShowEmo(), Chara.source, AIAct.Success, Game.Config.tactics, tactics, Card.Talk(), tc, Chara.trait, TryAbortCombat(), TryMove(), Chara.TryMoveFrom(), Chara.TrySetEnemy(), TryUseAbility(), ConfigAutoCombat.turbo, Point.x, and Point.z.
|
inlinevirtual |
Reimplemented in GoalAutoCombat.
Definition at line 1051 of file GoalCombat.cs.
Referenced by Run().
|
inline |
Definition at line 351 of file GoalCombat.cs.
References EClass.debug, Debug, Tactics.DestDist, Chara.HasCondition(), Chara.host, Chara.isBlind, Chara.IsPC, CoreDebug.logCombat, moveFail, Chara.MoveRandom(), Card.Name, AIAct.owner, Card.pos, EClass.rnd(), Tactics.source, tactics, tc, Chara.TryEquipRanged(), Chara.TryMoveFrom(), Chara.TryMoveTowards(), and Card.turn.
Referenced by Run().
|
inlinevirtual |
Definition at line 428 of file GoalCombat.cs.
References ActThrow.CanPerform(), Card.GetSightRadius(), Card.HasElement(), AIAct.owner, Card.pos, Card.Split(), tc, ACT.Throw, ActThrow.Throw(), and Chara.TryGetThrowable().
Referenced by TryUseAbility().
|
inlinevirtual |
Definition at line 447 of file GoalCombat.cs.
References EClass._map, EClass._zone, abilities, Tactics.AbilityChance, SourceElement.Row.abilityType, Element.act, GoalCombat.ItemAbility.act, GoalCombat.ItemAbility.aiPt, Chara.body, Act.CanPerform(), Chara.CanSeeLos(), Tactics.CastPartyBuff, charas, Map.charas, Chara.conditions, Act.Cost.cost, Zone.CountMinions(), EClass.debug, Debug, Card.Dist(), SourceManager.elements, TargetType.ForceParty, Chara.GetBuffStats(), Element.GetCost(), CharaBody.GetMeleeDistance(), Card.GetSightRadius(), Chara.HasCondition(), Card.HasElement(), Card.HasTag(), Element.HasTag(), Act.HaveLongPressAction, Chara.host, Card.hp, Card.id, Element.id, Chara.isBlind, Chara.isConfused, Chara.IsFriendOrAbove(), Chara.IsHostile(), Chara.IsNeutralOrAbove(), Chara.IsPC, Chara.IsPCFaction, Zone.IsPCFaction, Card.IsPCFactionOrMinion, Chara.IsPCParty, Card.isRestrained, Card.IsRestrainedResident, Act.IsTargetHostileParty(), Zone.IsTown, Chara.isWet, Player.lastEmptyAlly, CoreDebug.logCombat, Chara.MainElement, Chara.mana, Chara.MaxHP, Chara.MaxSummon, Party.members, Card.Name, Element.Name, AIAct.owner, Tactics.P_Buff, Tactics.P_Debuff, Tactics.P_Melee, Tactics.P_Party, Tactics.P_Range, Tactics.P_Spell, Tactics.P_Summon, Chara.party, EClass.pc, EClass.player, GoalCombat.ItemAbility.priority, GoalCombat.ItemAbility.priorityMod, SourceElement.Row.proc, GoalCombat.ItemAbility.pt, Tactics.RandomFacotr, TargetType.Range, Chara.ranged, Tactics.RangedChance, Card.ResistLvFrom(), EClass.rnd(), Element.source, Tactics.source, EClass.sources, Chara.stamina, tactics, SourceElement.Row.target, Act.TargetType, tc, GoalCombat.ItemAbility.tg, AIAct.ToString(), Chara.ToString(), Card.trait, TryThrow(), TryUseRanged(), Act.Cost.type, Chara.UseAbility(), Element.Value, Stats.value, and Element.vPotential.
Referenced by Run().
|
inlinevirtual |
Reimplemented in GoalAutoCombat.
Definition at line 419 of file GoalCombat.cs.
References AIAct.owner, ActRanged.Perform(), ACT.Ranged, tc, and Chara.TryEquipRanged().
Referenced by TryUseAbility().
List<ItemAbility> GoalCombat.abilities |
Definition at line 32 of file GoalCombat.cs.
Referenced by AddAbility(), Run(), and TryUseAbility().
Definition at line 34 of file GoalCombat.cs.
Referenced by TryUseAbility().
Chara GoalCombat.destEnemy |
Definition at line 24 of file GoalCombat.cs.
Referenced by GoalAutoCombat.GoalAutoCombat(), and Run().
int GoalCombat.idleCount |
Definition at line 28 of file GoalCombat.cs.
Referenced by Run().
int GoalCombat.moveFail |
Definition at line 30 of file GoalCombat.cs.
Referenced by TryMove().
Chara GoalCombat.tc |
Definition at line 26 of file GoalCombat.cs.
Referenced by Run(), TryMove(), TryThrow(), TryUseAbility(), GoalAutoCombat.TryUseRanged(), and TryUseRanged().
|
get |
Definition at line 40 of file GoalCombat.cs.
|
get |
Definition at line 38 of file GoalCombat.cs.
|
get |
Definition at line 36 of file GoalCombat.cs.
|
get |
Definition at line 42 of file GoalCombat.cs.
Referenced by Run(), TryMove(), and TryUseAbility().