?> <script type="text/javascript"> //<![CDATA[ $(document).ready(function() { new Summary.Stats({ "health": <?php echo WoW_Characters::GetHealth(); ?> , "power": <?php echo WoW_Characters::GetPowerValue(); ?> , "powerTypeId": <?php echo WoW_Characters::GetPowerType(); ?> , "hasOffhandWeapon": false, "masteryName": "", "masteryDescription": "", "averageItemLevelEquipped": <?php echo WoW_Characters::GetAVGEquippedItemLevel(); ?> , "averageItemLevelBest": <?php echo WoW_Characters::GetAVGItemLevel(); ?> , "dmgMainMax": <?php echo $melee_stats['damage']['max'];
</li>', WoW_Characters::GetURL(), $i == WoW_Characters::GetActiveSpec() ? 'primary' : 'secondary', $spec['active'] == 1 ? 'active' : null, $spec['active'] == 1 ? '<span class="checkmark"></span>' : null, $spec['icon'], $spec['roles'], $spec['name'], $spec['treeOne'], $spec['treeTwo'], $spec['treeThree']); $i++; } ?> </ul> </div> <div class="summary-health-resource"> <ul> <li class="health" id="summary-health" data-id="health"><span class="name"><?php echo WoW_Locale::GetString('stat_health'); ?> </span><span class="value"><?php echo WoW_Characters::GetHealth(); ?> </span></li> <li class="resource-<?php echo WoW_Characters::GetPowerType(); ?> " id="summary-power" data-id="power-<?php echo WoW_Characters::GetPowerType(); ?> "><span class="name"><?php echo WoW_Locale::GetString('stat_power' . WoW_Characters::GetPowerType()); ?> </span><span class="value"><?php echo WoW_Characters::GetPowerValue(); ?> </span></li> </ul> </div>