I want to know how to reduce the Cast time for Enchant Scrolls and Glyphs for example to let them be instant.
Greets![]()
I want to know how to reduce the Cast time for Enchant Scrolls and Glyphs for example to let them be instant.
Greets![]()
Did you look in the items.world db or in trinity.. item_template.world
Last edited by Harambeqt; 08-06-2012 at 06:38 PM.
I get the question a bit more now, you should be able to do this by (as AD said) scripting the item. Setting cast time to 0.
Can anyone tell me how that Script should look like or where i have to Change Things in the Core?
/push
Need some help with the Script
I'm really kind of clueless as to how to do this, and usually I can figure it out. I just don't know what to do xD I'm sorry I couldn't help.
It's actually a .dbc edit and will require a custom patch. Edit column 28 of the "spell.dbc" file.
i know its not a Db Edit but u dont need to write a Patch that everyone has to use to make this doable. Its totally doable without using any illegal Patches. Arena-Tournament | Where the Challenge Begins for example has that, and there is no patch u need.
You can overwrite the spell. When the spell is called, activate your own script that applies the enchant to the item and cast the spell visual. This will prevent the original spell being casted at all, hence removing the cast time.
You could overwrite it in Lua though I think it would be difficult to target the correct item and then enchant it with the limited exposed methods. Handle it C++ side. This is not something I will do for you. Look at hackfixes.cpp for references on how to structure this.
Alright thanks for that! Ill try it.