[Project Retribution] Scourge Boss Fight menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Project Retribution] Scourge Boss Fight

    Project Retribution

    This is Project Retributions First LUA Release.
    Unforunatly There are no pictures yet. They will come soon.

    A Breif Description of the Fight.
    "Religence" is a 80 Elite, he has Several phrases. on Which He yells and cast spells.
    If he kills a target, he uses the body to summon a minion to fight by his side.
    Once you Slay him, He summons "The Master" of the scourge. Who has double his health.

    Once again I apologise that there are no pictures

    The SQL's are for ArcEmu/Ascent only. If you wish to use the Script on
    another core, then you need to create your own Creatures.

    If your Planning on Editing the Mobs, Remember if you change the Spawn ID you change the LUA aswell.
    Code:
    function Religence_OnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "The World Shall be Mine!")
    pUnit:RegisterEvent("Religence_80", 100, 0)
    end
    
    function Religence_OnLeaveCombat(pUnit, Event)
    pUnit:RemoveEvents()
    end
    
    function Religence_OnKillTarget(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Another Soul....Rise My Minion!")
    end
    
    function Religence_OnDeath(pUnit, Event)
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "I...will....return....even....Stronger!")
    pUnit:SendChatMessage(14, 0, "Master! Arise! Avenge my Death!")
    end
    
    RegisterUnitEvent(99999, 1, "Religence_OnCombat")
    RegisterUnitEvent(99999, 2, "Religence_OnLeaveCombat")
    RegisterUnitEvent(99999, 3, "Religence_OnKillTarget")
    RegisterUnitEvent(99999, 4, "Religence_OnDeath")
    
    function Religence_Inject_Plague(pUnit, Event)
    pUnit:FullCastSpellOnTarget(50356, pUnit:GetRandomPlayer(3))
    end
    
    function Religence_Inject_Plaguel(pUnit, Event)
    pUnit:FullCastSpellOnTarget(50356, pUnit:GetRandomPlayer(3))
    end
    
    function Religence_Inject_Plague2(pUnit, Event)
    pUnit:FullCastSpellOnTarget(50356, pUnit:GetRandomPlayer(3))
    end
    
    function Religence_Inject_Plague3(pUnit, Event)
    pUnit:FullCastSpellOnTarget(50356, pUnit:GetRandomPlayer(3))
    end
    
    function Religence_Unholy_Blight(pUnit, Event)
    pUnit:FullCastSpellOnTarget(53640, pUnit:GetRandomPlayer(3))
    end
    
    function Religence_Desperate_Rage(pUnit, Event)
    pUnit:CastSpell(33898)
    end
    
    function Religence_Ghoul(pUnit, Event)
    local X = pUnit:GetX()
    local Y = pUnit:GetY()
    local Z = pUnit:GetZ()
    local O = pUnit:GetO()
    pUnit:SpawnCreature(99998, X, Y, Z, O, 17, 0)
    end
    
    function Religence_80(pUnit, Event)
    if pUnit:GetHealthPct() <= 80 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("Religence_Inject_Plague", 1, 0)
    pUnit:RegisterEvent("Religence_75", 100, 0)
    pUnit:SendChatMessage(14, 0, "Let the stench of death choke you!")
    end
    end
    
    function Religence_75(pUnit, Event)
    if pUnit:GetHealthPct() <= 75 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("Religence_Inject_Plaguel", 1, 0)
    pUnit:RegisterEvent("Religence_55", 100, 0)
    pUnit:SendChatMessage(14, 0, "I shall consume your souls..!")
    end
    end
    
    function Religence_55(pUnit, Event)
    if pUnit:GetHealthPct() <= 55 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("Religence_Inject_Plague2", 1, 0)
    pUnit:RegisterEvent("Religence_45", 100, 0)
    pUnit:SendChatMessage(14, 0, "Yes....Im Growing Stronger! You Shall Perish!")
    end
    end
    
    function Religence_45(pUnit, Event)
    if pUnit:GetHealthPct() <= 45 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("Religence_Inject_Plague3", 1, 0)
    pUnit:RegisterEvent("Religence_30", 100, 0)
    pUnit:SendChatMessage(14, 0, "The World....Shall.....End!")
    end
    end
    
    function Religence_30(pUnit, Event)
    if pUnit:GetHealthPct() <= 30 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("Religence_Unholy_Blight", 1, 0)
    pUnit:RegisterEvent("Religence_10", 100, 0)
    pUnit:SendChatMessage(14, 0, "May Blight consume you!")
    end
    end
    
    function Religence_10(pUnit, Event)
    if pUnit:GetHealthPct() <= 15 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("Religence_Desperate_Rage", math.random(1, 2), 0)
    pUnit:SendChatMessage(14, 0, "I am only a soilder... You have bigger concerns....")
    end
    end
    Master
    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 ('99997', "Master", "Lord of the Scourge", '', '0', '6', '0', '3', '0', '0', '10427', '0', '0', '0', '1', '1', '0', '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 ('99997', '80', '80', '14', '200000', '25000', '', '3', '0', '2000', '0', '8532', '9384', '0', '0', '0', '0', '3540', '9000000', '99', '99', '99', '99', '99', '99', '0', '0', "0", '1', '9000000', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
    Minion
    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 ('99998', "Ghoul", "Religences Minion", '', '0', '6', '0', '1', '0', '0', '137', '137', '137', '137', '1', '1', '0', '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 ('99998', '80', '83', '14', '1000', '9000', '', '1', '0', '2300', '0', '4532', '7642', '0', '0', '0', '0', '0', '90000', '90', '90', '90', '90', '90', '90', '0', '0', "0", '0', '3000000', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
    Religence
    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 ('99999', "Religence", "Lord of the Underworld", '', '0', '6', '0', '1', '0', '0', '137', '137', '137', '137', '1', '1', '0', '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 ('99999', '80', '83', '14', '100000', '200000', '', '5', '0', '2300', '0', '4532', '7642', '0', '0', '0', '0', '0', '90000', '90', '90', '90', '90', '90', '90', '0', '0', "0", '1', '3000000', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');

    Enjoy!


    [Project Retribution] Scourge Boss Fight
  2. #2
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good job, really nice and simple this may help a lot of funservers xD. GJ!

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  3. #3
    DarkFever's Avatar Contributor
    Reputation
    84
    Join Date
    Aug 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Nice Hope to see more from Project Retribution


  4. #4
    defqonone's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm not working for me al he doos is yelling and after some time or after he killed some people he went enrage bud he spammed the spell every sec and whas very bad noise

    And had loads of errors about spell casting
    Last edited by defqonone; 01-19-2009 at 06:36 PM.

  5. #5
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tip:

    You don't need to have 5 different "Religence_Inject_Plague" functions. Just create one and register the event to that one function. Saves a bunch of memory.
    Life Puzzler WoW - Website | Forums

  6. #6
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah cheers Gastric, Ill bear that in mind

    Im not a pro with LUA by all means, ill fix it when I get on my main computer. On My Laptop atm.

  7. #7
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice script by you, im not pro at lua but i saw this

    The red one aint that miliseconds? how often he will cast the spell?

    pUnit:RegisterEvent("Religence_75", 100, 0)
    Last edited by svedin; 01-19-2009 at 07:31 PM.

  8. #8
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah! Doh' Thanks for that!!! +Rep for solving the problem

  9. #9
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehe Np Ground Zero ^^ just glad to help

  10. #10
    Murlock.'s Avatar Knight-Lieutenant
    Reputation
    86
    Join Date
    Oct 2007
    Posts
    271
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by svedin View Post
    Nice script by you, im not pro at lua but i saw this

    The red one aint that miliseconds? how often he will cast the spell?

    Yes that is in milliseconds, but it isn't a spell. It just tells the server to keep checking Religence until its health pct is less than 75. If it is it clears events (breaking the loop of doing the function every 100 milliseconds), and proceeding with the script. Hope that makes sense, sorry if this is wrong.. I haven't scripted lua in a while.

  11. #11
    Bullymaniac's Avatar Member
    Reputation
    2
    Join Date
    May 2008
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dude how da fudge I use this... lol I'm a noob

  12. #12
    Murlock.'s Avatar Knight-Lieutenant
    Reputation
    86
    Join Date
    Oct 2007
    Posts
    271
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bullymaniac View Post
    dude how da fudge I use this... lol I'm a noob
    Save the script(whats in the big long box) as "Religence.lua"; To do this just copy it to notepad or any text editor and save as Religence.lua. Make sure it doesn't save as Religence.lua.txt, as this is a common mistake. Then, save the following scripts as Master.sql, Minnion.sql, and Religence.sql(depending on which sql its for, its identified on the top of the code box). After just simple execute the sqls(Execute batch file on navicat), and move the lua file to your scripts folder in your core folder. Good luck!

  13. #13
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good job m8

  14. #14
    Bullymaniac's Avatar Member
    Reputation
    2
    Join Date
    May 2008
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also, where it is spawned?

  15. #15
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just spawn it by yourself

Page 1 of 2 12 LastLast

Similar Threads

  1. Get replacements for dead people during boss fight
    By Kezah in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 06-30-2008, 03:54 PM
  2. Replies: 9
    Last Post: 06-19-2008, 03:55 AM
  3. [Release] Custom Scripted Boss Fight: Your Mom
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 04-13-2008, 08:08 PM
  4. [Question]Boss Fights.
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 03-08-2008, 06:01 PM
  5. [Help] Boss Fights
    By jimmy2222 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-26-2008, 03:20 PM
All times are GMT -5. The time now is 05:47 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search