Gearswap - Weapon Change Base On Mob

Language: JP EN DE FR
2010-09-08
New Items
329 users online
Forum » FFXI » Jobs » Dark Knight » Gearswap - Weapon Change Base on Mob
Gearswap - Weapon Change Base on Mob
Offline
Posts: 237
By Galkapryme 2020-04-07 19:11:03
Link | Quote | Reply
 
I primarily use an R15 Apoc, but I recently bought a Father Time for those situations when I'm fighting undead, and Catastrophe is of no use. Is there a way to script it so that when I engage an undead, my main weapon changes to Father Time?
 Quetzalcoatl.Javarr
Offline
Server: Quetzalcoatl
Game: FFXI
Posts: 91
By Quetzalcoatl.Javarr 2020-04-07 21:41:21
Link | Quote | Reply
 
Pretty sure that goes beyond the scope of Gearswap. Also to even try to make that happen, you'd have to make a reference list of EVERY undead mob in the game and then make a way to reference that list and then mapping if/else statements...

Personally I'd just hide a macro on the end of a bar somewhere:

Normal:
/equip main "Apocalypse"
Undead:
/equip main "Father Time"

I use a similar trick on RNG when shifting main/off between Physical WS and TF. Would be 1000000000000000 times easier.
Offline
Posts: 237
By Galkapryme 2020-04-18 00:17:06
Link | Quote | Reply
 
I considered doing that. I was trying to avoid making another macro set, as I currently use 2 full lines.
 Asura.Arico
Offline
Server: Asura
Game: FFXI
user: Tename
Posts: 531
By Asura.Arico 2020-04-18 01:13:19
Link | Quote | Reply
 
if you make a lsit of every undead mob it wouldn't be too hard.
 Fenrir.Skarwind
Offline
Server: Fenrir
Game: FFXI
user: Skarwind
Posts: 3160
By Fenrir.Skarwind 2020-04-18 12:44:42
Link | Quote | Reply
 
I ended up just making macros to equip a main weapon anyways. Since I use Misanthropy for Drains and Apsirs.
 Leviathan.Andret
Offline
Server: Leviathan
Game: FFXI
user: Andret
Posts: 997
By Leviathan.Andret 2020-04-18 12:55:59
Link | Quote | Reply
 
I think there are gear swap Lua that allows you to cycle weapons (by extension, WS gear sets) by pressing a short cut.

So it's possible to go with a staff WS at start then switch to another weapon afterwards
 Fenrir.Skarwind
Offline
Server: Fenrir
Game: FFXI
user: Skarwind
Posts: 3160
By Fenrir.Skarwind 2020-04-18 12:59:29
Link | Quote | Reply
 
So heres a good one, is there a way to cancel a buff through gear swap?

Say I want to use Drain 3 or Dread Spikes, I'd like it to kill Hasso/Seigen automatically.

I've been doing it manually so my recast isnt affected.
 Leviathan.Andret
Offline
Server: Leviathan
Game: FFXI
user: Andret
Posts: 997
By Leviathan.Andret 2020-04-18 13:13:43
Link | Quote | Reply
 
I think there was one that cancels utsusemi when you recast it, can't remember which lua though.

Or just make a macro, i think there is a cancel add-on in windower to remove a buff.
 Asura.Shiraj
Offline
Server: Asura
Game: FFXI
user: Shiraj
Posts: 979
By Asura.Shiraj 2020-04-18 13:30:37
Link | Quote | Reply
 
This is how you do the Utsusemi one, so you'll need to find out the IDs of the Buffs you want:
Code
    if spell.type == 'Ninjutsu' then
        if spell.english == 'Utsusemi: Ichi' then
            equip(sets.midcast.Ninjutsu['Utsusemi'])
            if buffactive['Copy Image'] or buffactive['Copy Image (2)'] or buffactive['Copy Image (3)'] or buffactive['Copy Image (4+)'] then
                send_command('wait 1;cancel 66;cancel 446;cancel 445;cancel 444;')



Edit, just looked for you: Hasso/Siegen use the buff ID of 353 for Hasso, 354 for Seigan.
For reference: Windower4 > Res > Buffs.lua
 Lakshmi.Elidyr
Offline
Server: Lakshmi
Game: FFXI
user: elii
Posts: 886
By Lakshmi.Elidyr 2020-04-18 13:30:45
Link | Quote | Reply
 
If you have the Cancel addon:
Code
local buff_id = 100
windower.send_command(string.format('cancel %s', buff_id))
 Asura.Bippin
Online
Server: Asura
Game: FFXI
user: Gunit
Posts: 894
By Asura.Bippin 2020-04-18 13:39:44
Link | Quote | Reply
 
Fenrir.Skarwind said: »
So heres a good one, is there a way to cancel a buff through gear swap?

Say I want to use Drain 3 or Dread Spikes, I'd like it to kill Hasso/Seigen automatically.

I've been doing it manually so my recast isnt affected.
send_command('cancel Hasso')
 Fenrir.Skarwind
Offline
Server: Fenrir
Game: FFXI
user: Skarwind
Posts: 3160
By Fenrir.Skarwind 2020-04-18 15:09:17
Link | Quote | Reply
 
Thanks!
Offline
Posts: 2820
By Taint 2020-04-18 18:09:36
Link | Quote | Reply
 
Manually do it, otherwise you’ll have annoying 1000+ TP swaps which will completely negate any gains.
 Asura.Arico
Offline
Server: Asura
Game: FFXI
user: Tename
Posts: 531
By Asura.Arico 2020-04-18 22:27:32
Link | Quote | Reply
 
Taint said: »
Manually do it, otherwise you’ll have annoying 1000+ TP swaps which will completely negate any gains.

How often does he fight an undead mob anyway? Probably niche enough that if he's asking for it losing TP isn't going to be a problem.
necroskull Necro Bump Detected! [115 days between previous and next post]
Offline
Posts: 237
By Galkapryme 2020-08-11 14:21:18
Link | Quote | Reply
 
Asura.Arico said: »
Taint said: »
Manually do it, otherwise you’ll have annoying 1000+ TP swaps which will completely negate any gains.

How often does he fight an undead mob anyway? Probably niche enough that if he's asking for it losing TP isn't going to be a problem.

Since making this post, I started using Sel's GS, and learned how to use the cycle weapons command. So now by DRK is more versatile and can seamlessly cycle through scythes, great swords, swords, great axes, and axes as the situation dictates.
Log in to post.