教えてほしいのですが、XIPivotを使って、
NexusのAshenbubsHD Basic (x2) and Prime (x4) - FFXI HD Texture Packを
オーメン等Basic、他Primeの自動切り替えを、これで出来るしょうか?
local res = require('resources')
windower.register_event('gain buff', function(buff)
local buff_name = res.buffs[buff].name
local zone = windower.ffxi.get_info().zone
if buff_name == 'Elvorseal' or zone_name == "Reisenjima Henge" then
windower.send_command('pivot a AshenbubsHD-Basic')
else
windower.send_command('pivot a AshenbubsHD-Prime')
end
end)