Trinity/Skyfire Aura Stones menu

User Tag List

Results 1 to 3 of 3
  1. #1
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trinity/Skyfire Aura Stones

    So on my server we have these Aura stones scattered in hidden places, when you click on them you gain an aura but if you find another spell ti will remove the aura and add the new one if you get me.

    Here's the script, I know the coding's shit but this was the first rev of it and I thought I'd release it. I will not help you add this to your trinity/skyfire server or give you the updated version and can confirm it works perfect on mine I will post a vid later. Remember to set your GO flags to 22 and to add the script name to them, oh and add it to ScriptLoader.cpp.

    I added a double remove as we had a bug where it would keep adding the aura multiple times, this making it op and bugged.

    Code:
    enum Spells
    {
        BLUE_DRAGON        =    23688, // Put your own spell name + id here
        VENGEANCE        =    39444,
    };
    
    class GO_aura_object : public GameObjectScript
    {
        public:
    
            GO_aura_object12()
                : GameObjectScript("go_Script_1")
            {
            }
    
            bool OnGossipHello(Player* player, GameObject* /*go*/)
            {
                if(player->HasAura(player->HasAura(BLUE_DRAGON) || player->HasAura(VENGEANCE)))
                {
                    player->RemoveAura(VENGEANCE);
                    player->RemoveAura(BLUE_DRAGON);
                }
                    player->AddAura((VENGEANCE), player);
                return false;
            }
    };
    
    class GO_aura_object2 : public GameObjectScript
    {
        public:
    
            GO_aura_object13()
                : GameObjectScript("go_Script_2")
            {
            }
    
            bool OnGossipHello(Player* player, GameObject* /*go*/)
            {
                if(player->HasAura(player->HasAura(BLUE_DRAGON) || player->HasAura(VENGEANCE)))
                {
                    player->RemoveAura(VENGEANCE);
                    player->RemoveAura(BLUE_DRAGON);
                }
                    player->AddAura(BLUE_DRAGON, player);
                return false;
            }
    };
    
    void AddSC_boss_void()
    {
        new GO_aura_object();
        new GO_aura_object2();
    }
    danke

    ~2d~
    If you need me you have my skype, if you don't have my skype then you don't need me.

    Trinity/Skyfire Aura Stones
  2. #2
    pryd's Avatar Member
    Reputation
    182
    Join Date
    Dec 2008
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome, love the concept, Thanks for the share and I think it's perfect for private servers.

    If I have any time I will do my best to get this into a PDS core, if you don't mind of course!

  3. #3
    AZO's Avatar Banned
    Reputation
    370
    Join Date
    Mar 2007
    Posts
    621
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Our secretssss!!!!

Similar Threads

  1. Replies: 6
    Last Post: 09-26-2013, 08:18 AM
  2. [Trinity] Custom meeting stones?
    By Flagg78 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 05-18-2012, 10:50 PM
  3. BC Advanced coffee... Void and lock t4 aura
    By moreniu in forum World of Warcraft Model Editing
    Replies: 18
    Last Post: 09-30-2006, 07:32 AM
  4. use hearth stone during coll down = 0
    By Akimbo in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 08-10-2006, 10:59 PM
  5. Warlocks more than one health stone in your invatory
    By Black mage2021 in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 07-13-2006, 06:15 AM
All times are GMT -5. The time now is 12:48 PM. 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