Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Im wanna kill character when aura (debuff) ends (timeout)

[DiscordArchive] Im wanna kill character when aura (debuff) ends (timeout)

[DiscordArchive] Im wanna kill character when aura (debuff) ends (timeout)

rektbyfaith
Administrator
0
10-04-2023, 12:48 PM
#1
Archived author: Sicker • Posted: 2023-10-04T12:48:27.442000+00:00
Original source

Im wanna kill character when aura (debuff) ends (timeout)
And for linking this script to spell need add a new row with entry and scriptname to `spell_script_names` ?
rektbyfaith
10-04-2023, 12:48 PM #1

Archived author: Sicker • Posted: 2023-10-04T12:48:27.442000+00:00
Original source

Im wanna kill character when aura (debuff) ends (timeout)
And for linking this script to spell need add a new row with entry and scriptname to `spell_script_names` ?

rektbyfaith
Administrator
0
10-04-2023, 07:50 PM
#2
Archived author: Srzm • Posted: 2023-10-04T19:50:24.329000+00:00
Original source

Yes, at the end you have to add the spell script at the `spell_script_names` db table.
To kill the player, try a spell like "Suicide (No Log)", spell id: 51744.

Look at the `spell_dru_lifebloom` in the `spell_druid.cpp`, and create a similar spell? Maybe that's a start?
rektbyfaith
10-04-2023, 07:50 PM #2

Archived author: Srzm • Posted: 2023-10-04T19:50:24.329000+00:00
Original source

Yes, at the end you have to add the spell script at the `spell_script_names` db table.
To kill the player, try a spell like "Suicide (No Log)", spell id: 51744.

Look at the `spell_dru_lifebloom` in the `spell_druid.cpp`, and create a similar spell? Maybe that's a start?

Recently Browsing
 
Recently Browsing