Skip to content

Instantly share code, notes, and snippets.

@keiosweb
Created March 4, 2016 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keiosweb/b3d049d9c9751256e8db to your computer and use it in GitHub Desktop.
Save keiosweb/b3d049d9c9751256e8db to your computer and use it in GitHub Desktop.
MSBT 5.4 Loot Item Number Bugfix PL
  1. Przejdź do folderu /Interface/AddOns/MikScrollingBattleText/

  2. Skopiuj gdzieś w ramach kopii zapasowej plik MSBTLoot.lua

  3. Otwórz plik MSBTLoot.lua

  4. Znajdź linie 100 - 102

  5. Zmień

 local numLooted = parserEvent.amount or 1
 local numItems = GetItemCount(itemLink) or 0
 local numTotal = numItems + numLooted

na (pamiętaj o spacjach na początku, utrzymujmy porządek :P)

 local numLooted = parserEvent.amount or 1
 local numItems = GetItemCount(itemLink)
 if (numItems == 0) then numItems = numLooted end
 local numTotal = numItems
  1. Wyczyść cache
  2. Uruchom grę
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment