[Bug][LH .51] Pack Tactics Swarm Bonus Bug?

<AbilityBonus InternalName="PackTacticsAbility">
        <AbilityBonusOption InternalName="PackTactics">
            <DisplayName>Pack Tactics</DisplayName>
            <Description>This unit recieves double the normal Swarm bonus</Description>
            <Icon>Ability_PackTactics_Icon.png</Icon>
            <GameModifier>
                <ModType>Unit</ModType>
                <Attribute>AdjustUnitStat</Attribute>
                <StrVal>UnitStat_SwarmBonusCounter</StrVal>
                <Value>2</Value>
                <Provides>This unit recieves double the normal Swarm bonus</Provides>
            </GameModifier>
            <CombatRating>10</CombatRating>
            <HideWhenUpgraded>0</HideWhenUpgraded>
            <IsCombatAbility>1</IsCombatAbility>
            <Type>Aggressive</Type>
            <AIData AIPersonality="AI_General">
                <AIPriority>5</AIPriority>
            </AIData>
        </AbilityBonusOption>
    </AbilityBonus>

It looks to me like this skill is tripling the swarm bonus instead of doubling it.  I believe the value should be 1 to double the value (from 1 to 2.)

This is one reason why wolves are so treacherous.

12,915 views 19 replies
Reply #1 Top

bump^

Reply #2 Top

Is the Urxen Blood bonus of doubling the Swarm bonus similarly bugged?

Reply #3 Top

Yeah I think it might be...let me look at the code real quick.

Reply #4 Top

           <GameModifier>
                <ModType>Unit</ModType>
                <Attribute>AdjustUnitStat</Attribute>
                <StrVal>UnitStat_SwarmBonusCounter</StrVal>
                <Value>2</Value>
                <Provides>This unit recieves double the normal Swarm bonus</Provides>
            </GameModifier>

Yup.  Urxen Blood is bugged as well.

Reply #5 Top

It would be kinda cool if Magnar units received a -50% swarm bonus.  Or at least the slaves.

Reply #6 Top

bumping again^

I'm pretty sure this is not working as intended.

Reply #7 Top

bump^

Still bugged in .51

Reply #8 Top

bump^

If this is WAD then please change the description to +200% bonus instead of double.

Reply #10 Top

bump^

Guys is this a bug or do you need to change the provides tag?

Reply #11 Top


did you mod it to 1 and notice that it was doubling? How is this calculation taking place. Is it a replacement value, or is it an additive value. Or is it a multiplicative value. Because if it is mutliplicative wouldn't it suggest that if you have 2 characters you get a times 2 bonus. If there are 3 you would get a times 4 (the usual bonus)... If there are 4 then you would get a times 8 (the usual bonus)... but without actually looking at the code I'm not sure. Or some what along those ideas.

It could be that if you have 2 characters you get times 4 the bonus, while with 3 you get times 8 the bonus. I would like to know a little on how this calculated myself.

Reply #12 Top

It's an AdjustUnitStat with a Value (not a Multiplier) which suggests that the Value (2) is being added to the Default (1).

If they wanted to replace the default, they would use SetUnitStat, if that is even a valid Attribute any more.

Reply #13 Top

I was just curious if they calculated things differently for this unit stat... plus it was a way of bumping the thread for ya ;)

Reply #14 Top

:thumbsup:

No problem. 

Here's the XML for the SwarmBonusCounter UnitStat.  From the description, it's pretty clear that the way the Pack Swarm bonus is implemented it's bugged.

<UnitStatType InternalName="UnitStat_SwarmBonusCounter">
        <DisplayName>Swarm Counter</DisplayName>
        <DisplayNameShort>SWARM</DisplayNameShort>
        <Description>How many times per ally the Swarm Bonus is applied to this unit in tactical (when applicable).</Description>
        <!--<Icon>Stat_CritDamageMultiplier_Icon.png</Icon>-->
        <Hidden>1</Hidden>
        <DefaultValue>1</DefaultValue>
        <UnitStatGrouping>CombatStat</UnitStatGrouping>
    </UnitStatType>

Reply #15 Top

You are right, its tripling the swarm bonus instead of doubling.  It will be fixed in patch 0.75.

Reply #16 Top

Quoting Derek, reply 15

You are right, its tripling the swarm bonus instead of doubling.  It will be fixed in patch 0.75.
End of Derek's quote

Thanks Derek.  Don't forget Urxen Blood is similarly bugged. :digichet:

Reply #17 Top

Haha, I gave the Urxen a leader and put them in a game as an enemy, and they were kicking my ass with their swarming.  

Reply #19 Top

Quoting Derek, reply 15

You are right, its tripling the swarm bonus instead of doubling.  It will be fixed in patch 0.75.
End of Derek's quote

Success! Thank you.