forceUseTalent [1.7b3]

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Pisastrish
Thalore
Posts: 157
Joined: Wed Sep 28, 2016 8:07 pm

forceUseTalent [1.7b3]

#1 Post by Pisastrish »

Not 100% sure this is a bug, so sorry in advance if I'm wrong. I've been having trouble getting forceUseTalent to work properly in an addon I'm working on, and when I was looking through the code for it, I saw

Code: Select all

self:setCurrentTalentMode("forced", t.id)
local ret = {self:useTalent(t, def.force_who, def.force_level, def.ignore_cd or def.ignore_cooldown, def.force_target, def.silent, true)}
It seems like t has to be a table for t.id to work, but useTalent doesn't accept t if it is a table.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: forceUseTalent [1.7b3]

#2 Post by darkgod »

you're right, fixed :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply