using System;
using System.Collections.Generic;
using System.Text;

namespace HREngine.Bots
{
	class Sim_BRMC_94 : SimTemplate //* Sulfuras
	{
		// Deathrattle:: Your Hero Power becomes 'Deal 8 damage to a random enemy'.
		
        CardDB.Card weapon = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.BRMC_94);

        public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
        {
            p.equipWeapon(weapon, ownplay);
        }

        public override void onDeathrattle(Playfield p, Minion m)
        {
			CardDB.Card hewHeroPower = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.BRM_027p); //DIE, INSECT!
            if (m.own)
            {
                p.ownHeroAblility.card = hewHeroPower;
                p.ownHeroPowerAllowedQuantity++;
                p.ownAbilityReady = true;
            }
            else
            {
                p.enemyHeroAblility.card = hewHeroPower;
                p.enemyHeroPowerAllowedQuantity++;
                p.enemyAbilityReady = true;
            }
        }
    }
}