[share][c++]: Titanium Warrior menu

User Tag List

Results 1 to 8 of 8
  1. #1
    [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)

    [share][c++]: Titanium Warrior

    This script is going to be in Ulduar as a trash mob script on the server: Ultimatum-WoW, but I was like this is wayy to cool to just keep it. I mean this script is awesome just for a trash mob, lol. Enjoy!


    Description:

    - Spells not on phases:
    - Rend: This will stack up to 99 times, if you cannot beat him when this stacks high, you pretty much wiped.

    - Phase 1 (90%): He will basically go into berserker stance, he will dual weild 2-two handed weapons.
    - His attack speed increases.
    - He will add new spells to his self.

    - Phase 2 (45%): He will switch to defensive stance, changing his weapons to a 1 Handed sword and a shield.

    - He will add more spells to his self.
    - He will be in defense, so it will be hard to do damage.


    - Phase 3 (10%): He will switch to his first weapon that he attacked you with (No more dual wielding). He will forget all of his other spells basically only doing:

    Code:
    CastSpell(mMortalStrike);
    	  CastSpell(mBlade);

    - Mortalstrike has a cooldown of 80. (Not miliseconds).
    - His bladestorm will be non-stop, you will need to dps him down FAST!


    - I do not have the SQL because it is late and I don't feel like making the npc, lol.

    Source without Downloading:

    Code:
    /*
      Titanium Warior --
        By Easelm --
    	   Ultimatum-WoW --
    This script is going to be in Ulduar as a trash mob script on the server: Ultimatum-WoW,
    but I was like this is wayy to cool to just keep it. I mean this script is awesome just
    for a trash mob, lol. Enjoy!
    */
    
    #include "StdAfx.h"
    #include "Setup.h"
    #include "Base.h"
    
    #define TitaniumWarrior 68947
    
    /* Battle Stance Moves */
    #define BattleStance 2457
    #define Rend 36991
    #define Charge 11578
    #define MortalStrike 47486
    /*  End  */
    
    /* Defensive Stance Moves */
    #define DefensiveStance 71
    #define Disarm 676
    #define ShieldWall 871
    #define Devastate 47498
    #define ThunderClap 47502
    #define ShieldBlock 2565
    /*  End  */
    
    /* Berserker Stance Moves */
    #define BerserkerStance 2458
    #define Intercept 20252
    #define Whirlwind 1680
    #define Bladestorm 63784
    /*  End  */
    
    class TitaniumWarriorAI : public ArcScriptCreatureAI
    {
    	ARCSCRIPT_FACTORY_FUNCTION(TitaniumWarriorAI, ArcScriptCreatureAI);
    	TitaniumWarriorAI(Creature* pCreature) : ArcScriptCreatureAI(pCreature)
    	{
    		AddEmote(Event_OnCombatStart, "Intruders!", Text_Yell);
    		AddEmote(Event_OnTargetDied, "You will not pass.", Text_Yell);
    		AddEmote(Event_OnDied, "I... have failed..", Text_Yell);
    	   
    		AddSpell(Rend, Target_Current, 33, 0, 9);
    		AddSpell(Charge, Target_RandomPlayer, 10, 0, 100);
    		mBlade = AddSpell(Bladestorm, Target_RandomPlayer, 0, 0, 0);
    		mMortalStrike = AddSpell(MortalStrike, Target_Current, 0, 0, 80);
    	}
    
        void OnCombatStart(Unit *pTarget)
         {
                 _unit->SetDualWield(false); // Just to make sure he doesn't do anything funny.
    	     ParentClass::OnCombatStart(pTarget);
    	 }
    
    	void OnDied(Unit *pKiller)
    	{
    		CancelAllSpells();
    		CancelAllTimers();
    		RemoveAllAuras();
    		_unit->SetDualWield(false);
    	   ParentClass::OnDied(pTarget);
    	}
    
    
           void AIUpdate()
    		{
    			if(GetHealthPercent() <= 90) // Berserker Stance
    			{
    			  _unit->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, 40343); //, 54560
    			  _unit->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID+1, 40343);
    			  _unit->SetDualWield(true);
    			  _unit->SetUInt32Value(UNIT_FIELD_BASEATTACKTIME, 1982);  // , 1982
    			  AddSpell(BerserkerStance, Target_Self, 100, 0, 600, 1, 0, false, "Feel my wrath!", Text_Yell);
    			  AddSpell(Intercept, Target_RandomPlayer, 46, 0, 12, 0, 43);
    			  AddSpell(Whirlwind, Target_Current, 53, 0, 23);
    			  }
    
    			 if(GetHealthPercent() <= 45) // Defensive Stance
    			 {
                   _unit->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, 39291); // One handed Sword
    			   _unit->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID+1, 39716); // Shield
    			   _unit->SetDualWield(true);
    			   _unit->SetUInt32Value(UNIT_FIELD_BASEATTACKTIME, 1782);
                   AddSpell(DefensiveStance, Target_Self, 100, 0, 600, 0, 0, false, "Let's see how tough you are now!", Text_Yell);
    			   AddSpell(Disarm, Target_Current, 34, 0, 32);
    			   AddSpell(ShieldWall, Target_Self, 43, 0, 100);
    			   AddSpell(Devastate, Target_Current, 48, 0, 17);
    			   AddSpell(ThunderClap, Target_Current, 44, 0, 12);
    			   AddSpell(ShieldBlock, Target_Self, 33, 0, 34);
    			   }
    
    			 if(GetHealthPercent() <= 10) // Unstable Bladestorm
    			 {
    				 _unit->SetDualWield(false);
    				 _unit->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, 40343);
    				 _unit->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID+1, 0);
    				 CancelAllSpells();
    				 CancelAllTimers();
    				 CastSpell(mMortalStrike);
    				 CastSpell(mBlade);
    			  }
         
    			ParentClass::AIUpdate();
    			ParentClass::AIUpdate();
    			ParentClass::AIUpdate();
       }
    protected:
    		
    	SpellDesc* mBlade;
    	SpellDesc* mMortalStrike;
    };
    
    void SetupTitaniumWarrior(ScriptMgr* mgr)
    {
    	mgr->register_creature_script(TitaniumWarrior, &TitaniumWarriorAI::Create);
    }
    *note* i did not make this *
    All credit does go to QQrofl of ac-web.org.

    --->Download<---

    [share][c++]: Titanium Warrior
  2. #2
    [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)
    almost 50 views and not a single post. /sigh

  3. #3
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    C++ is not popular unless it involves something unique; as boss fights can be done in Lua, people flood to them over C++. This isn't because Lua is better it's because it's easier.
    Anyway, looks good but I will not rep I'm afraid because sharing doesn't involve a lot of effert
    Last edited by stoneharry; 06-26-2009 at 02:52 PM.

  4. #4
    Hellgawd's Avatar Account not activated by Email
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sharing is caring!

  5. #5
    [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)
    exactly hellgawd

  6. #6
    chance96283's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i like it dude. +rep. btw he was kinda easy with tier7 rogue and deadly gladiator. but i like it. nice share.

  7. #7
    [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)
    yea i agree

  8. #8
    spectre123's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Woops sorry, i was gonna flame saying this was on Ac-Web but turns out you gave credit xD Thanks for Sharing

Similar Threads

  1. [Selling] WTS ARENA BOOST 3V3 EU(A) ACC SHARE(2000-2200-2400) for Warrior & Enhance!
    By wishstone in forum World of Warcraft Buy Sell Trade
    Replies: 3
    Last Post: 12-12-2015, 11:10 AM
  2. NO fall damage!!!! for warriors mages and maybe some others!
    By bloodofwar in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 11-19-2006, 09:07 AM
  3. Warrior How To: Fighting multiple enemies
    By Cush in forum World of Warcraft Guides
    Replies: 4
    Last Post: 11-01-2006, 03:45 PM
  4. Warriors get a huge attack power boost
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 04-02-2006, 10:02 PM
All times are GMT -5. The time now is 05:21 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