2 files to change, will enable the use of T9 handcrafted pots:
_ProfitUI_Cures.txt :
<?xml version="1.0" encoding="utf-8"?>
<Page Name="ProfitUI_Cures">
<Data Name="CancelSpellcast" Value="false"/>
<Data Name="TraumaMacro" Code="" />
<Data Name="ArcaneMacro" Code="" />
<Data Name="NoxiousMacro" Code="" />
<Data Name="ElementalMacro" Code="" />
<Data Name="CurseMacro" Code="" />
<Data Name="TraumaPotion" potionvdl_2="855760996" potionvdl_1="1730973387" potionvdl_3="-292985664" potionvdl_4="1730973387"/>
<Data Name="ArcanePotion" potionvdl_2="1372020673" potionvdl_1="99234158" potionvdl_3="-1940923547" potionvdl_4="99234158"/>
<Data Name="NoxiousPotion" potionvdl_2="-250251480" potionvdl_1="-1222056897" potionvdl_3="544446557" potionvdl_4="3072910399"/>
<Data Name="ElementalPotion" potionvdl_2="2105175164" potionvdl_1="301952041" potionvdl_3="528994112" potionvdl_4="301952041"/>
<Data Name="Assassin" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Berserker" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Brigand" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Bruiser" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Coercer" TraumaCure="NONE" ArcaneCure="3530975588" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Conjuror" TraumaCure="NONE" ArcaneCure="3530975588" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Defiler" TraumaCure="2945678992" ArcaneCure="2945678992" NoxiousCure="2945678992" ElementalCure="2945678992" CurseCure="969542071"/>
<Data Name="Dirge" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Fury" TraumaCure="2945678992" ArcaneCure="2945678992" NoxiousCure="2945678992" ElementalCure="2945678992" CurseCure="969542071"/>
<Data Name="Guardian" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Illusionist" TraumaCure="NONE" ArcaneCure="3530975588" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Inquisitor" TraumaCure="2945678992" ArcaneCure="2945678992" NoxiousCure="2945678992" ElementalCure="2945678992" CurseCure="969542071"/>
<Data Name="Monk" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Mystic" TraumaCure="2945678992" ArcaneCure="2945678992" NoxiousCure="2945678992" ElementalCure="2945678992" CurseCure="969542071"/>
<Data Name="Necromancer" TraumaCure="NONE" ArcaneCure="3530975588" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Paladin" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Ranger" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Shadowknight" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Swashbuckler" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Templar" TraumaCure="2945678992" ArcaneCure="2945678992" NoxiousCure="2945678992" ElementalCure="2945678992" CurseCure="969542071"/>
<Data Name="Troubador" TraumaCure="NONE" ArcaneCure="NONE" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Warden" TraumaCure="2945678992" ArcaneCure="2945678992" NoxiousCure="2945678992" ElementalCure="2945678992" CurseCure="969542071"/>
<Data Name="Warlock" TraumaCure="NONE" ArcaneCure="3530975588" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
<Data Name="Wizard" TraumaCure="NONE" ArcaneCure="3530975588" NoxiousCure="NONE" ElementalCure="NONE" CurseCure="NONE"/>
</Page>
_ProfitUI_CuresCode.xml :
<?xml version="1.0" encoding="utf-8"?>
<Page Name="ProfitUI_CuresCode">
<Button Name="CureSpell" OnActivate="useabilityonplayer Parent.Target Parent.Cure
Activated=false"/>
<Button Name="CurePotion" OnActivate="Parent.GetPotionLocation.Press=true
use_itemvdl Parent.Potion_1
use_itemvdl Parent.Potion_2
use_itemvdl Parent.Potion_3
use_itemvdl Parent.Potion_4
Activated=false"/>
<Button Name="CustomMacro" />
<Button Name="CureTrauma" OnPress="Parent.CustomMacro.Press=true Parent.CustomMacro.OnPress=Parent.ProfitUI_Cures.TraumaMacro.Code Parent.DoCure.Press=true Parent.CureName='Trauma'"/>
<Button Name="CureArcane" OnPress="Parent.CustomMacro.Press=true Parent.CustomMacro.OnPress=Parent.ProfitUI_Cures.ArcaneMacro.Code Parent.DoCure.Press=true Parent.CureName='Arcane'"/>
<Button Name="CureNoxious" OnPress="Parent.CustomMacro.Press=true Parent.CustomMacro.OnPress=Parent.ProfitUI_Cures.NoxiousMacro.Code Parent.DoCure.Press=true Parent.CureName='Noxious'"/>
<Button Name="CureElemental" OnPress="Parent.CustomMacro.Press=true Parent.CustomMacro.OnPress=Parent.ProfitUI_Cures.ElementalMacro.Code Parent.DoCure.Press=true Parent.CureName='Elemental'"/>
<Button Name="CureCurse" OnPress="Parent.CustomMacro.Press=true Parent.CustomMacro.OnPress=Parent.ProfitUI_Cures.CurseMacro.Code Parent.DoCure.Press=true Parent.CureName='Curse'"/>
<Button Name="Configure"/>
<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"/>
<Button Name="GetPotionLocation" OnPress="PotionLocation='Parent.ProfitUI_Cures.' ## (Parent.CureName) ## 'Potion.potionvdl_1'
Parent.Configure.OnPress='Parent.Potion_1=' ## (PotionLocation)
Parent.Configure.Press=true
PotionLocation='Parent.ProfitUI_Cures.' ## (Parent.CureName) ## 'Potion.potionvdl_2'
Parent.Configure.OnPress='Parent.Potion_2=' ## (PotionLocation)
Parent.Configure.Press=true
PotionLocation='Parent.ProfitUI_Cures.' ## (Parent.CureName) ## 'Potion.potionvdl_3'
Parent.Configure.OnPress='Parent.Potion_3=' ## (PotionLocation)
Parent.Configure.Press=true
PotionLocation='Parent.ProfitUI_Cures.' ## (Parent.CureName) ## 'Potion.potionvdl_4'
Parent.Configure.OnPress='Parent.Potion_4=' ## (PotionLocation)
Parent.Configure.Press=true"/>
<Button Name="GetCancelSpellcastFromFile" OnPress="Parent.CancelSpellcast=Parent.ProfitUI_Cures.CancelSpellcast.Value"/>
<Button Name="CancelSpellcast" OnActivate="clearallqueuedabilities
cancel_spellcast
Activated=false"/>
<Button Name="DoCure" OnPress="Parent.GetSpellLocation.Press=true
Parent.CancelSpellcast.Activated=Parent.CancelSpellcast
COND=Parent.Cure=='NONE'
HAS_SPELL=COND ? false : true
Parent.CureSpell.Activated=HAS_SPELL
COND=(Parent.Target==Parent.Self.Text)
Parent.CurePotion.Activated=COND ? '!'HAS_SPELL : false"/>
<Text DynamicData="/GameData.Self.Name" Name="Self"/>
<include>_ProfitUI_Cures.txt</include>
</Page>
|