• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Custom spell

Status
Not open for further replies.

Black Ace

Insane Member
Hey guys , I have a custom spell script which was made by tommy and I've done some dbc edits and edited the script. I would ask him but we have alot of time difference.

but I pretty much don't know how to add it to server .
could someone tell me the steps I need to take?

My guess is add the script to spellscripts , create new raw in spell.dbc and somehow link it?

thanks in advance!
 

Rochet2

Moderator / Eluna Dev
It would help to know what kind of spellscript is it?
Is it an actual spellscript?
In that case you should link it to the spell in spell_scriptnames
Otherwise if it is a playerscript, it needs no linking, other than in the script it likely needs a hardcoded spellID set.

Are you only asking about how to link the script to the spell or something more?

Depends on your core.
And for the DBC editing a new spell, I dont know how the client patches go, but I dont think it should really matter for the core how the spell looks or is like (is custom etc). (as long as it is valid)
The script should work nevertheless.
 

Black Ace

Insane Member
well it's a script that doesn't really do anything except pick a random sound that I've added and play it for people nearby , kinda similar to headless horseman's laugh spell
Tcore c++
 

Tommy

Founder
well it's a script that doesn't really do anything except pick a random sound that I've added and play it for people nearby , kinda similar to headless horseman's laugh spell
Tcore c++

-----

Scratch what I said..

Here's a query you can use when you have your custom spell done:

Code:
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (SPELLID, 'spell_player_taunt_sound');
 
Last edited:
Status
Not open for further replies.
Top