炉石兄弟吧 关注:43,629贴子:587,891

回复:英勇药水的SIM,自己瞎写的大神们看看写的对吗

取消只看楼主收藏回复

using System;
using System.Collections.Generic;
using System.Text;
namespace HREngine.Bots
{
class Sim_BOT_031 : SimTemplate //* Goblin Bomb
{
// Deathrattle: Deal 2 damage to the enemy hero.
public override void onDeathrattle(Playfield p, Minion m)
{
p.minionGetDamageOrHeal(m.own ? p.enemyHero : p.ownHero, 2);
}
}
}


IP属地:北京29楼2019-02-11 15:23
回复
    using System;
    using System.Collections.Generic;
    using System.Text;
    namespace HREngine.Bots
    {
    class Sim_BOT_034: SimTemplate //* Boommaster Flark
    {
    // Battlecry: Summon four 0/2 Goblin Bombs.
    CardDB.Card kid = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.BOT_031); //地精炸弹
    public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice)
    {
    p.callKid(kid, own.zonepos - 2, own.own);
    p.callKid(kid, own.zonepos - 1, own.own);
    p.callKid(kid, own.zonepos, own.own);
    p.callKid(kid, own.zonepos + 1, own.own);
    }
    }
    }


    IP属地:北京30楼2019-02-11 15:23
    回复