
Originally Posted by
Sithel
Is there a simple function for if MP is at a certain point, then do something?
For example, if engaged and MP = 100 or higher then equip Oneiros Ring or else equip what ever TP set is active.
Also, a simple global toggle to just toggle back and fourth from Ochain and Aegis?
In the excel files "variables" there is a list. Saw Player.MP so I guess should work like this
Code:
function status_change(new,old)
if new == 'Engaged' then
if player.mp > 100 then
equip(left_ring="Oneiros Ring")
end
end
end
for the shield thing.. I would make it like this:
Code:
function self_command(command)
if command == 'Shield' then
if sets.shield == shield.aegis then
equip(shield.ochain)
sets.shield = shield.ochain
send_command('@input /echo Ochain Equipped')
else
equip(shield.aegis)
sets.shield = shield.aegis
send_command('@input /echo Aegis Equipped')
end
end
end
set.shield = {}
shield = {}
shield.aegis = {sub="Aegis"}
shield.ochain = {sub="Ochain"}
set.shield = shield.ochain << "Default Shield"...
in game macro would be "/console gs c Shield"
something like that... others ppl might have other solutions