Official Pawn forums Forum Index
  
Rating Percentages

 
Post new topic   Reply to topic    Official Pawn forums Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
bando



Joined: 09 Jul 2007
Posts: 76
Location: Garona-US

PostPosted: Mon Jul 09, 2007 4:28 pm    Post subject: Rating Percentages Reply with quote

Hello. Is there a way to read or calculate the given PERCENTAGE of a sliding scale stat that an item will give you?

For example, to get 1% critical strike chance at level 60, you need 14 Critical Strike rating. At 70, you need 22.1. (These numbers come from This page.)

Is there a way to get Pawn to compile that % directly, for example, assigning a value to 1% of a crit rather than than assigning a value to 22.1 critical strike rating?

Ideally, what I would like to see would be something like this in the stats list in the readme:

CritRating
- Melee and ranged critical hit rating.
CritPercent
- Percentage crit gained from this items' critical hit rating on your character.

What I am ultimately trying to do is implement a "Shaman EEP" scale in Pawn. The EEP system is detailed Here, but it's basically (each is worth "1 point"):



  • 1 Strength
  • 1 Stamina
  • 1 Intelligence
  • 2 Attack Power
  • 2 Agility
  • .1 Melee Crit (1% crit = 10 Points)
  • .1 Dodge (1% dodge = 10 Points)
  • .2 Spell Crit (1% Spell Crit = 5 STR)
  • .2 Spell Hit
  • 5 Defense
  • .2 Parry
  • .133 hit (1% hit = 7.5 Points)
  • 50 Armor
  • 10 Spell Damage
  • 4 Resistance of any type
  • 5 Mana/5 sec
  • 5 HP/5 Sec


What I have right now is:

Code:
(Pawn: v1: "Shaman EEP": Intellect=1, ArcaneResist=0.25, FrostResist=0.25, Agility=0.5, Armor=0.02, Dps=1, DefenseRating=0.2, Healing=0.1, Strength=1, ShadowResist=0.25, FireResist=0.25, NatureResist=0.25, AllResist=0.25, Hp5=0.2, Stamina=1, SpellPower=0.1, Mp5=0.2, Ap=0.5)
Back to top
View user's profileSend private message
bando



Joined: 09 Jul 2007
Posts: 76
Location: Garona-US

PostPosted: Mon Jul 09, 2007 4:28 pm    Post subject: Reply with quote

well, a LOT of work to implement, and .... barely NO use of it.
sorry. i dont think vger's gonna implement that.
because: everyone can set his own values.
and all classes get different bonis from different stats. toooooo complicated to compile all that stuff by PAWN.
Back to top
View user's profileSend private message
bando



Joined: 09 Jul 2007
Posts: 76
Location: Garona-US

PostPosted: Mon Jul 09, 2007 4:28 pm    Post subject: Reply with quote

Perhaps. Too bad we can't use LUA variables in the lines, then I could do something like:

["CritRating"] = (CharLevel / 22.1) * 0.1 ,

Of course, can figure them out by hand, that works too -- at Level 70, 1 "EEP" for 1% Crit comes out to 0.31674208144796380090497737556561 points of Critical Strike Rating.

Hm, maybe that's the best route to go. I thought the Combat Ratings were purely based on level, not on class?
Back to top
View user's profileSend private message
bando



Joined: 09 Jul 2007
Posts: 76
Location: Garona-US

PostPosted: Mon Jul 09, 2007 4:28 pm    Post subject: Reply with quote

How does this look?

Code:
(Pawn: v1: "Shaman EEP": Intellect=1, ArcaneResist=0.25, CritRating=0.452488, FrostResist=0.25, Agility=0.5, Armor=0.02, HitRating=0.475873, ShadowResist=0.25, DefenseRating=0.084553, SpellHitRating=0.396825, SpellCritRating=0.226244, DodgeRating=0.528455, Dps=1, Healing=0.1, Strength=1, ParryRating=0.158536, FireResist=0.25, NatureResist=0.25, AllResist=0.25, Hp5=0.2, Stamina=1, SpellPower=0.1, Mp5=0.2, Ap=0.5)


For example, with the Crit Rating:

If 1% Crit at Level 70 is 22.1 points of Critical Strike rating, then the proper formula for giving 1 point for each percentage of crit is CritRating / 22.1. Since we don't want to give 1 point, we want 10 points (Crit is very important to an Enhancement Shaman, and 1% crit is equal to about 10 points of Agi or Str), the proper forumla is (CritRating / 22.1) / .1.

Assuming level 70, which we'll have to do until Blizzard adds the percentage numbers to a given tooltip line (Which, if I heard right, they're doing next patch) then each point of Crit should be multiplied by 0.45248868778281 to get the proper numbers.

In this case, 22.1 crit times 0.4524887 is equal to 10, which is just about right.
Back to top
View user's profileSend private message
bando



Joined: 09 Jul 2007
Posts: 76
Location: Garona-US

PostPosted: Mon Jul 09, 2007 4:28 pm    Post subject: Reply with quote

You're right; there's no way to do that right now. I suggest you decide what each rating is worth to you at level 70 and hardcode that into your scale. I don't know if there's much value in being able to build a scale that works on the raw percentages, because the relative value of (example) a crit rating goes up as your raw DPS goes up anyway.
Back to top
View user's profileSend private message
bando



Joined: 09 Jul 2007
Posts: 76
Location: Garona-US

PostPosted: Mon Jul 09, 2007 4:29 pm    Post subject: Reply with quote

well i think his formula seems way off..

the most important values for an enhancement shaman comes in this way

AP
STR
hit
crit

and so on.. i might be a liiil bit wrong though cause i havent read up on the discussion over at elitist jerks for some 2 weeks now. but check the shaman forum for a link to a whole thread about what values are the most important.
Back to top
View user's profileSend private message
Display posts from previous:   
Post new topic   Reply to topic    Official Pawn forums Forum Index -> Feature Requests All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum