Inherits MonoBehaviour, and CrossLink.ValueProvider.
Inherited by CrossLink.CharacterCombatAttr, and CrossLink.PlayerCombatAttr.
|
virtual void | ChangeCamp () |
|
virtual void | ChangeCamp (string c) |
|
float | GetDeadTime () |
|
bool | IsDiedForAWhile (float sec=1f) |
|
string | ToString () |
|
void | Init (CharacterConfig.CharacterConfigItem configData) |
|
void | InitBuff () |
|
void | InitModifiers () |
|
virtual void | AddHp (float hpDelta) |
|
virtual void | AddMp (float mpDelta) |
|
virtual void | RecoverMp (float mount=1) |
|
bool | IsDead () |
|
void | Relive () |
|
void | ReduceHp (float dhp=-100) |
|
void | ToDead () |
|
float | GetHpFactorByReducer (float reduce) |
|
float | GetHpRestFactor () |
|
float | GetHpFactor () |
|
virtual float | GetFinalMass () |
|
AttrModifier | GetModifier () |
|
float | GetState (string name) |
|
bool | HasState (string name) |
|
bool | IsImmune (string element) |
|
virtual float | ReadValue (string attr) |
|
virtual void | WriteValue (string attr, float v) |
|
bool | ListenToModify (string modifierName, System.Action< ValueProvider, string > func, bool pullValue=true) |
|
void | UnListenToModify (string modifierName, System.Action< ValueProvider, string > func) |
|
void | TriggerStateUpdate (string state) |
|
void | TriggerHitOther (ValueProvider other) |
|
void | TriggerStabOther (ValueProvider other) |
|
void | TriggerBeHit (ValueProvider other) |
|
|
const float | SystemMaxHp = 99999999 |
|
const float | ContentMaxHp = 99999f |
|
const float | MiniAmountHpLeft = 20 |
|
const float | SmallAmountHpLeft = 80 |
|
const float | MiddleAmountHpLeft = 160 |
|