BUFF Component {{ currentPage ? currentPage.title : "" }}

BuffSystem: UltimateBuffComponent

  • This component is used for storing BUFF entities in roles

  • Both adding and removing BUFF are called on this component

Variableexplain/Function

Explain

Buffs

BUFF Actor Array

GiveBuff(TSubclassOf<APrimalBuff> BuffClass, float Duration)

Increase BUFF, Duration is the increase in time

RemoveBuff(APrimalBuff* Buff)

Remove BUFF, which is a BUFF Actor

GetBuffs

Obtain all BUFF

HasBuff(TSubclassOf<APrimalBuff> BuffClass)

Does has BUFF

AddBuff(APrimalBuff* Buff)

Add BUFF to the list

OnBuffNotify(委托)

Adding or removing a BUFF will call this event delegate

{{{ content }}}