本文整理汇总了C#中HREngine.Bots.Minion.setMinionTominion方法的典型用法代码示例。如果您正苦于以下问题:C# Minion.setMinionTominion方法的具体用法?C# Minion.setMinionTominion怎么用?C# Minion.setMinionTominion使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HREngine.Bots.Minion
的用法示例。
在下文中一共展示了Minion.setMinionTominion方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
own.setMinionTominion(target);
own.handcard.card.sim_card.onAuraStarts(p, own);
}
}
示例2: minionTransform
private void minionTransform(Minion m, CardDB.Card c, bool own)
{
Handmanager.Handcard hc = new Handmanager.Handcard(c);
hc.entity = m.entitiyID;
Minion tranform = createNewMinion(hc, m.id, own);
Minion temp = new Minion();
temp.setMinionTominion(m);
m.setMinionTominion(tranform);
m.entitiyID = -2;
this.endEffectsDueToDeath(temp, own);
adjacentBuffUpdate(own);
if (logging) Helpfunctions.Instance.logg("minion got sheep" + m.name + " " + m.Angr);
}
示例3: minionTransform
private void minionTransform(Minion m, CardDB.Card c, bool own)
{
Minion tranform = createNewMinion(c, m.id, own);
Minion temp = new Minion();
temp.setMinionTominion(m);
m.setMinionTominion(tranform);
m.entitiyID = -2;
this.endEffectsDueToDeath(temp, own);
adjacentBuffUpdate(own);
if (logging) help.logg("minion got sheep" + m.name + " " + m.Angr);
}
示例4: 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);
hc.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.getEnemyMinionValue(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);
}
示例5: minionTransform
private void minionTransform(Minion m, CardDB.Card c, bool own)
{
Handmanager.Handcard hc = new Handmanager.Handcard(c);
hc.entity = m.entitiyID;
bool ancestral = false;
if (m.enchantments.Count >= 1)
{
foreach (Enchantment e in m.enchantments)
{
if (e.CARDID == CardDB.cardIDEnum.CS2_038e)
{
ancestral = true;
break;
}
}
}
if (m.handcard.card.name == CardDB.cardName.cairnebloodhoof || m.handcard.card.name == CardDB.cardName.harvestgolem || ancestral)
{
this.evaluatePenality -= Ai.Instance.botBase.getEnemyMinionValue(m, this) - 1;
}
Minion tranform = createNewMinion(hc, m.id, own);
Minion temp = new Minion();
temp.setMinionTominion(m);
m.setMinionTominion(tranform);
m.entitiyID = -2;
this.endEffectsDueToDeath(temp, own);
adjacentBuffUpdate(own);
if (logging) Helpfunctions.Instance.logg("minion got sheep" + m.name + " " + m.Angr);
}