[DiscordArchive] Relative to base skill level?
[DiscordArchive] Relative to base skill level?
Archived author: tester • Posted: 2022-02-10T04:18:22.387000+00:00
Original source
♂️
Archived author: Dep • Posted: 2022-02-10T04:18:37.200000+00:00
Original source
nah. You have the build system setup now, so you can change anything
Archived author: Dep • Posted: 2022-02-10T04:20:00.738000+00:00
Original source
you did the annoying work of navigating the dependencies so you should use it. You can also run the debugger which is very handy if you get any issues
Archived author: Mihari • Posted: 2022-02-10T04:20:11.275000+00:00
Original source
Fair
Archived author: Dep • Posted: 2022-02-10T04:26:34.348000+00:00
Original source
`PLAYER_EVENT_ON_EQUIP = 29 // (event, player, item, bag, slot)`
Archived author: Dep • Posted: 2022-02-10T04:26:41.435000+00:00
Original source
found the file. This is the how the event is defined
Archived author: Dep • Posted: 2022-02-10T04:29:34.961000+00:00
Original source
```lua
if (slot != nil and slot != 0) then # this should work regardles of 0,1 indexing
player.LearnSPell(1234);
else (unlearn) end
```
Archived author: Dep • Posted: 2022-02-10T04:29:36.589000+00:00
Original source
I assume
Archived author: tester • Posted: 2022-02-10T04:35:34.848000+00:00
Original source
That may not do unequip
Archived author: Dep • Posted: 2022-02-10T04:37:06.517000+00:00
Original source
wanted to keep it short. Might also want to check if the spell is already learned, the error handling in native code might be heavier than the interop for the check