Upgrade weapon by set number of kills menu

User Tag List

Results 1 to 2 of 2
  1. #1
    XxXGenesisXxX's Avatar Sergeant Major
    Reputation
    67
    Join Date
    Apr 2012
    Posts
    154
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Upgrade weapon by set number of kills

    Ok so the idea of it is; you have your weapon, when you kill someone with the weapon it adds a stackable permenant aura, once it stacks 500 times, it casts a spell to delete your current weapon and create a new one. Now I can do the spell side of it easy enough, so lets presume I have the spells already made, I just need the script to peice them all together. So how does this look so far, where have I gone wrong and how would I make it so the new weapon is automatically equipped?

    Code:
                    case 98000: // Spell: Weapon
                    {
                        if (!victim || !victim->isDead())  // When victim is dead
    					
                        CastSpell(this, 98001, true, NULL, triggeredByAura); // Spell: Soul Claimed
    
                        // this can't be handled in AuraScript because we need to know victim
                        Aura const* dummy = GetAura(98001); //Aura: Soul Claimed
                        if (!dummy || dummy->GetStackAmount() < 500) // If less than 500 kills then do nothing
                            return false;
    
                        RemoveAurasDueToSpell(98001); // Otherwise remove aura
                        triggered_spell_id = 98002 & 98003; // Then cast Spell: delete old weapon & cast Spell: create new weapon
                        target = player;
                        break;
                    }
    Last edited by XxXGenesisXxX; 09-28-2012 at 05:38 PM.

    Upgrade weapon by set number of kills
  2. #2
    XxXGenesisXxX's Avatar Sergeant Major
    Reputation
    67
    Join Date
    Apr 2012
    Posts
    154
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still wondering.

Similar Threads

  1. [Selling] Blood Elf Rogue ★ 477 Item Level ★ Epic Weapons ★ 2 Sets of Gear
    By Betze in forum WoW-EU Account Buy Sell Trade
    Replies: 14
    Last Post: 11-09-2012, 02:38 PM
  2. [Selling] Night Elf Warrior ★ 397 item level ★ S11 Weapon ★ 3 Sets of Gear
    By Betze in forum WoW-EU Account Buy Sell Trade
    Replies: 17
    Last Post: 01-31-2012, 05:33 PM
  3. [Selling] Human Paladin ★ 393 ilvl ★ S11 Weapon ★ 3 Sets of Gear
    By Betze in forum WoW-EU Account Buy Sell Trade
    Replies: 1
    Last Post: 01-09-2012, 12:16 PM
  4. [Release] Tier 7 + Matching Weapons (Complete Sets)
    By Gadella in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-08-2008, 07:43 AM
  5. See Enemy Weapon Drop Before Kill (New Locs)
    By Matt in forum World of Warcraft Exploits
    Replies: 22
    Last Post: 10-12-2006, 12:20 AM
All times are GMT -5. The time now is 05:19 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