WoW:API GiveMasterLoot: Difference between revisions
Jump to navigation
Jump to search
m
fixed "i" in the example to be "ci"
No edit summary |
m (fixed "i" in the example to be "ci") |
||
| Line 16: | Line 16: | ||
;''Example'' | ;''Example'' | ||
for ci = 1, GetNumRaidMembers() do | for ci = 1, GetNumRaidMembers() do | ||
if (GetMasterLootCandidate( | if (GetMasterLootCandidate(ci) == UnitName("player")) then | ||
for li = 1, GetNumLootItems() do | for li = 1, GetNumLootItems() do | ||
GiveMasterLoot(li, ci); | GiveMasterLoot(li, ci); | ||