Fixing AK to support 10% decay


Locate your AlreadyKilled.lua file (interface/Addons/AlreadyKilled/AlreadyKilled.lua) Find the function called: AK_GetRationByCount() and replace it with the code shown below. Punctuation matters, Case Matters. no typos.

local function AK_GetRatioByCount(count) -- Count, From 1 (first kill) to infini
  if(count == 1) then return 1.0;end
  if(count == 2) then return 0.90;end
  if(count == 3) then return 0.80;end
  if(count == 4) then return 0.70;end
  if(count == 5) then return 0.60;end
  if(count == 6) then return 0.50;end
  if(count == 7) then return 0.40;end
  if(count == 8) then return 0.30;end
  if(count == 9) then return 0.20;end
  if(count == 10) then return 0.10;end

  return 0; -- No honor
end
  • Currently 0.00/5
Rating: 0.00/5 (0 votes cast)

Share It!

Trackback

Trackback URL for this entry: http://www.tbayne.net/trackback.php?id=20060823190253811

No trackback comments for this entry.