[DiscordArchive] Tried debugging what the output of 'item' might be?
[DiscordArchive] Tried debugging what the output of 'item' might be?
Archived author: Bset • Posted: 2022-02-11T05:09:11.886000+00:00
Original source
Tried debugging what the output of 'item' might be?
Archived author: Bset • Posted: 2022-02-11T05:10:01.910000+00:00
Original source
I mean, I expect you've got it right but never know
Archived author: Mihari • Posted: 2022-02-11T05:11:17.297000+00:00
Original source
so, it functions when item == itemid is 'item ~= item id' and gives the spell but for all items though when its 'item == itemid' it stops giving the spell for all items even the specific one
Archived author: Bset • Posted: 2022-02-11T05:11:32.426000+00:00
Original source
I don't code for wow but maybe it's sending the number as a string for some dumb reason (I doubt it) or sending a name and not a number (again, doubt it)
Archived author: Bset • Posted: 2022-02-11T05:11:52.843000+00:00
Original source
(warhammer online does stupid stuff with the api sometimes)
Archived author: Bset • Posted: 2022-02-11T05:12:05.248000+00:00
Original source
Thus why I ask
Archived author: Bset • Posted: 2022-02-11T05:12:47.196000+00:00
Original source
Also, try putting a debug msg inside of the itemid check
Archived author: Bset • Posted: 2022-02-11T05:13:18.706000+00:00
Original source
Just to see if it actually does find that Id, if so there is a problem learning the spell
Archived author: Bset • Posted: 2022-02-11T05:13:53.401000+00:00
Original source
If not then need to find why its not finding that. You might need to store item in another variable once the function is called and check to that. Who knows?
Archived author: Mihari • Posted: 2022-02-11T05:24:26.139000+00:00
Original source
well, its not the right item id it seems