View Single Post
  #3  
Unread 06-29-2009, 02:10 PM
isabel80 isabel80 is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Splitpaw
Posts: 4
Cool Fixed it myself

I fixed it myself

If you look at the line i posted before, you'll see that there will be set together the name of a variable. This variable is used to read the name of the cure spell from the ProfitUI_Cures.txt. What i didn't see is that it always adds a string called 'Cure' after the name of this variable (marked bold):


<Button Name="GetSpellLocation" OnPress="SpellLocation='Parent.ProfitUI_Cures.' ## (Parent.Parent.Parent._HUD.ProfitUI_SubclassDetector.Subclass) ## '.' ## (Parent.CureName) ## 'Cure' Parent.Configure.OnPress='Parent.Cure=' ## (SpellLocation) Parent.Configure.Press=true" />

This means in the ProfitUI_Cures.txt i needed to add the word 'Cure'.

Example:

<Data Name="Inquisitor" TraumaCure="Cure" ArcaneCure="Cure" NoxiousCure="Cure" ElementalCure="Cure" CurseCure="Cure Curse" AncestralBalmCure="NONE"/>
<Data Name="Monk" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE" AncestralBalmCure="NONE"/>
<Data Name="Mystic" TraumaCure="Cure" ArcaneCure="Cure" NoxiousCure="Cure" ElementalCure="Cure" CurseCure="Cure Curse" AncestralBalmCure="Ancestral Balm"/>
<Data Name="Necromancer" TraumaCure="NONE" ArcaneCure="Cure Arcane" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE" AncestralBalmCure="NONE"/>

Now it works correctly
Reply With Quote