View Full Version : [SOLVED] Spell DBC edit issue

Black Ace
11-21-2014, 10:48 AM
Hey guys , I've been trying to edit a buff spell .
the original spell lasts for 30 seconds & is removable with right click.

I've edited the duration to a large number which if we convert to hours it is around 526 hours.
but it still counts to 30 seconds & fades.

also I have added cannot-cancel to the attribute column of the spell but it's still canceled by right click.

any ideas?

11-21-2014, 12:07 PM
How did you implement the new duration and the new attribute? Can you tell us what and where you did exactly? (what values you used and where)
What spell is this?
Why large number and not infinite?
You sure cancelling didnt mean spell casting?

Black Ace
11-21-2014, 01:16 PM
I'm using the spell editor Stoneharry shared long ago.

Spell is originally 52635 - accelerate - gives 10% speed buff to cast & attack
has 30 seconds of fade time , stacks to 20 , removable with death , right click and possibly dispel spells.

I like to remove the duration from it , make it persist through death and disable any remove methods from it ( ofc with exception of gm commands which can remove any aura or buff )

I picked that number because it is the biggest value available in the editor.

here's the duration number :

& here's the edited attributes :

Black Ace
11-22-2014, 02:05 PM
nobody got any ideas? :turtle:

11-22-2014, 03:39 PM
Tried adding values according to this

For the time I used 27, which was supposed to be -1, allowing infinite time, but it seems something went wrong with that as the aura is now 2 seconds only :(
But it sorta worked as the time changed :)
Adding the flag not to allow remove works great. (used -2147483648)
I probably screwed up adding the flag for death persistency since that did nothing.
Would be easier to add these flags in core xd

I columns: 4, 7, 40

If you look in core, you see that infinite spells seem to have negative time entry or possibly 0 and they are passive

ps. I used taliis

Black Ace
11-22-2014, 03:45 PM
hmm then I guess I have to edit the values with another dbc editor that allows negative values.