[DiscordArchive] Oh, thank you. I didn't know that was a thing. So instead of player:HasSpell if I use Player:LearnCl
[DiscordArchive] Oh, thank you. I didn't know that was a thing. So instead of player:HasSpell if I use Player:LearnCl
Archived author: Revision • Posted: 2022-06-14T14:23:17.030000+00:00
Original source
Oh, thank you. I didn't know that was a thing. So instead of player:HasSpell if I use Player:LearnClassSpells all I have to do is HasSpell?
Archived author: Foe • Posted: 2022-06-14T14:23:59.794000+00:00
Original source
You'd do self:HasSpell in the LearnClassSpells function
Archived author: Revision • Posted: 2022-06-14T14:24:12.189000+00:00
Original source
Ah, okay. That makes sense, heh.
Archived author: Foe • Posted: 2022-06-14T14:24:21.116000+00:00
Original source
Self is reference to the player object in that case
Archived author: Honey • Posted: 2022-06-14T14:26:21.921000+00:00
Original source
i must admit that i'm taken aback by the need of declaring it globally
Archived author: Revision • Posted: 2022-06-14T14:26:23.150000+00:00
Original source
Yeah. I wanted to ask too, is there something in LUA that works like sWorld->setRate and sWorld->getRate? I couldn't find it so I don't think so but wanted to ask to be sure.
Archived author: Foe • Posted: 2022-06-14T14:26:48.218000+00:00
Original source
It's appending to the list of player object methods, which is global to begin with