炉石兄弟吧 关注:43,242贴子:586,482

回复:自己写了几张sim请吧里大神指点

只看楼主收藏回复

class Sim_ULD_276 : SimTemplate //怪盗图腾
{
// 在你的回合结束时,将一张跟班牌置入你的手牌。
public override void onTurnEndsTrigger(Playfield p, Minion triggerEffectMinion, bool turnEndOfOwner)
{
if (triggerEffectMinion.own == turnEndOfOwner)
{
p.drawACard(CardDB.cardName.狗头人跟班, turnEndOfOwner, true);
}
}
}


IP属地:北京17楼2019-10-01 18:06
回复
    class Sim_ULD_293 : SimTemplate //* 云雾王子
    {
    //Battlecry: If you control a Secret, deal 3 damage.
    public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
    {
    if (target != null) p.minionGetDamageOrHeal(target, 6);
    }
    }


    IP属地:北京18楼2019-10-01 18:06
    收起回复
      2026-05-09 17:40:19
      广告
      不感兴趣
      开通SVIP免广告
      class Sim_ULD_616: SimTemplate //* 泰坦造物跟班
      {
      // 战吼:使一个友方随从获得+2生命值和 嘲讽。
      public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
      {
      if (target != null)
      {
      p.minionGetBuffed(target, 0, 2);
      if (!target.taunt)
      {
      target.taunt = true;
      if (target.own) p.anzOwnTaunt++;
      else p.anzEnemyTaunt++;
      }
      }
      }
      }


      IP属地:北京19楼2019-10-01 18:06
      收起回复
        public class Sim_ULD_720 : SimTemplate//血誓雇佣兵
        //战吼:选择一个受伤的友方随从,召唤一个它的复制。
        {
        public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
        {
        if (target != null && target.own && target.wounded)
        {
        int position = p.ownMinions.Count;
        p.callKid(own.handcard.card, position, true);
        p.ownMinions[position].setMinionToMinion(target);
        }
        }
        }


        IP属地:北京20楼2019-10-01 18:09
        回复
          楼主厉害👍


          IP属地:上海来自手机贴吧23楼2019-10-02 21:40
          回复
            请教一下这些注释哪里找呢?比如说高阶祭司阿门特,可以借鉴哪一张卡的呢?


            来自Android客户端24楼2019-10-02 22:01
            收起回复
              大佬,我这个情况咋搞啊


              来自Android客户端25楼2019-10-06 12:03
              收起回复
                大佬,我互投,过了一段时间就匹配不到人,一直在匹配,咋搞啊


                来自Android客户端26楼2019-10-14 16:55
                回复
                  2026-05-09 17:34:19
                  广告
                  不感兴趣
                  开通SVIP免广告
                  这个我也不知道啊


                  IP属地:北京来自iPhone客户端27楼2019-10-14 18:37
                  回复
                    大佬有时间能不能写一下 怪盗征募官和染病的兀鹫 的sim啊,我自己写的乱七八糟的...


                    IP属地:新疆28楼2019-10-15 22:35
                    收起回复
                      class Sim_ULD_167 : SimTemplate //* 染病的兀鹫
                      {
                      // 你的英雄在自己的回合受到伤害后,随机召唤一个法力值消耗为3点的随从。
                      public override void onMinionGotDmgTrigger(Playfield p, Minion m, int anzOwnMinionsGotDmg, int anzEnemyMinionsGotDmg, int anzOwnHeroGotDmg, int anzEnemyHeroGotDmg)
                      {
                      if (p.ownHero.anzGotDmg > 0 && m.own)
                      {
                      int pos = (m.own) ? p.ownMinions.Count : p.enemyMinions.Count;
                      p.callKid(p.getRandomCardForManaMinion(3), pos, m.own);
                      }
                      else if (p.enemyHero.anzGotDmg > 0 && !m.own)
                      {
                      int pos = (!m.own) ? p.ownMinions.Count : p.enemyMinions.Count; //这里这样写不知道对不对
                      p.callKid(p.getRandomCardForManaMinion(3), pos, !m.own);
                      }
                      }
                      }


                      IP属地:北京29楼2019-10-16 14:02
                      回复
                        class Sim_ULD_162 : SimTemplate //* 怪盗征募官
                        {
                        //战吼:消灭一个友方跟班,召唤一个5/5的恶魔。
                        CardDB.Card kid = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.ULD_162t); //怪盗恶魔
                        public override void getBattlecryEffect(Playfield p, Minion m, Minion target, int choice)
                        {
                        if (target != null)
                        {
                        p.minionGetDestroyed(target);
                        p.callKid(kid, m.zonepos, m.own);
                        }
                        }
                        }


                        IP属地:北京30楼2019-10-16 14:05
                        回复
                          class Sim_ULD_170 : SimTemplate //* 武装胡蜂
                          {
                          //战吼:如果你控制一个跟班,造成3点 伤害。
                          public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
                          {
                          if (target != null) p.minionGetDamageOrHeal(target, 3);
                          }
                          }


                          IP属地:北京31楼2019-10-16 14:18
                          回复
                            大佬,可以写一个维西纳的sim吗?我感觉有点复杂


                            来自iPhone客户端32楼2019-11-09 21:16
                            收起回复
                              2026-05-09 17:28:19
                              广告
                              不感兴趣
                              开通SVIP免广告
                              大佬有观星者露娜,的sim特效吗?


                              IP属地:四川33楼2019-11-10 00:02
                              收起回复