当前位置: 首页>>代码示例>>C#>>正文


C# Minion.setMinionTominion方法代码示例

本文整理汇总了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);
            }
		}
开发者ID:JayMansel,项目名称:silverfish,代码行数:10,代码来源:Sim_EX1_564.cs

示例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);
 }
开发者ID:RyukOP,项目名称:HRCustomClasses,代码行数:13,代码来源:action.cs

示例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);
        }
开发者ID:JulioCL,项目名称:HRCustomClasses,代码行数:12,代码来源:action-copy.cs

示例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);
        }
开发者ID:Zendio,项目名称:silverfish,代码行数:34,代码来源:Playfield.cs

示例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);
 }
开发者ID:JulioCL,项目名称:HRCustomClasses,代码行数:29,代码来源:action.cs


注:本文中的HREngine.Bots.Minion.setMinionTominion方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。