五张牌!
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Continentis.MainGame.Character;
|
||||
using Continentis.Mods.Basic.Buffs;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Continentis.MainGame.Card
|
||||
{
|
||||
public class CardLogicComponent_Protect : CardLogicComponentBase
|
||||
{
|
||||
public void GenerateProtection(CharacterBase protector, CharacterBase target, int roundCount)
|
||||
{
|
||||
Protected protectedBuff = card.CreateCharacterBuff<Protected>(protector);
|
||||
protectedBuff.Apply(target, user, card);
|
||||
Protecting protectingBuff = card.CreateCharacterBuff<Protecting>(target, roundCount, protectedBuff);
|
||||
protectingBuff.Apply(protector, user, card);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user