View Single Post
09-14-13, 04:21 AM   #3
Brudarek
A Defias Bandit
Join Date: Dec 2006
Posts: 3
How does the game or wowhead (broken atm, but was working) do it then? I mean it's not just crafting, it's all spells, they all scale by level. There must be some way to, for example, get the heal value for 'flash of light' for any given player level?

I swear looking at the spell database fields you can see with simcraft (yes it can show crafting 'spells') the information is in the 'effect' info, but there's basically no information anywhere about that data. Also possible the variables for the formula are in that spell info.

https://code.google.com/p/simulation...iki/SpellQuery

For example, enchant chest peerless stats 5.3 vs 5.4. You can see where the fixed values were replaced with variables, so how does the game fill in those variables?

Code:
Name             : Enchant Chest - Peerless Stats (id=74250) 
Spell Level      : 300
Cast Time        : 1.5 seconds
Attributes       : .....x.. ........ x....... ........   ........ ..x..... ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
Effects          :
#1 (id=74201)    : Unknown effect type (53)
                   Base Value: 0 | Scaled Value: 0 | Misc Value: 4102 | Misc Value 2: 0xe
Description      : Permanently enchant chest armor to increase all stats by 20.  Requires a level 300 or higher item.
Code:
Name             : Enchant Chest - Peerless Stats (id=74250) [Scaling Spell (-4)] 
Cast Time        : 1.5 seconds
Attributes       : .....x.. ........ x....... ........   ........ ..x..... ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
                 : ........ ........ ........ ........   ........ ........ ........ ........ 
Effects          :
#1 (id=74201)    : Unknown effect type (53)
                   Base Value: 0 | Scaled Value: 20 (avg=0.5) | Misc Value: 4102 | Misc Value 2: 0xe
Description      : Permanently enchant chest armor to increase all stats by $s1.
  Reply With Quote