WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Spelldmg (https://www.wowinterface.com/forums/showthread.php?t=28719)

jasje 11-25-09 12:54 PM

Spelldmg
 
Title say's it, i want a text that show's how much spelldamage ive got

ive got this so far

Code:

Text:SetText(XXX.. GetSpellBonusDamage(7))   
     
    Stat:RegisterEvent("UNIT_AURA")
    Stat:RegisterEvent("PLAYER_DAMAGE_DONE_MODS")
    Stat:UnregisterEvent("UNIT_AURA")
    Stat:RegisterEvent("COMBAT_RATING_UPDATE")
    Stat:UnregisterEvent("COMBAT_RATING_UPDATE")

Also got a frame alrdy to put it in, what im i doing wrong or forgetting

jasje 11-25-09 04:15 PM

Nvm alrdy got it working!


All times are GMT -6. The time now is 10:26 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI