First up melee info was taken from testing on target dummies with no clothing on. He himself inherits haste (which will affect his lightning as well as how fast his melee attacks) and crit (how often his lightning and melee crit). His melee attacks are affected by the target's armor. So to get an exact attack amount I would suggest going into either the Orc starting zone or Human starting zone and letting Xuen attack the lvl 1 target dummies there who have 0 armor (they die though so be warned about that).
In SimC, they are taking the damage info from Wowhead but SimC has their own datamind infomation. reading that information can be a bit convoluted in understanding it so I'll try and break it down as best as I can. There are 3 files you need to worry about
Live datamined file - https://code.google.com/p/simulation...spell_data.inc
PTR datamined file - https://code.google.com/p/simulation...l_data_ptr.inc
Scale Data file - https://code.google.com/p/simulation...scale_data.inc
The first two as mentioned are the raw spell datamined files. Both are EXTREMELY large so either just open them up in a web browser or a program that can handle large text files. The scale data file contains scaling information for how much haste is required for 1% haste, crit, mastery, and so on. The main section we need is the spell scaling. Each class has a set spell baseline that all spells scale around. This can be a fraction of that baseline or a multiple of that baseline. For monks at 90, that spell scaling baseline is 1094.739746093750000 (https://code.google.com/p/simulation...e_data.inc#256)
Next we look at all instances of the spell. In this case we will be looking at both the damage component (id 123996) and the component that triggers the damage (id 123999)Here you take the spell id of Crackling Jade Lightning and get the following four (adding in titles to help)
Code:
//{ Name , Id,Flags, PrjSp, Sch, Class, Race,Sca,MSL,ExtraCoeff,SpLv,MxL,MinRange,MaxRange,Cooldown, GCD, Cat, Duration, RCost, RPG,Stac, PCh,PCr, ProcFlags, EqpCl, EqpInvType,EqpSubclass,CastMn,CastMx,Div, Scaling,SLv, RplcId, { Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12 }, Description, Tooltip, Description Variable, Icon, ActiveIcon, Effect1, Effect2, Effect3 },
{ "Crackling Tiger Lightning" , 123996, 0x00, 0.000000, 0x08, 0x200, 0x000, 10, 0, 0.5050000, 1, 0, 0.0, 50000.0, 0, 0, 0, 0, 0x0000, 0, 0, 0, 0, 0x00000000, 0, 0.000, 0, 0x00000000, 0x00000000, 0, 0, 20, 1.0000000000, 0, 0, { 0x00000000, 0x00000000, 0x00000000, 0x40000200, 0x00000001, 0x00000000, 0x00800000, 0x00000000, 0x00000200, 0x00000000, 0x00000000, 0 }, "$@spelldesc123904", 0, 0, "ability_monk_cracklingjadelightning", 0, 0, 0, 0 }, /* 156720 */
Code:
//{ Id,Flags, SpId,Idx, EffectType , EffectSubType , Average, Delta, Unknown, Coefficient, Ampl, Radius, RadMax, BaseV, MiscV, MiscV2, Trigg, DmgMul, CboP, RealP,Die, 0, 0 },
{ 156720, 0x00, 123996, 0, E_SCHOOL_DAMAGE , A_NONE , 0.2930000126, 0.0000000000, 0.0000000000, 0.0000000000, 0, 0.0, 10.0, 1, 0, 0, 0, 1.000000, 0.0, 0.000, 0, 0, 0 },
Code:
/{ Name , Id,Flags, PrjSp, Sch, Class, Race,Sca,MSL,ExtraCoeff,SpLv,MxL,MinRange,MaxRange,Cooldown, GCD, Cat, Duration, RCost, RPG,Stac, PCh,PCr, ProcFlags, EqpCl, EqpInvType,EqpSubclass,CastMn,CastMx,Div, Scaling,SLv, RplcId, { Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12 }, Description, Tooltip, Description Variable, Icon, ActiveIcon, Effect1, Effect2, Effect3 },
{ "Crackling Tiger Lightning Driver" , 123999, 0x00, 0.000000, 0x08, 0x200, 0x000, 10, 0, 0.0000000, 0, 0, 0.0, 0.0, 0, 0, 0, -1, 0x0000, 0, 0, 0, 0, 0x00000000, 0, 0.000, 0, 0x00000000, 0x00000000, 0, 0, 20, 1.0000000000, 0, 0, { 0x09040980, 0x00000000, 0x00000000, 0x00000000, 0x00000080, 0x00000200, 0x00000000, 0x00000000, 0x00000000, 0x00100000, 0x00000000, 0 }, 0, 0, 0, "ability_monk_summontigerstatue", 0, 0, 0, 0 }, /* 156723 */
Code:
//{ Id,Flags, SpId,Idx, EffectType , EffectSubType , Average, Delta, Unknown, Coefficient, Ampl, Radius, RadMax, BaseV, MiscV, MiscV2, Trigg, DmgMul, CboP, RealP,Die, 0, 0 },
{ 156723, 0x00, 123999, 0, E_APPLY_AURA , A_PERIODIC_TRIGGER_SPELL , 0.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, 1000, 0.0, 0.0, 1, 0, 0, 123996, 1.000000, 0.0, 0.000, 0, 0, 0 },
First thing I would like to point out is, the ExtraCoeff value of Crackling Tiger Lightning. This is the AP multiplier that is added to the damage. In this case it's 0.5050000, or 50.5% of AP. The rest of that line isn't needed per-se but interesting to look at (like giving cooldowns, whether it's affected by GCD, etc). The next section is where the damage component is located this tells us the type of damage (Elemental) as well as base value and so on. BaseV indicated the minimum the attack does (in this case 1 damage). The Average is what we need to be looking at. As indicated before, all spells work around a base spell scale, 1094.739746093750000 for lvl 90 monks. The average multiplies it's number and provides a base value for the damage. So in the case of CTL, it's 1094.739746093750000 * 0.2930000126 or 320.75875939918955078125
Other stuff about that line that people might find interesting is Delta. Delta refers to a range that it can hit. So say for example a spell did 1000 damage but had a delta of 0.1, you divide that delta in half (0.05) and add and subtract that from 1 (0.95 & 1.05) and multiply those by the damage to get the range of your damage (950 - 1050). The Ampl is how much time in between each cast does the spell happen in milliseconds (1000 milliseconds = 1 second)