Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- STRING #1:
- function MasterLootManager:AwardLootClicked(buttonFrame)
- local itemLink = MasterLootTable:GetItemLink(self.currentItemIndex)
- if AssignLoot(itemLink, MasterLootRolls.winningPlayer) then
- MasterLootLogger:ProcessItem(itemLink, MasterLootRolls.winningPlayer, self.lastRollType, MasterLootRolls:GetWinningValue());
- self:Speak(string.format(MLM_Local["Congratutlations to on winning"], MasterLootRolls.winningPlayer, itemLink))
- end
- end
- STRING #2
- function MasterLootManager:PlayerSelectionButtonClicked(buttonFrame)
- local buttonName = buttonFrame:GetName()
- local playerNameLabel = getglobal(buttonName .. "_PlayerName")
- MasterLootRolls.winningPlayer = playerNameLabel:GetText()
- MasterLootRolls:UpdateRollList()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement