XSGridEditor
1.0.0
XSGridEditor is a lightweight square grid map system for 2D/3D SRPG games, and comes with a simple and easy-to-use grid editing function. It can be used as a beginning for you to create SRPG games.
|
buff基类 More...
Public Member Functions | |
BuffBase (BuffData data, SkillBase skill) | |
构造函数 More... | |
void | Destroy () |
override float | GetSkillEffectProp (SkillEffectType type) |
override bool | GetSkillEffectFlag (SkillEffectType type) |
override void | StartWork () |
override void | StopWork () |
void | AddCount (int Count=1) |
增加buff层数 More... | |
virtual void | OnAdd () |
![]() | |
CommonTableItem (TDATA data) | |
构造函数 More... | |
override void | OnTurnStart (TUPDATEDATA data) |
virtual float | PhyImmunityFactor () |
减免伤害百分比必须大于0 More... | |
virtual float | PhyDamageFactor () |
Properties | |
string | Key [get] |
bool | CanStack [get] |
int | InitCount [get] |
Stat | Stat [get] |
SkillBase | Skill [get] |
这个buff的宿主skill,如果不是特定的,就是加在unit的skillnull对象里 More... | |
int | TimeLeft = 0 [get, set] |
int | Count [get, protected set] |
bool | IsAlive = true [get, set] |
是否有效,在buff die的时候设置为false,如果再执行到die(die事件触发),为true就不处理,可以避免死循环 More... | |
![]() | |
CustomScheduler | Scheduler [get] |
定时几回合后使用 More... | |
Private Member Functions | |
bool | NeedCountDuration () |
是否需要持续时间计算 More... | |
Private Attributes | |
int | _count = 0 |
buff层数 More... | |
Additional Inherited Members | |
![]() | |
CustomSchedulerItem | Schedule (Action func, int interval, int repeat=-1, bool immediate=false, int delay=0) |
CustomSchedulerItem | ScheduleOnce (Action func, int delay) |
void | UnSchedule (CustomSchedulerItem scheduler) |
buff基类
|
inline |
增加buff层数
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
private |
是否需要持续时间计算
|
inlinevirtual |
|
inline |
|
inline |
|
private |
buff层数
|
get |
|
getprotected set |
|
get |
|
getsetprivate |
是否有效,在buff die的时候设置为false,如果再执行到die(die事件触发),为true就不处理,可以避免死循环
|
get |
|
get |
这个buff的宿主skill,如果不是特定的,就是加在unit的skillnull对象里
|
get |
|
getsetprivate |