mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*Remove not used files
--HG-- branch : trunk
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
SDName: Boss_Rokmar
|
||||
SD%Complete: 100
|
||||
SDComment:
|
||||
SDCategory: Coilfang Resevoir, Slave Pens
|
||||
EndScriptData */
|
||||
|
||||
#include "../../../creature/simple_ai.h"
|
||||
|
||||
#define SPELL_WATTER_SPIT 40086
|
||||
#define SPELL_GRIEVOUS_WOUND 31956
|
||||
#define SPELL_ENSARING_MOSS 31948
|
||||
|
||||
CreatureAI* GetAI_boss_rokmar_the_crackler(Creature *_Creature)
|
||||
{
|
||||
SimpleAI* ai = new SimpleAI (_Creature);
|
||||
|
||||
//Watter Spit
|
||||
ai->Spell[0].Enabled = true;
|
||||
ai->Spell[0].Spell_Id = SPELL_WATTER_SPIT;
|
||||
ai->Spell[0].Cooldown = 15000;
|
||||
ai->Spell[0].First_Cast = 15000;
|
||||
ai->Spell[0].Cast_Target_Type = CAST_HOSTILE_TARGET;
|
||||
|
||||
//Grievous Wound
|
||||
ai->Spell[1].Enabled = true;
|
||||
ai->Spell[1].Spell_Id = SPELL_GRIEVOUS_WOUND;
|
||||
ai->Spell[1].Cooldown = 25000;
|
||||
ai->Spell[1].First_Cast = 15000;
|
||||
ai->Spell[1].Cast_Target_Type = CAST_HOSTILE_TARGET;
|
||||
|
||||
//Ensaring Moss
|
||||
ai->Spell[2].Enabled = true;
|
||||
ai->Spell[2].Spell_Id = SPELL_ENSARING_MOSS;
|
||||
ai->Spell[2].Cooldown = 15000 + (rand()%10000);
|
||||
ai->Spell[2].First_Cast = 25000;
|
||||
ai->Spell[2].Cast_Target_Type = CAST_HOSTILE_TARGET;
|
||||
|
||||
return ai;
|
||||
}
|
||||
|
||||
void AddSC_boss_rokmar_the_crackler()
|
||||
{
|
||||
Script *newscript;
|
||||
newscript = new Script;
|
||||
newscript->Name="boss_rokmar_the_crackler";
|
||||
newscript->GetAI = GetAI_boss_rokmar_the_crackler;
|
||||
m_scripts[nrscripts++] = newscript;
|
||||
}
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
SDName: Boss_Ghazan
|
||||
SD%Complete: 100
|
||||
SDComment:
|
||||
SDCategory: Coilfang Resevoir, Underbog
|
||||
EndScriptData */
|
||||
|
||||
#include "../../../creature/simple_ai.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
/*
|
||||
--== Ghaz'an ==--
|
||||
*Acid Spit - 34290; timer: 8sec
|
||||
*Enrage - 20% hp; 40683
|
||||
*Tail Sweep - 34267; timer: ~10sec
|
||||
*Acid Breath - 34268; timer: 5sec
|
||||
*/
|
||||
|
||||
CreatureAI* GetAI_boss_ghazan(Creature *_Creature)
|
||||
{
|
||||
SimpleAI* ai = new SimpleAI (_Creature);
|
||||
|
||||
// Acid Spit - 34290; timer: 8sec
|
||||
ai->Spell[0].Enabled = true;
|
||||
ai->Spell[0].Spell_Id = 34290;
|
||||
ai->Spell[0].Cooldown = 8000;
|
||||
ai->Spell[0].First_Cast = 8000;
|
||||
ai->Spell[0].Cast_Target_Type = CAST_SELF;
|
||||
|
||||
// Acid Breath - 34268; timer: 5sec
|
||||
ai->Spell[1].Enabled = true;
|
||||
ai->Spell[1].Spell_Id = 34268;
|
||||
ai->Spell[1].Cooldown = 5000;
|
||||
ai->Spell[1].First_Cast = 5000;
|
||||
ai->Spell[1].Cast_Target_Type = CAST_SELF;
|
||||
|
||||
// Tail Sweep - 34267
|
||||
ai->Spell[2].Enabled = true;
|
||||
ai->Spell[2].Spell_Id = 34267;
|
||||
ai->Spell[2].Cooldown = 10000;
|
||||
ai->Spell[2].First_Cast = 10000;
|
||||
ai->Spell[2].Cast_Target_Type = CAST_SELF;
|
||||
|
||||
// Enrage - 20% hp; 40683
|
||||
ai->Spell[3].Enabled = true;
|
||||
ai->Spell[3].Spell_Id = 40683;
|
||||
ai->Spell[3].Cooldown = -1;
|
||||
ai->Spell[3].First_Cast = -80;
|
||||
ai->Spell[3].Cast_Target_Type = CAST_SELF;
|
||||
|
||||
ai->EnterEvadeMode();
|
||||
|
||||
return ai;
|
||||
}
|
||||
|
||||
void AddSC_boss_ghazan()
|
||||
{
|
||||
Script *newscript;
|
||||
newscript = new Script;
|
||||
newscript->Name="boss_ghazan";
|
||||
newscript->GetAI = GetAI_boss_ghazan;
|
||||
m_scripts[nrscripts++] = newscript;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user