Forum > Serverside Modding
[QUESTION] You are in the wrong zone.
<< < (2/2)
schlumpf:
For copying it, just copy the spell entry in spell.dbc and copy the code for dropping the object in the spell scripts of your emulator.
kojak488:
Spell scripts in the emulator code rather than the spell_scripts in the DB? Editing the emulator code is going to be a bit above me. Thanks for sending me in the right direction though!
schlumpf:
The script for silithus world pvp is at https://github.com/TrinityCore/TrinityC ... rPvPSI.cpp and https://github.com/TrinityCore/TrinityC ... oorPvPSI.h.
In case you want to do exactly the same, just copy that and replace everything related to silithus with your own stuff. (and add the script to the build system etc).
If you don't want world pvp, you need to do the script by yourself and most likely different.
Navigation
[0] Message Index
[*] Previous page
|