尝试修改丢text的情况
This commit is contained in:
@@ -105,6 +105,13 @@ namespace Continentis.MainGame.Character
|
||||
public override void Remove()
|
||||
{
|
||||
OnBuffRemove();
|
||||
|
||||
if (iconSubmodule != null)
|
||||
{
|
||||
(attachedCharacter.characterView.hudContainer.enablingHUDs["CharacterBuffCollection"] as HUD_CharacterBuffCollection)
|
||||
?.RemoveBuffIcon(this);
|
||||
}
|
||||
|
||||
this.attachedCharacter.combatBuffSubmodule.buffList.Remove(this);
|
||||
attachedCharacter.deckSubmodule.GetAllCards().ForEach(card => card.RefreshCardAttributes());
|
||||
attachedCharacter.combatBuffSubmodule.buffList.Exclude(this).For(buff => buff.eventSubmodule?.onOtherBuffRemoved.Invoke(this));
|
||||
|
||||
Reference in New Issue
Block a user