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

namespace HREngine.Bots
{
    class Sim_GVG_049 : SimTemplate //* Gahz'rilla
    {
        // Whenever this minion takes damage, double its Attack.

        public override void onMinionGotDmgTrigger(Playfield p, Minion m, int anzOwnMinionsGotDmg, int anzEnemyMinionsGotDmg)
        {
            if (m.anzGotDmg > 0)
            {
                int tmp = m.anzGotDmg;
                m.anzGotDmg = 0;
                p.minionGetBuffed(m, m.Angr * (2 ^ tmp) - m.Angr, 0);
            }
        }
    }
}