View Full Version : [SOLVED] Item with custom spell

04-24-2014, 04:04 AM
Hi , anyone can help me ? I want to create one item ( shirt ) when use will set aura "wings" for unlimited time from http://www.wowhead.com/spell=31884/avenging-wrath , how i can do this ? thx

04-24-2014, 09:29 AM
Note that this is not a visual spell, you would gain the damage and healing bonus aswell.
If you do not want to program something which casts this spell on players with the item equipped every 20 seconds, you would most likely need to edit the duration in the dbc files.

04-24-2014, 09:32 AM
Did you want the Avenging Wrath attributes on the aura?

04-24-2014, 02:16 PM
without attributes, only visual :/ This is a problem

i found this in DBc 7880 number of visual spell avenging

this can help with anything ? https://github.com/TrinityCore/TrinityCore/commit/574fa30ea6924902af1d845e667f38c043b32e94

04-24-2014, 05:55 PM
There are many ways one could go about try doing this. Hmm..
You could try modifying one of the spells http://wotlk.openwow.com/search=Avenging+Wrath#spells
You can modify it in the DBC files or spellmgr.cpp
There then try removing the normal effects and make the spell duration infinite etc.

04-24-2014, 07:59 PM
what fields i need to change to remove dmg bonus and unlimited time ?

04-24-2014, 09:30 PM
Set the effects and their values to 0.
Find some permanent spell and use it's DurationIndex or just check the DBC for some index that has -1 as duration. (its infinite)

04-25-2014, 02:00 PM
works , thx so much