Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Item 34833 „unlit torches“ on use will show a green Aoe circle to select the target area, but they s

[DiscordArchive] Item 34833 „unlit torches“ on use will show a green Aoe circle to select the target area, but they s

[DiscordArchive] Item 34833 „unlit torches“ on use will show a green Aoe circle to select the target area, but they s

rektbyfaith
Administrator
0
09-26-2023, 08:59 AM
#1
Archived author: sudlud • Posted: 2023-09-26T08:59:43.978000+00:00
Original source

Item 34833 „unlit torches“ on use will show a green Aoe circle to select the target area, but they shouldn’t. (Ideally it would just cast the spell with a fixed target or the caster as target)
I’ve trouble finding out where the information actually comes from that the item should show an aoe circle on use? It’s not in item_template as far as I can tell. Also not from the spell as the circle appears even if no spell is set in item_template.
Also when trying to fix this using a script (itemscript, spellscript) - they all get triggered AFTER the aoe circle has been placed, not on the initial click to use the item.
Can this be done using conditions or how can I approach this?
rektbyfaith
09-26-2023, 08:59 AM #1

Archived author: sudlud • Posted: 2023-09-26T08:59:43.978000+00:00
Original source

Item 34833 „unlit torches“ on use will show a green Aoe circle to select the target area, but they shouldn’t. (Ideally it would just cast the spell with a fixed target or the caster as target)
I’ve trouble finding out where the information actually comes from that the item should show an aoe circle on use? It’s not in item_template as far as I can tell. Also not from the spell as the circle appears even if no spell is set in item_template.
Also when trying to fix this using a script (itemscript, spellscript) - they all get triggered AFTER the aoe circle has been placed, not on the initial click to use the item.
Can this be done using conditions or how can I approach this?

rektbyfaith
Administrator
0
09-26-2023, 10:00 AM
#2
Archived author: Revision • Posted: 2023-09-26T10:00:17.512000+00:00
Original source

I'd say the function of the spell, what type of spell it is and how it's used, is loaded from DBCs.
rektbyfaith
09-26-2023, 10:00 AM #2

Archived author: Revision • Posted: 2023-09-26T10:00:17.512000+00:00
Original source

I'd say the function of the spell, what type of spell it is and how it's used, is loaded from DBCs.

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