This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Custom spell. Help please.  (Read 1732 times)

Eclipse85

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
[QUESTION] Custom spell. Help please.
« on: March 08, 2013, 11:56:06 pm »
Hi all!

I want to create a custom spell, like warlocks summon imp, but i don't know how to create this.
The basic idea is a custom combat minion (for example imp, voidvalker) with custom abilities, and the minion level is equal to player level (if the player is earn +1 level, the minion is level up to player level).I know, how to add custom script to the npc, but i don't know, how to create summonable minion.

I'm use the latest revision of Trinitycore.

Somebody help please  :roll:

(Sorry, my english is a little bad :) )
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Diemen

  • Registred Member
  • Race Changer
  • *****
  • Posts: 37
    • View Profile
Re: [QUESTION] Custom spell. Help please.
« Reply #1 on: March 09, 2013, 12:00:30 am »
I don't want to be rude but this isn't something you can just do.
Making Custom spells requires DBC Editing and Experience.
Maybe you can take a look  at http://wowdev.wiki/index.php?title=Spell.dbc
to get a understanding of how the DBC's are build.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Eclipse85

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Re: [QUESTION] Custom spell. Help please.
« Reply #2 on: March 09, 2013, 12:04:47 am »
Ok. And modify some non combat minion is possible?
I want to create a follower, who fight with the player.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] Custom spell. Help please.
« Reply #3 on: March 10, 2013, 04:57:15 am »
It's actually not to difficult on the surface, I've done it on ArcEmu, it would have similar methods on TrinityCore but in different places of the core.

On the base of it (by year old memory) , all you do is find the location of the scripts for warlock summons, copy/paste/edit things that are/aren't relevant. A a definition in the core, probably in SharedDefines.h. Clone a summon spell in the spell.dbc, change the reference to the core definition so it matches your summon and from there you have to do everything you would to normally edit an existing summon.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »