Update
This commit is contained in:
@@ -57,7 +57,15 @@ namespace Continentis.MainGame.Character
|
||||
{
|
||||
protected bool FindExistingSameBuff<T>(out T existingBuff) where T : CharacterBuffBase
|
||||
{
|
||||
return FindExistingSameBuff(out existingBuff, attachedCharacter.combatBuffSubmodule.buffList);
|
||||
bool result = FindExistingSameBuffs(out List<T> existingBuffs, attachedCharacter.combatBuffSubmodule.buffList);
|
||||
existingBuff = result ? existingBuffs[0] : null;
|
||||
return result;
|
||||
}
|
||||
|
||||
protected bool FindExistingSameBuffs<T>(out List<T> existingBuffs) where T : CharacterBuffBase
|
||||
{
|
||||
bool result = FindExistingSameBuffs(out existingBuffs, attachedCharacter.combatBuffSubmodule.buffList);
|
||||
return result;
|
||||
}
|
||||
|
||||
public override void Apply(CharacterBase attachedCharacter, CharacterBase sourceCharacter = null)
|
||||
|
||||
Reference in New Issue
Block a user