Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Eatos on March 09, 2012, 01:44:30 am

Title: Item Balancer
Post by: Eatos on March 09, 2012, 01:44:30 am
Ok...Currently i have been programming a tool that would help me to create a perfectly balanced items..
Now you say that depends on so many things and yes i do agree it depends really...
What i have so far working good?!

Well i have managed to get scaling of items and calculating dps from itemlevel 251 until x.x.x + 13
which means 264/277/290/303/316....

Also for this kind of itemlevel i have managed to get perfectly calculated armor for material types so far: Leather,Cloth and Mail...
Plate still have to do...

Now i have found my self in a trap doing calculations for item stats...What i want to do is to create a formula that is calculating how much per stat you can put.And this depends on soo many things
So far i have managed only to calculate maximum stat points for item level 251/264/277 and to find a rations so i can use it for other itemlevels...
And to find out what is the max of some stats for some type of item.For example
Stamina for Cloth Shoulders:
ilevel 277: max 103+
ilevel 264: max 92+
ilevel 251: max 81+

Which means for each 13ilevels it scales by +11....
If i continue doing this i might end up in the hospital XD
 Joking...I mean seriously the best why i have found doing this and making program fast calculating is by using recursively functions and it is going well just...It is taking me a huge amount of time to find all damn formulas...
For item stats what i have is (calculated how much each stat give stat points)

1 Agility = 1 Stat Point
1 Intellect = 1 Stat Point
1 Strength = 1 Stat Point
6 Stamina = 2 Stat Point
2 Attack Power = 1 Stat Point
(Normal Gems : Blue,Red,Yellow) = 16 Stat Points
Prismatic Shard = 32 Stat Point
Meta = 32 or 64 in some cases :S

If you have some formulas post it here and i will see it how i can implement them :)
Title: Re: Item Balancer
Post by: Rimewynd on March 12, 2012, 10:21:46 pm
Heya. I'm not the best at this sort of stuff (I hadn't really looked at it yet), but I had a few links that you might want to look at. I actually had the thought to do the same thing as you're currently doing now, but I wasn't planning on getting to it for a while (and then it became unnecessary for what I wanted to do). So, I offer you the following in hopes it'll help:

http://elitistjerks.com/f15/t44718-item ... ost1152313 (http://elitistjerks.com/f15/t44718-item_level_mechanics/p3/#post1152313" onclick="window.open(this.href);return false;)

http://www.wowpedia.org/Talk:Item_level/Archive_1 (http://www.wowpedia.org/Talk:Item_level/Archive_1" onclick="window.open(this.href);return false;)

http://wow-v.com/forums/index.php?topic=19208 (http://wow-v.com/forums/index.php?topic=19208" onclick="window.open(this.href);return false;)

Hope it helps!
-Rimewynd
Title: Re: Item Balancer
Post by: Eatos on March 13, 2012, 12:22:32 am
Thx for replay and ye i am using a little bit different method for calculating balanced item stats :)
for example this function i wrote for how stamina scalces with itemlevel for cloth item material and head item type :)
Code: [Select]
function StaminaCalculationClothHead( i:REAL):REAL;
begin
   if( i = 0) then
      begin
         StaminaCalculationClothHead:=81;
      end
   else if (i = 1) then
      begin
         StaminaCalculationClothHead:=92;
      end
   else
     StaminaCalculationClothHead:=11+StaminaCalculationClothHead(i-1);
end;

And what is the max of stat budget for Cloth Head based on ilevel
Code: [Select]
function StatBudgetClothHead( i:REAL):REAL;
var
 level : INTEGER;
begin
    level:=StrToInt(FMain.Edit1.Text);
    if( i = 0) then
      begin
         StatBudgetClothHead:=1.584329*level;
      end
   else if (i = 1) then
     begin
         StatBudgetClothHead:=1.685606*level;
      end
   else
     StatBudgetClothHead:=(1.584329+((0.08431+(0.016397*i))*i))*level;
end;
Title: Re: Item Balancer
Post by: Rimewynd on March 15, 2012, 12:29:55 am
Interesting! I have two questions (one of which may reveal my semi-noobish nature).

1) In this equation the variable 'i' is itemLevel, right?

2) What language are you using? I don't seem to be able to place some of the command syntax.
Title: Re: Item Balancer
Post by: Eatos on March 16, 2012, 01:18:30 am
Quote from: "Rimewynd"
Interesting! I have two questions (one of which may reveal my semi-noobish nature).

1) In this equation the variable 'i' is itemLevel, right?

2) What language are you using? I don't seem to be able to place some of the command syntax.

No... i represent difference in ilevel you see base is 251 and user types in item level 264 or 277
and I will be : (277-251)/13;

And two i am using Delphi ;)
Title: Re: Item Balancer
Post by: thkaal on February 08, 2014, 04:24:35 am
I'd hate to be a bumper, but has there been any further progress on this?