コード例 #1
0
ファイル: Units.cs プロジェクト: pgonzbecer/Conquest
        // 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;
        }