private void SetBuff(Buff.BuffTypes type, float duration)
 {
     m_buff = new Buff(type, duration);
     if (isServer)
     {
         RpcSetBuff(type, duration);
     }
 }
 private void RpcSetBuff(Buff.BuffTypes type, float duration)
 {
     m_buff = new Buff(type, duration);
 }