Editing spells with the Ascent core
By Gastricpenguin
With this guide, you will be able to edit the attributes and fun other functions of spells. These spells are edited with C++ and only work on the ascent core. Just as a heads up, things like spell descriptiong and the name cannot be edited. Let's get started
Go into /ascent-world/ and open World.cpp
Then scroll down to line 1826 [>Example<]
Right above the line that says " //this is so lame : shamanistic rage triggers a new spell which borrows it's stats from parent spell :S "
We are going to start our spell off by adding in this:
You can change the spell number ( 28299 ) to anything you want, but i like Ball lightning because it is fun to edit.Code:sp = dbcSpell.LookupEntryForced( 28299 ); if (sp != NULL) { }
Then there are a few options we can do to edit the spell. We could edit the spell damage type, casting time, proc chance, intervals, targets, and other things. But just to show you that this whole thing works, we are going to edit the casting time.
So im going to change the castime time from 1 second, to 10 seconds. Within the brackets we added, we are going to put inSo it looks like this:Code:sp->CastingTimeIndex = 7;
Now, compile your core regularly and go in game. Then witness the perfection!
Ill add more effects and functions later :P