Drain III In Lua

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » Jobs » Dark Knight » Drain III in lua
Drain III in lua
 Bahamut.Faites
Offline
Server: Bahamut
Game: FFXI
Posts: 7
By Bahamut.Faites 2019-02-26 04:36:30
Link | Quote | Reply
 
Morning,

I've been testing my lua, and even though I have Drain and Drain II working as "Drain", the lua doesn't pick up Drain III as part of the same category when i cast Drain, nor does it look at it as Dark magic, it just puts me in fast cast gear then back to TP gear, its not using my Drain potency+ etc.

What are people putting in their lua's to get Drain III to force it to use the correct gear?
 Asura.Neufko
Offline
Server: Asura
Game: FFXI
user: siskotaru
Posts: 236
By Asura.Neufko 2019-02-26 04:42:22
Link | Quote | Reply
 
If you're using Mote, you have to add the spell in the mote-mappings.lua file

add ['Drain III']='Drain' around line 190 addons/gearswap/libs/Mote-Mappings.lua file


Or you can just add a set to your current lua file as follows :

sets.midcast['Drain III']=sets.midcast.drain
[+]
 Bahamut.Faites
Offline
Server: Bahamut
Game: FFXI
Posts: 7
By Bahamut.Faites 2019-02-26 04:45:27
Link | Quote | Reply
 
Thanks!
Log in to post.