Register for your free account! | Forgot your password?

You last visited: Today at 10:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



hudmap

Discussion on hudmap within the World of Warcraft forum part of the Popular Games category.

Reply
 
Old   #1

 
elite*gold: 558
Join Date: Nov 2010
Posts: 508
Received Thanks: 73
hudmap bossmodul fehler

Das Addon ist auf dem Stand von 4.0.3a, ich habe selber versucht ein neues Instanz Modul [Bastion of Twilight] einzufügen, doch bekomme ich ingame keine Funktion.

Alte Funktion:

PHP Code:
local encounters HudMap:GetModule("Encounters")
local HudMap _G.HudMap
local UnitName
UnitIsDead _G.UnitName_G.UnitIsDead
local parent 
HudMap
local L 
LibStub("AceLocale-3.0"):GetLocale("HudMap")
local SN parent.SN

local 
function register(e)
    
encounters:RegisterEncounterMarker(e)
    return 
e
end

local free 
parent.free

local vezax 
= {
    
name L["General Vexaz"],
    
startEncounterIDs 33271,
    
endEncounterIDs 33271,
    
options = {
        
crash SN[60835],
        
mark SN[63276]
    },
    
defaults = {
        
crashColor = {0.10.410.6},
        
markColor = {0.90.410.6}
    },
    
crash = function(self)
        
local crashTarget encounters:GetMobTarget(33271)
        if 
crashTarget then
            local x
HudMap:GetUnitPosition(crashTarget)
            
local rgbself:Option("crashColor")
            
register(HudMap:PlaceRangeMarker("timer"xy105rgba):Appear():Rotate(3605):RegisterForAlerts())
        
end
    end
,
    
SPELL_CAST_SUCCESS = function(selfspellIDsourceNamedestNamesourceGUIDdestGUID)
        if (
spellID == 60835 or spellID == 62660) and self:Option("crashEnabled"then
            self
.invoker self.invoker or function() self:crash() end
            encounters
:Delay(self.invoker0.1)
        elseif 
spellID == 63276 and self:Option("markEnabled"then
            local r
gbself:Option("markColor")
            
register(HudMap:PlaceRangeMarkerOnPartyMember("timer"destName1510rgba):Appear():Rotate(36010):RegisterForAlerts():SetLabel(destName))
        
end
    end
}


encounters:RegisterModule(L["Ulduar"], vezax
Dies würde ich nun auf Valiona Theralion 25hc anwenden.

Valiona: #45992 , [meteorit radius 3m: #92861]
Theralion: #45993, [druckwelle radius 5m: #86369]
[Datein ändern: HudMap.toc, enUs, deDE,

PHP Code:
local encounters HudMap:GetModule("Encounters")
local HudMap _G.HudMap
local UnitName
UnitIsDead _G.UnitName_G.UnitIsDead
local parent 
HudMap
local L 
LibStub("AceLocale-3.0"):GetLocale("HudMap")
local SN parent.SN

local 
function register(e)
    
encounters:RegisterEncounterMarker(e)
    return 
e
end

local free 
parent.free



local valiona 
= {
    
name L["Valiona Theralion"],
    
startEncounterIDs 4599245993,
    
endEncounterIDs 4599245993,
    
options = {
        
blast SN[86369],
        
meteorit SN[92861]
    },
    
defaults = {
        
blastColor = {0.10.410.6},
            
meteoritColor = {0.10.410.6},
    },
    
blast = function(self)
        
local blastTarget encounters:GetMobTarget(45993)
        if 
blastTarget then
            local x
HudMap:GetUnitPosition(blastTarget)
            
local rgbself:Option("blastColor")
            
register(HudMap:PlaceRangeMarker("timer"xy105rgba):Appear():Rotate(3605):RegisterForAlerts())
        
end
    end
,

    
SPELL_CAST_SUCCESS = function(selfspellIDsourceNamedestNamesourceGUIDdestGUID)
        if (
spellID == 86369) and self:Option("blastEnabled"then
            self
.invoker self.invoker or function() self:blast() end
            encounters
:Delay(self.invoker0.1)
            
register(HudMap:PlaceRangeMarkerOnPartyMember("timer"destName1510rgba):Appear():Rotate(36010):RegisterForAlerts():SetLabel(destName))
        
end
    end
,



    
meteorit = function(self)
        
local meteoritTarget encounters:GetMobTarget(45992)
        if 
blastTarget then
            local x
HudMap:GetUnitPosition(meteoritTarget)
            
local rgbself:Option("meteoritColor")
            
register(HudMap:PlaceRangeMarker("timer"xy63rgba):Appear():Rotate(3605):RegisterForAlerts())
        
end
    end
,

    
SPELL_CAST_SUCCESS = function(selfspellIDsourceNamedestNamesourceGUIDdestGUID)
        if (
spellID == 92861) and self:Option("meteoritEnabled"then
            self
.invoker self.invoker or function() self:meteorit() end
            encounters
:Delay(self.invoker0.1)
            
register(HudMap:PlaceRangeMarkerOnPartyMember("timer"destName1510rgba):Appear():Rotate(36010):RegisterForAlerts():SetLabel(destName))
        
end
    end
}


encounters:RegisterModule(L["Bastion of Twilight"], valiona
Nur bekomme ich keine Funktion... wenn jemand die Lösung hat bitte melden
realdee is offline  
Reply




All times are GMT +1. The time now is 10:35.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.