Unknown attribute of Gauntlet of Despair?

I was just looking through the files learning how to mod, and during my rebalance of the Shop Items I noticed something in the text for the Gauntlet of Despair (the 1750 cost glove):

        AbilityBlueprint {
            Name = 'Item_Glove_030',
            AbilityType = 'Quiet',
            FromItem = 'Item_Glove_030',
            Icon = 'NewIcons/Hand/Hand5',
            Buffs = {
                BuffBlueprint {
                    Name = 'Item_Glove_030',
                    BuffType = 'ENCHANTCRITMULT',
                    Debuff = false,
                    EntityCategory = 'ALLUNITS',
                    Stacks = 'ALWAYS',
                    Duration = -1,
                    Affects = {
                        MaxEnergy = {Add = 350, AdjustEnergy = false},
                                RateOfFire = {Mult = 0.08},
                    },
                }
            },
        },

 

If I'm not mistaken, that's an 8% attack speed increase that isn't listed under the item's description.

So I started up a game as Beast and tested this out. He starts out at 0% attack speed, like normal. Then when I have enough for the item, I buy it, and then check my stats again. I now have 7% attack speed.

WTF? Has this been here all along? Has the description always been missing this bit of info? What's the deal here?

8,636 views 13 replies
Reply #1 Top

Wow. That's a pretty big discovery. I hope the developers pick up on this and soon; good work for finding this by the way.

Reply #2 Top

Definitely an interesting find! I've noticed some other anomalies as well. EX: The on levelup buff for various characters increases their mana. However, the amount is all over the place. Some they gain more than they earned for the level, others less. This is in the BuffDefBaseStats.lua in lua/common. Regulus for example gains 64 max energy whenever he levels, but he actually receives 105 energy from the "RegulusLevelUpHealthEnergyGain". This makes little difference in game play, but it is still odd.

Reply #3 Top

i knew i wasnt wrong about this item not giving me mana or something wrong with this item....

Reply #4 Top

WTF? Has this been here all along?
End of quote

Probably.  Good find, though.  We're finding out all sorts of interesting things about the AI logic as well now that modding is enabled.  Its good to be able to dig around in the code. 

So, the item grants +350 mana as advertised.  It also grants a 7% attack speed increase (that no one really knew about - or mentioned).  It's SUPPOSED to have a 15% chance to drain 300 mana.  I don't see this in the code you provided though.  So, it appears to be completely missing...  This was one of the items that was updated with 1.2.  Perhaps a mistake was made?

Reply #5 Top

I don't see anything immediately wrong with the mana tap portion. It might still be just in your head:) ( The OP did not post the entire info for the item. )

Reply #6 Top

The OP did not post the entire info for the item.
End of quote

ah... there you have that then.  Thanks for the clarification.

Reply #7 Top

Quoting pacov, reply 4

WTF? Has this been here all along?
Probably.  Good find, though.  We're finding out all sorts of interesting things about the AI logic as well now that modding is enabled.  Its good to be able to dig around in the code. 

So, the item grants +350 mana as advertised.  It also grants a 7% attack speed increase (that no one really knew about - or mentioned).  It's SUPPOSED to have a 15% chance to drain 300 mana.  I don't see this in the code you provided though.  So, it appears to be completely missing...  This was one of the items that was updated with 1.2.  Perhaps a mistake was made?
End of pacov's quote

 

+8 percent attack speed actually:) It probably displayed as 7 percent due to some rounding.

Anyways, if anyone is curious to check for any errors, here is the full code for the item. It is way too late for me to look for errors in code atm:)

#################################################################################################################
# Gauntlets of Despair
#################################################################################################################
ItemBlueprint {
    Name = 'Item_Glove_030',
    DisplayName = '<LOC ITEM_Glove_0004>Gauntlets of Despair',
    GetManaBonus = function(self) return Buffs['Item_Glove_030'].Affects.MaxEnergy.Add end,
    GetProcChance = function(self) return Ability['Item_Glove_030_WeaponProc'].WeaponProcChance end,
    GetProcDrain = function(self) return math.floor( Buffs['Item_Glove_030_Drain'].Affects.Energy.Add * -1 ) end,
    Tooltip = {
        Bonuses = {
            '<LOC ITEM_Helm_0015>+[GetManaBonus] Mana',
        },
        ChanceOnHit = '<LOC ITEM_Glove_0017>[GetProcChance]% chance on hit to drain [GetProcDrain] Mana.',
    },
    Mesh = '/meshes/items/chest/chest_mesh',
    Animation = '/meshes/items/chest/Animations/chest_Idle_anim.gr2',
    MeshScale = 0.1,
    Icon = 'NewIcons/Hand/Hand5',
    Abilities = {
        AbilityBlueprint {
            Name = 'Item_Glove_030',
            AbilityType = 'Quiet',
            FromItem = 'Item_Glove_030',
            Icon = 'NewIcons/Hand/Hand5',
            Buffs = {
                BuffBlueprint {
                    Name = 'Item_Glove_030',
                    BuffType = 'ENCHANTCRITMULT',
                    Debuff = false,
                    EntityCategory = 'ALLUNITS',
                    Stacks = 'ALWAYS',
                    Duration = -1,
                    Affects = {
                        MaxEnergy = {Add = 350, AdjustEnergy = false},
                        RateOfFire = {Mult = 0.08},
                    },
                }
            },
        },
        AbilityBlueprint {
            Name = 'Item_Glove_030_WeaponProc',
            AbilityType = 'WeaponProc',
            FromItem = 'Item_Glove_030',
            Icon = 'NewIcons/Hand/Hand6',
            WeaponProcChance = 15,
            WeaponProcChanceRanged = 10,
            OnWeaponProc = function(self, unit, target, damageData)
                if not target:IsDead() then
                    Buff.ApplyBuff(target, 'Item_Glove_030_Drain', unit)
                    AttachEffectsAtBone( unit, EffectTemplates.Items.Glove.GauntletsOfDespairProc, -2 )
                end
            end,
        }
    },
}

BuffBlueprint {
    Name = 'Item_Glove_030_Drain',
    BuffType = 'ITEM_GLOVE_030_DRAIN',
    Debuff = true,
    CanBeDispelled = true,
    Stacks = 'REPLACE',
    Duration = 0,
    Affects = {
        Energy = {Add = -300},
    },
    Effects = 'Manadrain01',
    EffectsBone = -2,
}

Reply #8 Top

there are a lot of things that are hidden in the lua files. did u know that plenor had 15% cooldown reduction aura ?? that is intense (morpheas discovery). check out the item modding thread, we are trying to balance out all items in the game and we need suggestion/feedback from everyone.

Reply #9 Top

Quoting Izuz, reply 8
there are a lot of things that are hidden in the lua files. did u know that plenor had 15% cooldown reduction aura ?? that is intense (morpheas discovery). check out the item modding thread, we are trying to balance out all items in the game and we need suggestion/feedback from everyone.
End of Izuz's quote

 

I noticed that one as well, but it has a # next to it both times so I figured it was disabled.

 

    Tooltip = {
        Bonuses = {
            '<LOC ITEM_Helm_0015>+[GetManaBonus] Mana',
            '<LOC ITEM_Helm_0020>+[GetManaRegenBonus]% Mana Per Second',
            #'<LOC ITEM_Helm_0016>[GetCooldownBonus]% to ability cooldowns',
        },
    },
    Mesh = '/meshes/items/chest/chest_mesh',
    Animation = '/meshes/items/chest/Animations/chest_Idle_anim.gr2',
    MeshScale = 0.10,
    Icon = 'NewIcons/Helm/Helm3',
    Abilities = {
        AbilityBlueprint {
            Name = 'Item_Helm_030',
            AbilityType = 'Quiet',
            FromItem = 'Item_Helm_030',
            Icon = 'NewIcons/Helm/Helm3',
            Buffs = {
                BuffBlueprint {
                    Name = 'Item_Helm_030',
                    BuffType = 'GLYPHENERGY',
                    Debuff = false,
                    EntityCategory = 'ALLUNITS',
                    Stacks = 'ALWAYS',
                    Duration = -1,
                    Affects = {
                        MaxEnergy = {Add = 1575, AdjustEnergy = false},
                        EnergyRegen = {Mult = .70},
                        #Cooldown = {Mult = -0.15},
                    },
                    Effects = 'SingleRing01',
                    EffectsBone = -1,
                }
            },
        }
    },
}

Reply #10 Top

Very weird.  I might buy this item now.  Someone should make a list of all the undisplayed item attributes.

Reply #11 Top

Quoting Makeshift-D, reply 10
Very weird.  I might buy this item now.  Someone should make a list of all the undisplayed item attributes.
End of Makeshift-D's quote

 

This and create a mod with correct rollover text.

Reply #12 Top

Quoting Ahiodsohi, reply 9

Quoting Izuz, reply 8there are a lot of things that are hidden in the lua files. did u know that plenor had 15% cooldown reduction aura ?? that is intense (morpheas discovery). check out the item modding thread, we are trying to balance out all items in the game and we need suggestion/feedback from everyone.
 

I noticed that one as well, but it has a # next to it both times so I figured it was disabled.

 

    Tooltip = {
        Bonuses = {
            '<LOC ITEM_Helm_0015>+[GetManaBonus] Mana',
            '<LOC ITEM_Helm_0020>+[GetManaRegenBonus]% Mana Per Second',
            #'<LOC ITEM_Helm_0016>[GetCooldownBonus]% to ability cooldowns',
        },
    },
    Mesh = '/meshes/items/chest/chest_mesh',
    Animation = '/meshes/items/chest/Animations/chest_Idle_anim.gr2',
    MeshScale = 0.10,
    Icon = 'NewIcons/Helm/Helm3',
    Abilities = {
        AbilityBlueprint {
            Name = 'Item_Helm_030',
            AbilityType = 'Quiet',
            FromItem = 'Item_Helm_030',
            Icon = 'NewIcons/Helm/Helm3',
            Buffs = {
                BuffBlueprint {
                    Name = 'Item_Helm_030',
                    BuffType = 'GLYPHENERGY',
                    Debuff = false,
                    EntityCategory = 'ALLUNITS',
                    Stacks = 'ALWAYS',
                    Duration = -1,
                    Affects = {
                        MaxEnergy = {Add = 1575, AdjustEnergy = false},
                        EnergyRegen = {Mult = .70},
                        #Cooldown = {Mult = -0.15},
                    },
                    Effects = 'SingleRing01',
                    EffectsBone = -1,
                }
            },
        }
    },
}
End of Ahiodsohi's quote

 

Yea, they don't seem to ever actually delete anything once it is in. You'll notice that the cooldown was made before the mps increase.( It was Item 16 in the localization files, while the MPS was 20 ) However, somewhere they decided to change it, and removed the cooldown.

Reply #13 Top

Quoting Trigeminal, reply 11

Very weird.  I might buy this item now.  Someone should make a list of all the undisplayed item attributes.

-------

This and create a mod with correct rollover text.
End of Trigeminal's quote

 

I was thinking of doing that. I'm betting we've all thought about doing that. I don't know about you, but I'd kind of like to know what the damage and health increases are for Rook towers, for instance. And what their lifespan is. And what kind of damage his shoulders do, for that matter.  The list goes on and on.