本文整理汇总了C#中HRSim.Minion.setMinionTominion方法的典型用法代码示例。如果您正苦于以下问题:C# Minion.setMinionTominion方法的具体用法?C# Minion.setMinionTominion怎么用?C# Minion.setMinionTominion使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HRSim.Minion
的用法示例。
在下文中一共展示了Minion.setMinionTominion方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: getBattlecryEffect
// kampfschrei:/ wählt einen diener aus, um gesichtsloser manipulator in eine kopie desselben zu verwandeln.
public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
{
if (target != null)
{
//p.copyMinion(own, target);
bool source = own.own;
own.setMinionTominion(target);
own.own = source;
own.handcard.card.sim_card.onAuraStarts(p, own);
}
}
示例2: minionTransform
public void minionTransform(Minion m, CardDB.Card c)
{
m.handcard.card.sim_card.onAuraEnds(this, m);//end aura of the minion
Handmanager.Handcard hc = new Handmanager.Handcard(c) { entity = m.entitiyID };
int ancestral = m.ancestralspirit;
if (m.handcard.card.name == CardDB.cardName.cairnebloodhoof || m.handcard.card.name == CardDB.cardName.harvestgolem || ancestral >= 1)
{
//this.evaluatePenality -= Ai.Instance.botBase.getplayerSecond.ownMinionValue(m, this) - 1;
}
//necessary???
/*Minion tranform = createNewMinion(hc, m.zonepos, m.own);
Minion temp = new Minion();
temp.setMinionTominion(m);
m.setMinionTominion(tranform);*/
m.setMinionTominion(createNewMinion(hc, m.zonepos, m.own));
m.handcard.card.sim_card.onAuraStarts(this, m);
this.minionGetOrEraseAllAreaBuffs(m, true);
if (m.own)
{
this.tempTrigger.ownMinionsChanged = true;
}
else
{
this.tempTrigger.enemyMininsChanged = true;
}
if (logging) Helpfunctions.Instance.logg("minion got sheep" + m.name + " " + m.Angr);
}