SQL command for decreasing all stats on items

Rick

Divine
Divine
Rick Rep
0
0
0
Rep
0
Rick Vouches
0
0
0
Vouches
0
Posts
11
Likes
2
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 10 85 XP
Hey, can anyone share the sql command for nerfing all stats on all items (including custom items) and is it possible to decrease also stats like attack power, spell power on the items too ?
Thanks!
 

MuDZaHeDiN

Mythical
Mythical
MuDZaHeDiN Rep
1
0
0
Rep
1
MuDZaHeDiN Vouches
0
0
0
Vouches
0
Posts
83
Likes
73
3 YEARS
3 YEARS OF SERVICE
LEVEL 8 101 XP
Of course you can, you can also write an update that takes the old value and reduces it by 10% rounded.
And since not every DB is the same, you should read through the DB yourself and change the values that come to mind.
 
Liked By 2 members :

OnlyFans

Divine
Divine
OnlyFans Rep
0
0
0
Rep
0
OnlyFans Vouches
0
0
0
Vouches
0
Posts
90
Likes
59
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 7 131 XP
Of course you can, you can also write an update that takes the old value and reduces it by 10% rounded.
And since not every DB is the same, you should read through the DB yourself and change the values that come to mind.

This ^
 

MuDZaHeDiN

Mythical
Mythical
MuDZaHeDiN Rep
1
0
0
Rep
1
MuDZaHeDiN Vouches
0
0
0
Vouches
0
Posts
83
Likes
73
3 YEARS
3 YEARS OF SERVICE
LEVEL 8 101 XP
this command decreases the value of all rows in a column by 10%.
UPDATE tablename SET columnname = columnname * 0.9;
 

RedLine

Divine
Divine
RedLine Rep
0
0
0
Rep
0
RedLine Vouches
0
0
0
Vouches
0
Posts
74
Likes
28
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 4 205 XP
this will reduce all items stats in item_template (3.3.5 Trinity core) by 50%
You can change the 0.5 at the end according to what you want
 

Ahlander

New member
Rep
0
0
0
Rep
0
Vouches
0
0
0
Vouches
0
Posts
2
Likes
0
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
this will reduce all items stats in item_template (3.3.5 Trinity core) by 50%
You can change the 0.5 at the end according to what you want
This is 95% correct, just a few errors that I corrected if you don't mind. You had stat value 8 twice instead of stat value 2 and you used the stat_value1*0.5 as the modifier for all columns instead of using the corresponding stat. This would result in replacing stat value 2 through 10 as a half modifier of 1 rather than just reducing all the corresponding values by half.

Here is an updated using 95% of what you have but adjusting the above things: Pastebin
 

RedLine

Divine
Divine
RedLine Rep
0
0
0
Rep
0
RedLine Vouches
0
0
0
Vouches
0
Posts
74
Likes
28
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 4 205 XP
This is 95% correct, just a few errors that I corrected if you don't mind. You had stat value 8 twice instead of stat value 2 and you used the stat_value1*0.5 as the modifier for all columns instead of using the corresponding stat. This would result in replacing stat value 2 through 10 as a half modifier of 1 rather than just reducing all the corresponding values by half.

Here is an updated using 95% of what you have but adjusting the above things: Pastebin
oh shoot lol
i just wrote the first line and copy pasted and seems like i only change one number.
My ADHD
but appreciate it.
 

3,570

1,285

9,620

433

Top