Esempio n. 1
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SkillFuncInstant instant = src as SkillFuncInstant;

            this.SkillFuncType = instant.SkillFuncType;
            this.m_bSucceeded  = instant.m_bSucceeded;
        }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public override void OnUse()
 {
     base.OnUse();
     this.SkillFuncType = 0;
     this.m_context     = default(SSkillFuncContext);
     this.m_bSucceeded  = false;
     this.bInit         = false;
 }
Esempio n. 4
0
        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;
        }
Esempio n. 5
0
 public override void OnUse()
 {
     base.OnUse();
     this.SkillFuncType = RES_SKILLFUNC_TYPE.RES_SKILLFUNC_TYPE_PHYSHURT;
     this.m_bSucceeded  = false;
 }
Esempio n. 6
0
 public override void OnUse()
 {
     base.OnUse();
     this.SkillFuncType = 0;
     this.m_bSucceeded  = false;
 }