Unofficial World of Warcraft Forums  
Please respect other members. Please do not post links or information about hacking/warez/cheats.
Read the rules of these forums as we rarely warn before banning. Lost or need RSS check the forum map.

Quick Site Nav
Navigation
Worldofwar.Net
WoW Forums
WoWDigger WoW Database
Articles
Community Blogs
WoW Info
Wrath of the Lich King Info
Primary Professions
Secondary Professions
Maps
Classes
PvP
A-Z Index
Guides
Submit Guides
List Guides
UI/Mods
Latest Mods
Submit Mod
List Macros
Submit Macro
Media Gallery
Gallery Home
Upload Pics
Community WoW Shots
Community BC Shots
Player Pics
Official WoW Shots
Official BC Shots


Donate and get extra forum perks
Support WoW:IncGamers

Go Back   Unofficial World of Warcraft Forums > Site Support Forums > WoWDigger.com Support

 
 
Thread Tools Display Modes
Old 16-11-2005, 11:56 AM   #1
Gorbuz
WorldofWar.Net Member
 
Join Date: Nov 2005
Posts: 2
Exclamation Feature Request: Crit and Dodge Chances

Greetings.

I think WWNData is a greate tool and database, but it misses some key functionality - I cannot compare my rogue's critical and dodge chances with ones from other people's builds..
AFAIK, there are function GetBlockChance, GetDodgeChance and GetCritChance in WoW Lua API.. It would be great if that feature will be implemented soon..

With best gerards, Gorbuz, 60 NE Rogue, Warsong.
Gorbuz is offline  
Old 17-11-2005, 12:10 PM   #2
Gorbuz
WorldofWar.Net Member
 
Join Date: Nov 2005
Posts: 2
I'm not a lua programmer, but I've tried to add missing functionality.

Changes should be done in file CharacterProfiler.lua
Code:
.............
-- line 21: After "WNE_CharProfile_DoScanQuests      = 1;      -- get Quests"
WNE_CharProfile_DoScanCrits       = 1;      -- get Crits
.............
--line 330:  before "if ( WNE_CharProfile_DoScanSkills ) then"
if ( WNE_CharProfile_DoScanCrits ) then
    Profile_AddCrits();
end
.............
--line:808 before "function Profile_AddTalents()"
function Profile_AddCrits()
  WNE_Profile_Print_Method_Trace( "e", "Profile_AddCrits" );
  local lCharProfile        = WNE_CurrentCharacter;
  -- Reset/Initialize
  lCharProfile["Crits"] = {};
  lCharProfile["Crits"]["Block"] = GetBlockChance();
  lCharProfile["Crits"]["Crit"] = GetCritChance();
  lCharProfile["Crits"]["Dodge"] = GetDodgeChance();
  lCharProfile["Crits"]["Parry"] = GetParryChance();
  WNE_Profile_Print_Method_Trace( "x", "Profile_AddCrits" );
end
So, in file wownetexport.lua we see following section
Code:
["Crits"] = {
				["Dodge"] = 12.16806697845459,
				["Block"] = 36.42218399047852,
				["Crit"] = "10.08",
				["Parry"] = 1.240000009536743,
			},
It would be great, if WWNData developers accept my idea and add this code (or more gracefull one) will be added to next version and display statistics
Gorbuz is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Advertisement System V2.5 By   Branden