AnyoneAnywhere
Active Member
This one is for a Sacrifice toggle. Requires some common sense to know where everything goes, but you're all smart guys.
..Class Routines\Conjurer.iss
Add:
Add:
Append to the end of the Expiation IF check:
Append to the beginning of the Expiation IF check:
..UI\Conjurer.iss
Add:
Haven't tested it thoroughly, but I don't see why it shouldn't work.
..Class Routines\Conjurer.iss
Add:
Code:
SacMode:Set[${SettingXML[${charfile}].Set[${Me.SubClass}].GetString[Use Sacrifice,TRUE]}]
Code:
declare SacMode bool script 1
Code:
&& ${SacMode}
Code:
${SacMode} &&
Add:
Code:
<Commandcheckbox Name='UseSac' Template='EQ2.Commandcheckbox'>
<Visible>1</Visible>
<X>10</X>
<Y>230</Y>
<Width>30%</Width>
<Height>20</Height>
<Text>Use Sacrifice</Text>
<OnLeftClick>
if ${This.Checked}
{
Script[EQ2Bot].Variable[SacMode]:Set[TRUE]
SettingXML[Scripts/EQ2Bot/Character Config/${Me.Name}.xml].Set[${Me.SubClass}]:Set["Use Sacrifice",TRUE]:Save
}
else
{
Script[EQ2Bot].Variable[SacMode]:Set[FALSE]
SettingXML[Scripts/EQ2Bot/Character Config/${Me.Name}.xml].Set[${Me.SubClass}]:Set["Use Sacrifice",FALSE]:Save
}
</OnLeftClick>
<Data>${SettingXML[Scripts/EQ2Bot/Character Config/${Me.Name}.xml].Set[${Me.SubClass}].GetString[Use Sacrifice]}</Data>
</Commandcheckbox>
Last edited: