Example #1
0
 public virtual void StartWork(Combatant cb, MoveEditor.BuffEventProperties bfp)
 {
     m_EventProps             = bfp;
     m_EffectLerpInTotalTime  = m_EventProps._lastFrame;
     m_EffectLerpOutTotalTime = m_EventProps._lastFrame;
     StartLerpIn(cb);
 }
Example #2
0
 public StoneBuffEffect(MoveEditor.BuffEventProperties props)
 {
     m_EventProps = props;
     m_Type       = BuffEffectManager.BuffType.Stone;
     if (m_EventProps == null)
     {
         return;
     }
     m_EffectLerpInTotalTime = m_EventProps._lastFrame;
 }
Example #3
0
        public static BuffEffect CreateBuffEffect(BuffEffectManager.BuffType type, MoveEditor.BuffEventProperties props)
        {
            switch (type)
            {
            case BuffEffectManager.BuffType.Stone:
                return(new StoneBuffEffect(props));

            default:
                return(null);
            }
        }
Example #4
0
 public virtual void MergeSelf(Combatant cb, MoveEditor.BuffEventProperties bfp)
 {
     //don't need to do anything when a same buff is applied twice.
 }
Example #5
0
 public BuffEffect(MoveEditor.BuffEventProperties props)
 {
     m_EventProps = props;
 }