[DiscordArchive] Cant u cheese it with talent points from quests?
[DiscordArchive] Cant u cheese it with talent points from quests?
Archived author: Jyria • Posted: 2023-07-23T11:29:25.039000+00:00
Original source
Cant u cheese it with talent points from quests?
Archived author: Rymercyble • Posted: 2023-07-23T11:34:32.493000+00:00
Original source
u might as well just edit method which is verifying talent points
Archived author: Clotic • Posted: 2023-07-23T11:34:32.733000+00:00
Original source
i made dummy spell and just used eluna to give out points. Had to do core edits tho
Archived author: Clotic • Posted: 2023-07-23T11:35:16.376000+00:00
Original source
example ```lua
local function consumeItemForTalent(event, player, item, target)
-- if (item:GetEntry() == talentEntryItem) then
for i = 1, #tableForItems do
local talentEntryItem = tableForItems[i]
if (item:GetEntry() == talentEntryItem.itemID) then
-- local playerClass = player:GetClass()
local talentPoints = talentEntryItem.talentPoints
-- consume item
player:RemoveItem(item, 1)
player:ModifyBonusTalents(talentPoints)
end
end
end
```