Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] You have two onLogin functions.

[DiscordArchive] You have two onLogin functions.

[DiscordArchive] You have two onLogin functions.

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
09-09-2025, 02:46 PM
#11
Archived author: Aldori • Posted: 2025-09-09T14:46:57.109000+00:00
Original source

Put the spell IDs in it
rektbyfaith
09-09-2025, 02:46 PM #11

Archived author: Aldori • Posted: 2025-09-09T14:46:57.109000+00:00
Original source

Put the spell IDs in it

rektbyfaith
Administrator
0
09-09-2025, 02:49 PM
#12
Archived author: Band • Posted: 2025-09-09T14:49:05.481000+00:00
Original source

Roger that, I will definitely do that! Thank you so much
rektbyfaith
09-09-2025, 02:49 PM #12

Archived author: Band • Posted: 2025-09-09T14:49:05.481000+00:00
Original source

Roger that, I will definitely do that! Thank you so much

rektbyfaith
Administrator
0
09-09-2025, 02:50 PM
#13
Archived author: Aldori • Posted: 2025-09-09T14:50:44.447000+00:00
Original source

Then once you have that table, your removeAllRacials function can be simplified to this

```
local function removeAllRacials(p)
for _, spellId in ipairs(SPELLS_TO_REMOVE) do
p:RemoveSpell(spellId)
end
end
```
rektbyfaith
09-09-2025, 02:50 PM #13

Archived author: Aldori • Posted: 2025-09-09T14:50:44.447000+00:00
Original source

Then once you have that table, your removeAllRacials function can be simplified to this

```
local function removeAllRacials(p)
for _, spellId in ipairs(SPELLS_TO_REMOVE) do
p:RemoveSpell(spellId)
end
end
```

rektbyfaith
Administrator
0
09-09-2025, 05:45 PM
#14
Archived author: Terenas Menethil • Posted: 2025-09-09T17:45:40.346000+00:00
Original source

It might be interesting to consider editing the skillLineAbility.dbc to remove the entries for racial abilities, so you can add and remove them without major issues. It also makes it unnecessary to keep removing the abilities from the player who changed racial spells.
rektbyfaith
09-09-2025, 05:45 PM #14

Archived author: Terenas Menethil • Posted: 2025-09-09T17:45:40.346000+00:00
Original source

It might be interesting to consider editing the skillLineAbility.dbc to remove the entries for racial abilities, so you can add and remove them without major issues. It also makes it unnecessary to keep removing the abilities from the player who changed racial spells.

rektbyfaith
Administrator
0
09-09-2025, 05:52 PM
#15
Archived author: Band • Posted: 2025-09-09T17:52:09.704000+00:00
Original source

I have tried to look at this but honestly I am kind of a noob, not really sure where to start. I would have assumed with something like mod-racial-trait-swap, that would be an easy fix included in a SQL file for that module
rektbyfaith
09-09-2025, 05:52 PM #15

Archived author: Band • Posted: 2025-09-09T17:52:09.704000+00:00
Original source

I have tried to look at this but honestly I am kind of a noob, not really sure where to start. I would have assumed with something like mod-racial-trait-swap, that would be an easy fix included in a SQL file for that module

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)