Artifact Stat changing

as the title says i tried to change some of the artifacts stats in the Artifact_Items.lua but when i open the shop the stats are still the same

i thought it could be just the description so i bought one and stats are as in the description not changed

i hope anyone can help me

1,943 views 8 replies
Reply #1 Top

In order to help you, i need you to tell me EXACTLY what you changed. You probably did smth wrong because i have managed to change many items.

Some info?

Reply #2 Top

you prbly just didnt change the tooltip, check the mechanical side - ie if you added health check your health bar, to determine whether you have modified the item

 

Reply #3 Top

for example all fathers ring

    Abilities = {
        AbilityBlueprint {
            Name = 'Item_Artifact_130',
            AbilityType = 'Quiet',
            Icon = 'NewIcons/Ring/Ring6',
            FromItem = 'Item_Artifact_130',
            Buffs = {
                BuffBlueprint {
                    Name = 'Item_Artifact_130',
                    BuffType = 'IARTSTATSRING',
                    Debuff = false,
                    EntityCategory = 'ALLUNITS',
                    Stacks = 'ALWAYS',
                    Duration = -1,
                    Affects = {
                        MaxHealth = {Add = 1800},
                        Regen = {Add = 30},
                        MaxEnergy = {Add = 2600},
                        EnergyRegen = {Add = 25},
                        Armor = {Add = 1500},
                        DamageRating = {Add = 50},
                        RateOfFire = {Mult = .30},
                        MoveMult = {Mult = 0.15},
                        Evasion = {Add = 10},
                    },
                    Effects = 'SingleRing01',
                }
            },
            OnAbilityAdded = function(self, unit)
                unit:GetAIBrain():AddArmyBonus( 'Item_Artifact_130Army', unit )
            end,
            OnRemoveAbility = function(self, unit)
                unit:GetAIBrain():RemoveArmyBonus( 'Item_Artifact_130Army', unit )
            end,
        }
    },
}

this is the original and i changed it to this

    Abilities = {
        AbilityBlueprint {
            Name = 'Item_Artifact_130',
            AbilityType = 'Quiet',
            Icon = 'NewIcons/Ring/Ring6',
            FromItem = 'Item_Artifact_130',
            Buffs = {
                BuffBlueprint {
                    Name = 'Item_Artifact_130',
                    BuffType = 'IARTSTATSRING',
                    Debuff = false,
                    EntityCategory = 'ALLUNITS',
                    Stacks = 'ALWAYS',
                    Duration = -1,
                    Affects = {
                        MaxHealth = {Add = 4500},
                        Regen = {Add = 50},
                        MaxEnergy = {Add = 5500},
                        EnergyRegen = {Add = 45},
                        Armor = {Add = 3500},
                        DamageRating = {Add = 110},
                        RateOfFire = {Mult = .40},
                        MoveMult = {Mult = 0.25},
                        Evasion = {Add = 20},
                    },
                    Effects = 'SingleRing01',
                }
            },
            OnAbilityAdded = function(self, unit)
                unit:GetAIBrain():AddArmyBonus( 'Item_Artifact_130Army', unit )
            end,
            OnRemoveAbility = function(self, unit)
                unit:GetAIBrain():RemoveArmyBonus( 'Item_Artifact_130Army', unit )
            end,
        }
    },
}
and i put it on and it didn't change, for example i wanted +4500 hp but i still just got 1800

Reply #4 Top

Did you put in your mod the data above of that?

The bonuses and all the other information?

Did u use an UID that is unique to your mod?

Reply #6 Top

so first thank you for doing that and i didn't know that i have put it in as a mod and if i want the other artifacts changed too do i just have to write them into the lua too?

Reply #8 Top

No problem. It was just 5 minutes of my time. Yes you have to mod everything you want to be changed. However, you dont neccessarily need to create many different mods. It is better for yourself, to create 1 mod with all the changes you want.

BUT this will be bad if you want to upload your mod, since most people will not agree with so many changes.

Keep modding! :thumbsup: