Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Cant u cheese it with talent points from quests?

[DiscordArchive] Cant u cheese it with talent points from quests?

[DiscordArchive] Cant u cheese it with talent points from quests?

rektbyfaith
Administrator
0
07-23-2023, 11:29 AM
#1
Archived author: Jyria • Posted: 2023-07-23T11:29:25.039000+00:00
Original source

Cant u cheese it with talent points from quests?
rektbyfaith
07-23-2023, 11:29 AM #1

Archived author: Jyria • Posted: 2023-07-23T11:29:25.039000+00:00
Original source

Cant u cheese it with talent points from quests?

rektbyfaith
Administrator
0
07-23-2023, 11:34 AM
#2
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
rektbyfaith
07-23-2023, 11:34 AM #2

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

rektbyfaith
Administrator
0
07-23-2023, 11:34 AM
#3
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
rektbyfaith
07-23-2023, 11:34 AM #3

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

rektbyfaith
Administrator
0
07-23-2023, 11:35 AM
#4
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
```
rektbyfaith
07-23-2023, 11:35 AM #4

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
```

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)