Drain III In Lua

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Dark Knight » Drain III in lua
Drain III in lua
 Bahamut.Faites
Offline
Serveur: Bahamut
Game: FFXI
Posts: 7
By Bahamut.Faites 2019-02-26 04:36:30
Link | Citer | R
 
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
Serveur: Asura
Game: FFXI
user: siskotaru
Posts: 236
By Asura.Neufko 2019-02-26 04:42:22
Link | Citer | R
 
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
Serveur: Bahamut
Game: FFXI
Posts: 7
By Bahamut.Faites 2019-02-26 04:45:27
Link | Citer | R
 
Thanks!