-->: Rhark <Ruler of Ironforge> :<--
Spells Casted:
Agonizing Strike
Battle Shout
Hammer Stun
Arugal's Curse
Blast Nova
Summon Skeleton
Arcane Nova
Frost Nova
LUA for RHARK:
Code:
----MADE BY RHARK---
----NORWEGIAN ELITE DEVELOPER---
----******* MEMBER----
----CREDITS: Rhark----
function rhark_OnCombat(Unit, Event)
Unit:SendChatMessage(12, 0, "What is this? Ha! The strength of Ironforge will destroy you all!")
Unit:RegisterEvent("rhark_AgonizingStrike", 1000, 1)
Unit:RegisterEvent("rhark_BattleShout", 10000, 1)
Unit:RegisterEvent("rhark_HammerStun", 17000, 1)
Unit:RegisterEvent("rhark_ArugalsCurse", 25000, 1)
Unit:RegisterEvent("rhark_BlastNova", 28000, 1)
Unit:RegisterEvent("rhark_SummonSkeleton", 30000, 3)
Unit:RegisterEvent("rhark_ArcaneNova", 35000, 1)
Unit:RegisterEvent("rhark_FrostNova", 50000, 1)
end
function rhark_AgonizingStrike(pUnit, Event)
pUnit:FullCastSpellOnTarget(58504, pUnit:GetClosestPlayer())
end
function rhark_BattleShout(pUnit, Event)
pUnit:CastSpell(47436, pUnit:GetRandomPlayer(0))
end
function rhark_HammerStun(pUnit, Event)
pUnit:FullCastSpellOnTarget(36138, pUnit:GetMainTank())
end
function rhark_ArugalsCurse(pUnit, Event)
pUnit:FullCastSpellOnTarget(7621, pUnit:GetMainTank())
end
function rhark_BlastNova(pUnit, Event)
pUnit:FullCastSpellOnTarget(30613, pUnit:GetRandomPlayer(0))
end
function rhark_SummonSkeleton(pUnit, Event)
pUnit:CastSpell(12151, pUnit:GetClosestPlayer())
end
function rhark_ArcaneNova(pUnit, Event)
pUnit:FullCastSpellOnTarget(57046, pUnit:GetRandomPlayer(5))
end
function rhark_FrostNova(pUnit, Event)
pUnit:CastSpell(61376, pUnit:GetClosestPlayer())
end
function rhark_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "Come back when you want to try again.. heheheh.. fools.")
end
function rhark_OnDied(Unit, Event)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "No, this cannot be! Uhh.. i've failed my country... uhh...")
end
function rhark_OnKilledTarget(Unit, Event)
Unit:SendChatMessage(11, 0, "Justice is Served!")
end
RegisterUnitEvent(366004, 1, "rhark_OnCombat")
RegisterUnitEvent(366004, 2, "rhark_OnLeaveCombat")
RegisterUnitEvent(366004, 3, "rhark_OnKilledTarget")
RegisterUnitEvent(366004, 4, "rhark_OnDied")
SQL for RHARK:
Code:
DELETE FROM `creature_names` WHERE `entry` = '366004';
DELETE FROM `creature_proto` WHERE `entry` = '366004';
INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `leader`, `entry`) VALUES ('Rhark Thunderfist', 'Ruler of Ironforge', '', '7', '0', '3', '12289', '0', '0', '0', '0', NULL, '366004');
INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `entry`) VALUES ('81', '81', '17', '4381051', '4381051', '0', '2', '0', '2400', '4861', '8543', '0', '0', '0', '3600000', '54850', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2340000', '0', '0', '2.5', '8', '14', '366004');
SQL for SKELETON:
Code:
DELETE FROM `creature_names` WHERE `entry` = '8324';
DELETE FROM `creature_proto` WHERE `entry` = '8324';
INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `leader`, `entry`) VALUES ('Bonebreaker', '', '', '6', '0', '0', '7555', '0', '0', '0', '0', NULL, '8324');
INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `entry`) VALUES ('79', '79', '14', '85039', '85039', '0', '1.3', '0', '2100', '580', '920', '0', '0', '0', '0', '24923', '0', '0', '30', '0', '0', '70', '1', '1', '0', '0', '300130', '0', '0', '2.5', '8', '14', '8324');
Credits:
Rhark [->Creating the LUA + SQL's<-]
Knaur [->Learning Me How To Extract SQL<-]
Hope you like ^^
Tested with:
ArcEmu [WORKS]