protected override void CopyData(BaseEvent src) { base.CopyData(src); SkillFuncInstant instant = src as SkillFuncInstant; this.SkillFuncType = instant.SkillFuncType; this.m_bSucceeded = instant.m_bSucceeded; }
public override void OnUse() { base.OnUse(); this.SkillFuncType = RES_SKILLFUNC_TYPE.RES_SKILLFUNC_TYPE_PHYSHURT; this.m_context = new SSkillFuncContext(); this.m_bSucceeded = false; this.bInit = false; }
public override void OnUse() { base.OnUse(); this.SkillFuncType = 0; this.m_context = default(SSkillFuncContext); this.m_bSucceeded = false; this.bInit = false; }
protected override void CopyData(BaseEvent src) { base.CopyData(src); SkillFuncDuration duration = src as SkillFuncDuration; this.SkillFuncType = duration.SkillFuncType; this.m_context = duration.m_context; this.m_bSucceeded = duration.m_bSucceeded; this.bInit = duration.bInit; }
public override void OnUse() { base.OnUse(); this.SkillFuncType = RES_SKILLFUNC_TYPE.RES_SKILLFUNC_TYPE_PHYSHURT; this.m_bSucceeded = false; }
public override void OnUse() { base.OnUse(); this.SkillFuncType = 0; this.m_bSucceeded = false; }