[MOD question]-conquest endgame stats

  i have noticed that when a game ends the winning side's Demigods have massive stats which allow a winning-side player a small opportunity of almost instant killing, i was wondering if any of you could give me a lead where to find what enables them....

plz?

1,292 views 2 replies
Reply #1 Top

Here you go.

lua\common\BuffDefMisc.lua

ArmyBonusBlueprint {

    Name = 'WinningTeamBuff',

    Buffs = {

        BuffBlueprint {

            Name = 'WinningTeamBuff',

            Debuff = false,

            BuffType = 'WINNINGTEAMBUFF',

            Stacks = 'ALWAYS',

            Duration = -1,

            Affects = {

                Cooldown = {Mult = -3},

                MaxHealth = {Add = 10000, AdjustHealth = true},

                MaxEnergy = {Add = 10000, AdjustEnergy = true},

                MoveMult = {Mult = 2},

                Armor = {Add = 500},

                DamageRating = {Add = 2000},

                Regen = {Add = 500},

                EnergyRegen = {Add = 500},

                RateOfFire = {Mult = 5},

            },

        }

    },

    ApplyArmies = 'Single',

    UnitCategory = 'MOBILE + DEFENSE',

}

\lua\sim\Victory.lua

function BuffWinningTeam(teamBrain)

    teamBrain:AddArmyBonus( 'WinningTeamBuff' )

end