/// <summary> /// 当装备被卸下时调用 /// 删除buff /// </summary> public virtual void OnUnequiped(CharacterCard toCharacterCard) { if (this.equipmentState != null) toCharacterCard.RemoveState(this.equipmentState); }