Quote:
Originally Posted by Caerydd
Is it possible to add in the various critical strike ratings and things?
|
I had this huge thing typed out on how to add custom data from the armory site ready to go and i was almost done with it and then i realized that i can do it in a much better way.
I'll have to re-write some things first.
I can use any data from an armory page (view source and its all XML)
as an example
HTML Code:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/layout/character-sheet.xsl"?><page globalSearch="1" lang="en_us" requestUrl="/character-sheet.xml">
<characterInfo>
<character battleGroup="Nightfall" charUrl="r=Alterac+Mountains&n=Azrael" class="Rogue" classId="4" faction="Horde" factionId="1" gender="Male" genderId="0" guildName="Syndicate of Shadows" guildUrl="r=Alterac+Mountains&n=Syndicate+of+Shadows&p=1" lastModified="February 5, 2008" level="65" name="Azrael" prefix="" race="Undead" raceId="5" realm="Alterac Mountains" suffix=""/>
<characterTab>
<talentSpec treeOne="15" treeThree="0" treeTwo="41"/>
<buffs/>
<debuffs/>
<pvp>
<lifetimehonorablekills value="1554"/>
<arenacurrency value="0"/>
</pvp>
<professions>
<skill key="engineering" max="300" name="Engineering" value="244"/>
<skill key="mining" max="300" name="Mining" value="226"/>
</professions>
<title value=""/>
<knownTitles/>
<characterBars>
<health effective="5939"/>
<secondBar casting="-1" effective="100" notCasting="-1" type="e"/>
</characterBars>
<baseStats>
<strength attack="103" base="86" block="-1" effective="113"/>
<agility armor="676" attack="328" base="141" critHitPercent="9.37" effective="338"/>
<stamina base="83" effective="363" health="3450" petBonus="-1"/>
<intellect base="35" critHitPercent="-1.00" effective="35" mana="-1" petBonus="-1"/>
<spirit base="59" effective="68" healthRegen="23" manaRegen="-1"/>
<armor base="2018" effective="2018" percent="19.71" petBonus="-1"/>
</baseStats>
<resistances>
<arcane petBonus="-1" value="0"/>
<fire petBonus="-1" value="0"/>
<frost petBonus="-1" value="0"/>
<holy petBonus="-1" value="0"/>
<nature petBonus="-1" value="0"/>
<shadow petBonus="-1" value="10"/>
</resistances>
<melee>
<mainHandDamage dps="117.2" max="347" min="263" percent="0" speed="2.60"/>
<offHandDamage dps="91.8" max="137" min="102" percent="0" speed="1.30"/>
<mainHandSpeed hastePercent="0.00" hasteRating="0" value="2.60"/>
<offHandSpeed hastePercent="0.00" hasteRating="0" value="1.30"/>
<power base="561" effective="901" increasedDps="64.0"/>
<hitRating increasedHitPercent="2.78" value="34"/>
<critChance percent="18.73" plusPercent="4.44" rating="76"/>
<expertise additional="0" percent="2.50" rating="0" value="10"/>
</melee>
<ranged>
<weaponSkill rating="0" value="281"/>
<damage dps="100.6" max="197" min="146" percent="0" speed="1.70"/>
<speed hastePercent="0.00" hasteRating="0" value="1.70"/>
<power base="393" effective="733" increasedDps="52.0" petAttack="-1.00" petSpell="-1.00"/>
<hitRating increasedHitPercent="2.78" value="34"/>
<critChance percent="17.05" plusPercent="4.44" rating="76"/>
</ranged>
<spell>
<bonusDamage>
<arcane value="0"/>
<fire value="0"/>
<frost value="0"/>
<holy value="0"/>
<nature value="0"/>
<shadow value="0"/>
<petBonus attack="-1" damage="-1" fromType=""/>
</bonusDamage>
<bonusHealing value="0"/>
<hitRating increasedHitPercent="0.00" value="0"/>
<critChance rating="0">
<arcane percent="0.00"/>
<fire percent="0.00"/>
<frost percent="0.00"/>
<holy percent="0.00"/>
<nature percent="0.00"/>
<shadow percent="0.00"/>
</critChance>
<penetration value="0"/>
<manaRegen casting="0.00" notCasting="0.00"/>
</spell>
<defenses>
<armor base="2018" effective="2018" percent="19.71" petBonus="-1"/>
<defense decreasePercent="0.00" increasePercent="0.00" plusDefense="0" rating="0" value="320.00"/>
<dodge increasePercent="1.36" percent="19.91" rating="20"/>
<parry increasePercent="0.00" percent="9.80" rating="0"/>
<block increasePercent="0.00" percent="0.00" rating="0"/>
<resilience damagePercent="0.00" hitPercent="0.00" value="0.00"/>
</defenses>
<items>
<item durability="31" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_helmet_31" id="31784" maxDurability="50" permanentenchant="0" randomPropertiesId="0" seed="1442833829" slot="0"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_necklace_03" id="25914" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="270680656" slot="1"/>
<item durability="37" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shoulder_07" id="31148" maxDurability="60" permanentenchant="0" randomPropertiesId="0" seed="892721840" slot="2"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shirt_black_01" id="3427" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="0" slot="3"/>
<item durability="64" gem0Id="28459" gem1Id="28467" gem2Id="28463" icon="inv_chest_leather_03" id="24396" maxDurability="100" permanentenchant="0" randomPropertiesId="0" seed="1878719127" slot="4"/>
<item durability="24" gem0Id="28459" gem1Id="28459" gem2Id="0" icon="inv_belt_29" id="24063" maxDurability="35" permanentenchant="0" randomPropertiesId="0" seed="2043929102" slot="5"/>
<item durability="42" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_pants_leather_08" id="29939" maxDurability="65" permanentenchant="0" randomPropertiesId="0" seed="911117875" slot="6"/>
<item durability="31" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_boots_cloth_05" id="25717" maxDurability="50" permanentenchant="0" randomPropertiesId="0" seed="816862488" slot="7"/>
<item durability="20" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_bracer_08" id="25960" maxDurability="30" permanentenchant="0" randomPropertiesId="0" seed="1030569422" slot="8"/>
<item durability="18" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_gauntlets_14" id="24712" maxDurability="30" permanentenchant="0" randomPropertiesId="-5" seed="1306001438" slot="9"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_ring_04" id="25499" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="1418445178" slot="10"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_ring_04" id="25926" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="1104314345" slot="11"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_datacrystal06" id="28041" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="811388986" slot="12"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_trinketpvp_02" id="18849" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="0" slot="13"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_misc_cape_20" id="25712" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="208396522" slot="14"/>
<item durability="59" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_sword_63" id="24020" maxDurability="90" permanentenchant="0" randomPropertiesId="0" seed="0" slot="15"/>
<item durability="41" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_weapon_shortblade_14" id="31193" maxDurability="65" permanentenchant="0" randomPropertiesId="0" seed="1111220604" slot="16"/>
<item durability="196" gem0Id="0" gem1Id="0" gem2Id="0" icon="ability_upgrademoonglaive" id="28538" maxDurability="200" permanentenchant="0" randomPropertiesId="-13" seed="309526543" slot="17"/>
<item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shirt_guildtabard_01" id="5976" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="0" slot="18"/>
</items>
</characterTab>
</characterInfo>
</page>