public bool canRegisterBuff(StatusBuffBasis buff)
 {
     return buff.GetType() != this.InvalidateStatusBuffType;
 }
 public void registerBuff(StatusBuffBasis buff,bool islogged = true)
 {
     if (buffRegisterd(buff.GetType()))
     {
         buff.alreadyRegisterdAction(islogged);
     }
     else if(Parameter.canRegisterBuff(buff)){
         buff.start(islogged);
         if (!buff.isInstantEffect) {
             Parameter.CurrentBuffs.Add(buff);
             BuffAnimationEntity.startBuff(buff);
         }
     }
 }
 public virtual bool canRegisterBuff(StatusBuffBasis buff)
 {
     return buff.GetType() != InvalidateStatusBuffType;
 }
 public void overwriteBuff(StatusBuffBasis buff)
 {
     if (buffRegisterd(buff.GetType()))
     {
         var find = Parameter.CurrentBuffs.Find(b => b.GetType() == this.GetType());
         exitBuff(find.GetType(), false);
     }
     registerBuff(buff);
 }
 public bool canInvlidate(StatusBuffBasis buff)
 {
     return buff.GetType() == InvalidateBuffType;
 }