Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hey, when creating new custom weapon, for example melee weapon, you can't use spells because its not

[DiscordArchive] Hey, when creating new custom weapon, for example melee weapon, you can't use spells because its not

[DiscordArchive] Hey, when creating new custom weapon, for example melee weapon, you can't use spells because its not

rektbyfaith
Administrator
0
06-03-2025, 10:59 AM
#1
Archived author: Shako • Posted: 2025-06-03T10:59:45.163000+00:00
Original source

Hey, when creating new custom weapon, for example melee weapon, you can't use spells because its not in DBC, so solution is to add this item in item dbc aswell, but my question is: maybe is it enough to add it in database item.dbc table instead of dbc files in core and then patch it?
rektbyfaith
06-03-2025, 10:59 AM #1

Archived author: Shako • Posted: 2025-06-03T10:59:45.163000+00:00
Original source

Hey, when creating new custom weapon, for example melee weapon, you can't use spells because its not in DBC, so solution is to add this item in item dbc aswell, but my question is: maybe is it enough to add it in database item.dbc table instead of dbc files in core and then patch it?

rektbyfaith
Administrator
0
06-03-2025, 11:10 AM
#2
Archived author: Mithria • Posted: 2025-06-03T11:10:31.743000+00:00
Original source

i'm not sure I understand, what do you mean you can't use spells when making a melee weapon
rektbyfaith
06-03-2025, 11:10 AM #2

Archived author: Mithria • Posted: 2025-06-03T11:10:31.743000+00:00
Original source

i'm not sure I understand, what do you mean you can't use spells when making a melee weapon

rektbyfaith
Administrator
0
06-03-2025, 11:11 AM
#3
Archived author: Shako • Posted: 2025-06-03T11:11:09.918000+00:00
Original source

I mean for example if I create new custom weapon with new ID for paladin, crusader strike etc cant be used , when you mouseover spell it says "require melee Weapon"
rektbyfaith
06-03-2025, 11:11 AM #3

Archived author: Shako • Posted: 2025-06-03T11:11:09.918000+00:00
Original source

I mean for example if I create new custom weapon with new ID for paladin, crusader strike etc cant be used , when you mouseover spell it says "require melee Weapon"

rektbyfaith
Administrator
0
06-03-2025, 11:11 AM
#4
Archived author: Shako • Posted: 2025-06-03T11:11:32.906000+00:00
Original source

to fix this I was always editing item.dbc in dbc folder, but maybe it is enough to insert that item in DB item.dbc table
rektbyfaith
06-03-2025, 11:11 AM #4

Archived author: Shako • Posted: 2025-06-03T11:11:32.906000+00:00
Original source

to fix this I was always editing item.dbc in dbc folder, but maybe it is enough to insert that item in DB item.dbc table

rektbyfaith
Administrator
0
06-03-2025, 11:11 AM
#5
Archived author: Ryan Turner • Posted: 2025-06-03T11:11:45.031000+00:00
Original source

If teleporting (i think `.tele BossLichKing` is the one i named it) directly to the last room or lich king ID (if he's spawned) should be enough.

Otherwise you can get the proper way which is to (get inside of the instance)

`instance getbossstate` (should show you all the IDs and their state), you can also see in [DataTypes](https://github.com/azerothcore/azerothco..._citadel.h)
`instance setbossstate $bossID $state`
You can check what the states mean in [EncounterState](https://github.com/azerothcore/azerothco...ceScript.h)

When you set the bosstate is the same of failing, "in the fight" or completing it without actually killing them
rektbyfaith
06-03-2025, 11:11 AM #5

Archived author: Ryan Turner • Posted: 2025-06-03T11:11:45.031000+00:00
Original source

If teleporting (i think `.tele BossLichKing` is the one i named it) directly to the last room or lich king ID (if he's spawned) should be enough.

Otherwise you can get the proper way which is to (get inside of the instance)

`instance getbossstate` (should show you all the IDs and their state), you can also see in [DataTypes](https://github.com/azerothcore/azerothco..._citadel.h)
`instance setbossstate $bossID $state`
You can check what the states mean in [EncounterState](https://github.com/azerothcore/azerothco...ceScript.h)

When you set the bosstate is the same of failing, "in the fight" or completing it without actually killing them

rektbyfaith
Administrator
0
06-03-2025, 11:18 AM
#6
Archived author: Mithria • Posted: 2025-06-03T11:18:44.783000+00:00
Original source

the _dbc table alone will not be enough, no
rektbyfaith
06-03-2025, 11:18 AM #6

Archived author: Mithria • Posted: 2025-06-03T11:18:44.783000+00:00
Original source

the _dbc table alone will not be enough, no

rektbyfaith
Administrator
0
06-03-2025, 11:22 AM
#7
Archived author: Mithria • Posted: 2025-06-03T11:22:48.034000+00:00
Original source

<@151411715769106432> any chance I can get the inactive role removed from myself? I'm pretty active once again lmao
rektbyfaith
06-03-2025, 11:22 AM #7

Archived author: Mithria • Posted: 2025-06-03T11:22:48.034000+00:00
Original source

<@151411715769106432> any chance I can get the inactive role removed from myself? I'm pretty active once again lmao

rektbyfaith
Administrator
0
06-03-2025, 11:23 AM
#8
Archived author: Ryan Turner • Posted: 2025-06-03T11:23:52.780000+00:00
Original source

I will shoot a message to higher staff Wink
rektbyfaith
06-03-2025, 11:23 AM #8

Archived author: Ryan Turner • Posted: 2025-06-03T11:23:52.780000+00:00
Original source

I will shoot a message to higher staff Wink

rektbyfaith
Administrator
0
06-03-2025, 11:23 AM
#9
Archived author: Mithria • Posted: 2025-06-03T11:23:58.606000+00:00
Original source

awesome thanks
rektbyfaith
06-03-2025, 11:23 AM #9

Archived author: Mithria • Posted: 2025-06-03T11:23:58.606000+00:00
Original source

awesome thanks

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)