本文整理汇总了C#中HRSim.Playfield.minionGetArmor方法的典型用法代码示例。如果您正苦于以下问题:C# Playfield.minionGetArmor方法的具体用法?C# Playfield.minionGetArmor怎么用?C# Playfield.minionGetArmor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HRSim.Playfield
的用法示例。
在下文中一共展示了Playfield.minionGetArmor方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: getBattlecryEffect
// Battlecry:</b> Gain 5 Armor.
public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
{
if (own.own)
{
p.minionGetArmor(p.playerFirst.ownHero, 5);
}
else
{
p.minionGetArmor(p.playerSecond.ownHero, 5);
}
}
示例2: onCardPlay
// heldenfähigkeit/\nerhaltet 2 rüstung.
public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
{
if (ownplay)
{
p.minionGetArmor(p.playerFirst.ownHero, 2);
}
else
{
p.minionGetArmor(p.playerSecond.ownHero, 2);
}
}
示例3: onCardPlay
// erhaltet 5 rüstung. zieht eine karte.
public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
{
if (ownplay)
{
p.minionGetArmor(p.playerFirst.ownHero, 5);
}
else
{
p.minionGetArmor(p.playerSecond.ownHero, 5);
}
p.drawACard(p.getArandomCardFromDeck(ownplay), ownplay);
}
示例4: onMinionGotDmgTrigger
// Whenever a friendly minion takes damage, gain 1 Armor.
public override void onMinionGotDmgTrigger(Playfield p, Minion m, bool ownDmgdmin)
{
if (m.own)
{
for(int i = 0;i< p.tempTrigger.ownMinionsGotDmg;i++)
{
p.minionGetArmor(p.playerFirst.ownHero, 1);
}
}
else
{
for (int i = 0; i < p.tempTrigger.enemyMinionsGotDmg; i++)
{
p.minionGetArmor(p.playerSecond.ownHero, 1);
}
}
}
示例5: onSecretPlay
//todo secret
// geheimnis:/ wenn euer held angegriffen wird, erhält er 8 rüstung.
public override void onSecretPlay(Playfield p, bool ownplay, Minion target, int number)
{
p.minionGetArmor(target, 8);
}