Esempio n. 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);
 }
Esempio n. 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;
 }
Esempio n. 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);
            }
        }
Esempio n. 4
0
 public virtual void MergeSelf(Combatant cb, MoveEditor.BuffEventProperties bfp)
 {
     //don't need to do anything when a same buff is applied twice.
 }
Esempio n. 5
0
 public BuffEffect(MoveEditor.BuffEventProperties props)
 {
     m_EventProps = props;
 }