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: [Mangos][1.12.1] How to add new spell. Help needed!  (Read 769 times)

Ayos

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
[Mangos][1.12.1] How to add new spell. Help needed!
« on: October 08, 2019, 05:46:50 pm »
Hi!
My issue is, that if I copy an existing spell to a new ID, it will properly show ingame, even if I add it to a talent tree, but when I try to cast it, it will cast infinitely. The cast stops at the end of the cast bar while the bar shows the proper spell name aswell.
Not sure why is that, but I'm clueless at this point for sooo long.

Here is what I have done so far:
- Copied the spell to a new id in the spell_templates database table
- Copied the spell to the a new id in the Spell.dbc (same ID as in the database)
- Also added it to the SkillLineAbility.dbc
- Added the new Spell.dbc & SkillLineAbility.dbc to the server's dbc files, and into my client patch MPQ
- Server restarted, client cache cleaned, the spell shows properly just won't finish casting

If somebody did something like this before, any help would be highly appreciated!

Ayos

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: [Mangos][1.12.1] How to add new spell. Help needed!
« Reply #1 on: March 11, 2020, 04:14:58 pm »
The problem was, that the vmangos (nost) core only supports spells with entry (id) up to 35.000. This can be changed in the core.