Gearswap Nugget ;)

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » Jobs » Scholar » Gearswap nugget ;)
Gearswap nugget ;)
Offline
Posts: 182
By Sammeh 2017-01-16 06:29:39
Link | Quote | Reply
 
So I wrote a nugget in gearswap last night to help with casting spells while running or on auto-follow. (Very useful in kiting scenarios or dragging a mule behind you.)

Precast:
Code
	if type(windower.ffxi.get_player().autorun) == 'table' and spell.action_type == 'Magic' then 
		windower.add_to_chat(3,'Currently auto-running - stopping to cast spell')
		windower.ffxi.run(false)
		windower.ffxi.follow()  -- disabling Follow - turning back autorun automatically turns back on follow.
		autorun = 1
		cast_delay(.4) -- manipulate based on lag.
		return
	end


AfterCast:
Code
	if autorun == 1 then 
		windower.ffxi.run()
		autorun = 0
	end


And a quick preview of it's functionality:
YouTube Video Placeholder
[+]
Offline
Posts: 182
By Sammeh 2017-01-16 06:39:00
Link | Quote | Reply
 
YouTube Video Placeholder

Useful for SMN too :D
[+]
 Asura.Vanyar
Offline
Server: Asura
Game: FFXI
Posts: 15
By Asura.Vanyar 2017-01-17 04:25:20
Link | Quote | Reply
 
Thank you for sharing ! :D
 Fenrir.Divinian
Offline
Server: Fenrir
Game: FFXI
user: Divinian
Posts: 354
By Fenrir.Divinian 2017-01-17 06:48:38
Link | Quote | Reply
 
Yes! Thanks!
Log in to post.