public virtual void StartWork(Combatant cb, MoveEditor.BuffEventProperties bfp) { m_EventProps = bfp; m_EffectLerpInTotalTime = m_EventProps._lastFrame; m_EffectLerpOutTotalTime = m_EventProps._lastFrame; StartLerpIn(cb); }
public StoneBuffEffect(MoveEditor.BuffEventProperties props) { m_EventProps = props; m_Type = BuffEffectManager.BuffType.Stone; if (m_EventProps == null) { return; } m_EffectLerpInTotalTime = m_EventProps._lastFrame; }
public static BuffEffect CreateBuffEffect(BuffEffectManager.BuffType type, MoveEditor.BuffEventProperties props) { switch (type) { case BuffEffectManager.BuffType.Stone: return(new StoneBuffEffect(props)); default: return(null); } }
public virtual void MergeSelf(Combatant cb, MoveEditor.BuffEventProperties bfp) { //don't need to do anything when a same buff is applied twice. }
public BuffEffect(MoveEditor.BuffEventProperties props) { m_EventProps = props; }