Ejemplo n.º 1
0
        // Heals the unit for the given amount
        public virtual int heal(int amount, ref Unit instigator, ref BattleMap map)
        {
            amount=	instigator.onHealing(health, amount, this, ref map);
            amount=	onHeal(health, amount, ref instigator, ref map);
            health+=	amount;

            return health;
        }