Lbniese
10-09-09, 08:32 AM
Custom Instance NPC's
Patch: 3.x.x )
Core: ArcEmu, Aspire / heartstone, MaNGOS, Ascent )
ArcEmu:
Jungle Warrior
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958502', "Jungle Warrior", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '590', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `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`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('958502', '80', '83', '14', '45234', '45234', '', '0.5', '0', '3000', '0', '325', '750', '0', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '41218', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Jungle healer
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958501', "Jungle healer", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '22332', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `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`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('958501', '80', '83', '14', '26354', '26354', '50000', '0.5', '0', '2600', '0', '100', '300', '0', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '31218', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Lua scipt to healer:
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958503', "Mojito", "Leader of the Jungle Temple", '', '0', '7', '0', '1', '0', '0', '21630', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `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`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('958503', '83', '83', '14', '101012', '112301', '49234', '4', '0', '2000', '0', '200', '500', '0', '0', '0', '0', '0', '200', '0', '0', '200', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Boss Lua
function BossName_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function BossName_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function BossName_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
Aspire:
Jungle Warrior
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958502', "Jungle Warrior", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '590', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `RespawnTime`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`)
values ('958502', '80', '83', '14', '45234', '45234', '', '0.5', '0', '3000', '0', '325', '750', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '41218', '0', '0', '2.50', '8.00', '14.00', '0');
Jungle healer
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958501', "Jungle healer", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '22332', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `RespawnTime`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`)
values ('958501', '80', '83', '14', '26354', '26354', '50000', '0.5', '0', '2600', '0', '100', '300', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '31218', '0', '0', '2.50', '8.00', '14.00', '0');
Lua:
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958503', "Mojito", "Leader of the Jungle Temple", '', '0', '7', '0', '1', '0', '0', '21630', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `RespawnTime`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`)
values ('958503', '83', '83', '14', '101012', '112301', '49234', '4', '0', '2000', '0', '200', '500', '0', '0', '0', '0', '0', '0', '200', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0');
Boss Lua:
function Mojito_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function Mojito_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function Mojito_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
MaNGOS:
Jungle Warrior
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('958502', '590', '0', '0', '0', "Jungle Warrior", "Jungle Stalker", '80', '83', '45234', '45234', '', '', '0', '14', '14', '0', '8.00', '0.5', '1', '325', '750', '3000', '0', '7', '0', '0', '50', '0', '0', '0', '41218', '41218');
Jungle healer
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('958501', '22332', '0', '0', '0', "Jungle healer", "Jungle Stalker", '80', '83', '26354', '26354', '50000', '50000', '0', '14', '14', '0', '8.00', '0.5', '1', '100', '300', '2600', '0', '7', '0', '0', '50', '0', '0', '0', '31218', '31218');
Lua:
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('958503', '21630', '0', '0', '0', "Mojito", "Leader of the Jungle Temple", '83', '83', '101012', '112301', '49234', '49234', '200', '14', '14', '0', '8.00', '4', '1', '200', '500', '2000', '0', '7', '0', '0', '200', '0', '0', '0', '0', '0');
Boss Lua:
function Mojito_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function Mojito_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function Mojito_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
Ascent:
Jungle Warrior
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958502', "Jungle Warrior", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '590', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `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`, `extra_a9_flags`)
values ('958502', '80', '83', '14', '45234', '45234', '', '0.5', '0', '3000', '0', '325', '750', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '41218', '0', '0', '2.50', '8.00', '14.00', '0');
Jungle healer
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958501', "Jungle healer", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '22332', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `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`, `extra_a9_flags`)
values ('958501', '80', '83', '14', '26354', '26354', '50000', '0.5', '0', '2600', '0', '100', '300', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '31218', '0', '0', '2.50', '8.00', '14.00', '0');
Jungle healer Lua
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958503', "Mojito", "Leader of the Jungle Temple", '', '0', '7', '0', '1', '0', '0', '21630', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `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`, `extra_a9_flags`)
values ('958503', '83', '83', '14', '101012', '112301', '49234', '4', '0', '2000', '0', '200', '500', '0', '0', '0', '0', '200', '0', '0', '200', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0');
Boss Lua
function Mojito_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function Mojito_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function Mojito_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
Full Download link:
sql's and Lua to all the npc for all the cores )
http://www.megaupload.com/?d=1IIUEBMV
"Pictures Soon"
(Credits to me ( Lbniese ) for sharing and for the release, and of cause for making them)
Patch: 3.x.x )
Core: ArcEmu, Aspire / heartstone, MaNGOS, Ascent )
ArcEmu:
Jungle Warrior
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958502', "Jungle Warrior", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '590', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `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`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('958502', '80', '83', '14', '45234', '45234', '', '0.5', '0', '3000', '0', '325', '750', '0', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '41218', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Jungle healer
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958501', "Jungle healer", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '22332', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `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`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('958501', '80', '83', '14', '26354', '26354', '50000', '0.5', '0', '2600', '0', '100', '300', '0', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '31218', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Lua scipt to healer:
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958503', "Mojito", "Leader of the Jungle Temple", '', '0', '7', '0', '1', '0', '0', '21630', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `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`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('958503', '83', '83', '14', '101012', '112301', '49234', '4', '0', '2000', '0', '200', '500', '0', '0', '0', '0', '0', '200', '0', '0', '200', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Boss Lua
function BossName_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function BossName_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function BossName_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
Aspire:
Jungle Warrior
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958502', "Jungle Warrior", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '590', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `RespawnTime`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`)
values ('958502', '80', '83', '14', '45234', '45234', '', '0.5', '0', '3000', '0', '325', '750', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '41218', '0', '0', '2.50', '8.00', '14.00', '0');
Jungle healer
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958501', "Jungle healer", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '22332', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `RespawnTime`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`)
values ('958501', '80', '83', '14', '26354', '26354', '50000', '0.5', '0', '2600', '0', '100', '300', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '31218', '0', '0', '2.50', '8.00', '14.00', '0');
Lua:
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958503', "Mojito", "Leader of the Jungle Temple", '', '0', '7', '0', '1', '0', '0', '21630', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `RespawnTime`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`)
values ('958503', '83', '83', '14', '101012', '112301', '49234', '4', '0', '2000', '0', '200', '500', '0', '0', '0', '0', '0', '0', '200', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0');
Boss Lua:
function Mojito_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function Mojito_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function Mojito_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
MaNGOS:
Jungle Warrior
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('958502', '590', '0', '0', '0', "Jungle Warrior", "Jungle Stalker", '80', '83', '45234', '45234', '', '', '0', '14', '14', '0', '8.00', '0.5', '1', '325', '750', '3000', '0', '7', '0', '0', '50', '0', '0', '0', '41218', '41218');
Jungle healer
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('958501', '22332', '0', '0', '0', "Jungle healer", "Jungle Stalker", '80', '83', '26354', '26354', '50000', '50000', '0', '14', '14', '0', '8.00', '0.5', '1', '100', '300', '2600', '0', '7', '0', '0', '50', '0', '0', '0', '31218', '31218');
Lua:
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('958503', '21630', '0', '0', '0', "Mojito", "Leader of the Jungle Temple", '83', '83', '101012', '112301', '49234', '49234', '200', '14', '14', '0', '8.00', '4', '1', '200', '500', '2000', '0', '7', '0', '0', '200', '0', '0', '0', '0', '0');
Boss Lua:
function Mojito_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function Mojito_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function Mojito_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
Ascent:
Jungle Warrior
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958502', "Jungle Warrior", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '590', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `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`, `extra_a9_flags`)
values ('958502', '80', '83', '14', '45234', '45234', '', '0.5', '0', '3000', '0', '325', '750', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '41218', '0', '0', '2.50', '8.00', '14.00', '0');
Jungle healer
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958501', "Jungle healer", "Jungle Stalker", '', '0', '7', '0', '1', '0', '0', '22332', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `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`, `extra_a9_flags`)
values ('958501', '80', '83', '14', '26354', '26354', '50000', '0.5', '0', '2600', '0', '100', '300', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', "0", '0', '31218', '0', '0', '2.50', '8.00', '14.00', '0');
Jungle healer Lua
function Jungle_healer_OnCombat(pUnit, Event)
pUnit:RegisterEvent("Healer_Smite", 6000, 0)
pUnit:RegisterEvent("Healer_GreaterHeal", 14000, 2)
end
function Healer_Smite(pUnit, Event)
pUnit:CastSpellOnTarget(67674, pUnit:GetMainTank())
end
function Healer_GreaterHeal(pUnit, Event)
pUnit:FullCastSpell(41378)
end
if pUnit:GetHealthPct() <= 1 then
pUnit:RemoveEvents()
end
function Healer_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
end
function Healer_OnKilledTarget(pUnit, Event)
end
function Healer_OnDeath(pUnit, Event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(958501, 1, "Jungle_healer_OnCombat")
RegisterUnitEvent(958501, 2, "Healer_OnLeaveCombat")
RegisterUnitEvent(958501, 3, "Healer_OnKilledTarget")
RegisterUnitEvent(958501, 4, "Healer_OnDeath")
Boss "Mojito"
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('958503', "Mojito", "Leader of the Jungle Temple", '', '0', '7', '0', '1', '0', '0', '21630', '0', '0', '0', '1', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `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`, `extra_a9_flags`)
values ('958503', '83', '83', '14', '101012', '112301', '49234', '4', '0', '2000', '0', '200', '500', '0', '0', '0', '0', '200', '0', '0', '200', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0');
Boss Lua
function Mojito_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Fools!, you cant kill me...")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end
function Mojito_OnDied(pUnit, Event)
pUnit:RemoveEvents()
end
function Mojito_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end
function Phase_1(pUnit, Event)
if pUnit:GetHealthPct() <= 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Lol, fools i kill you, this gonna be easy...!")
pUnit:RegisterEvent("HealingWave", 35000, 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end
function Phase_2(pUnit, Event)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("LightningBolt", 6000, 0)
pUnit:SendChatMessage(14, 0, "Hmmm, maybe not so easy...!")
end
end
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
end
#GetClosestPlayer() --Gets the closest player.
#GetMainTank() --Returns main tank.
#GetAddTank() --Returns offtank.
RegisterUnitEvent(958503, 1, "Mojito_OnCombat")
RegisterUnitEvent(958503, 2, "Mojito_OnLeaveCombat")
RegisterUnitEvent(958503, 4, "Mojito_OnDied")
Full Download link:
sql's and Lua to all the npc for all the cores )
http://www.megaupload.com/?d=1IIUEBMV
"Pictures Soon"
(Credits to me ( Lbniese ) for sharing and for the release, and of cause for making them)