Hey guys, if your making mobs or something simple you can use this tool I made to speed it up.
INPUT:
OUTPUT:
Code:
//Batman
#include <StdAfx.h>
#include <Setup.h>
#include <Base.h>
#define Batman 12345
#define spell0 66408
#define spell1 26043
#define spell2 62945
#define spell3 42869
class BatmanAI : public ArcScriptBossAI {
ARCSCRIPT_FACTORY_FUNCTION(BatmanAI, ArcScriptBossAI);
BatmanAI(Creature* pCreature) : ArcScriptBossAI(pCreature) {
AddSpell(spell0, Target_Current, 15, 0, 20);
AddSpell(spell1, Target_Current, 15, 0, 50);
AddSpell(spell2, Target_Current, 15, 0, 45);
AddSpell(spell3, Target_Current, 15, 0, 32);
}
void AIUpdate() {
ParentClass::AIUpdate();
ParentClass::AIUpdate();
}
void SetupWorldBoss(ScriptMgr* pScriptMgr) {
pScriptMgr->register_creature_script(Batman, &BatmanAI::Create);
}
Just enter the boss name, id and what spells you want it to cast and when and it'll generate a cpp script.
Enjoy
http://www.mediafire.com/?bk539yopettyc2g