• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Spell DBC edit issue

Status
Not open for further replies.

Black Ace

Insane Member
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?
 

Rochet2

Moderator / Eluna Dev
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

Insane Member
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 :
2aexc8m.png


& here's the edited attributes :
732nn7.png
 

Rochet2

Moderator / Eluna Dev
Tried adding values according to this
http://www.pxr.dk/wowdev/wiki/index.php?title=Spell.dbc
http://www.pxr.dk/wowdev/wiki/index.php?title=Spell.dbc/Attributes
http://www.pxr.dk/wowdev/wiki/index.php?title=Spell.dbc/AttributesExC
http://www.pxr.dk/wowdev/wiki/index.php?title=SpellDuration.dbc

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
 
Last edited:
Status
Not open for further replies.
Top