Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    17
    Reputation
    91

    [release] Custom instance NPC's


    Register to remove this ad
    Custom Instance NPC's


    Patch: 3.x.x )
    Core: ArcEmu, Aspire / heartstone, MaNGOS, Ascent )







    ArcEmu:

    Jungle Warrior
    Code:
    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
    Code:
    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:
    Code:
    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"
    Code:
    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
    Code:
    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
    Code:
    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
    Code:
    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:
    Code:
    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"
    Code:
    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:
    Code:
    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
    Code:
    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
    Code:
    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:
    Code:
    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"
    Code:
    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:
    Code:
    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
    Code:
    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
    Code:
    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
    Code:
    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"
    Code:
    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
    Code:
    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)


    › See More: [release] Custom instance NPC's
    Last edited by Lbniese; 03-10-09 at 04:22 PM.

  2. #2
    Banned

    Join Date
    Sep 2009
    Location
    In My Computer
    Posts
    76
    Post Thanks / Like
    Rep Power
    0
    Reputation
    52
    very nice!

  3. #3
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    Wow, nice man. You should make more of these
    x3

  4. #4
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    17
    Reputation
    91
    Thank you guys

  5. #5
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    17
    Reputation
    91
    Please come with ideas, i dont know what to make :P

  6. #6
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    Make one like Trial of the Champions(WITHOUT MOUNTS)

    Where bosses just keep coming, etc. =]




  7. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  8. #7
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    17
    Reputation
    91
    hmmm sounds good...
    i make the npc's, not the drops and spawn places...

  9. #8
    Contributor
    enegue's Avatar
    Join Date
    Aug 2008
    Location
    Before God
    Posts
    715
    Post Thanks / Like
    Rep Power
    18
    Reputation
    106
    An entire horde of bosses charging at you but all illusions except for 1?
    me if I have helped you in anyway ^^ Example: Sharing a repack, answering questions... Well you know the rest xD. As long as I help you!

  10. #9
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    17
    Reputation
    91
    .....

  11. #10
    Contributor
    enegue's Avatar
    Join Date
    Aug 2008
    Location
    Before God
    Posts
    715
    Post Thanks / Like
    Rep Power
    18
    Reputation
    106

    Register to remove this ad
    Lol, you post alot of "... <face>" type something dammit!
    me if I have helped you in anyway ^^ Example: Sharing a repack, answering questions... Well you know the rest xD. As long as I help you!

 

 
Page 1 of 2 12 LastLast

Visitors found this page by searching for:

wow [release] custom instance

SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 03:54 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org