Untitled

mail@pastecode.io avatar
unknown
lua
2 months ago
6.1 kB
5
Indexable
Never
-- All FFXIV Jobs. Temps for Viper and Pictomancer
isADV = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 0 end
isGLD = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 1 end
isPGL = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 2 end
isMRD = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 3 end
isLNC = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 4 end
isARC = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 5 end
isCNJ = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 6 end
isTHM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 7 end
isCRP = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 8 end
isBSM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 9 end
isARM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 10 end
isGSM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 11 end
isLTW = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 12 end
isWVR = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 13 end
isALC = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 14 end
isCUL = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 15 end
isMIN = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 16 end
isBTN = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 17 end
isFSH = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 18 end
isPLD = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 19 end
isMNK = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 20 end
isWAR = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 21 end
isDRG = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 22 end
isBRD = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 23 end
isWHM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 24 end
isBLM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 25 end
isACN = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 26 end
isSMN = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 27 end
isSCH = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 28 end
isROG = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 29 end
isNIN = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 30 end
isMCH = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 31 end
isDRK = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 32 end
isAST = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 33 end
isSAM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 34 end
isRDM = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 35 end
isBLU = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 36 end
isGNB = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 37 end
isDNC = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 38 end
isRPR = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 39 end
isSGE = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 40 end
isVPR = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 41 end
isPCT = function(ent) ent = ent or Player.id local entjob = TensorCore.mGetEntity(ent).job return entjob == 42 end


-- Funcitons for Jobs to use
isDPS = function(ent) return isMNK(ent) or isDRG(ent) or isNIN(ent) or isSAM(ent) or isRPR(ent) or isVPR(ent) or isMCH(ent) or isBRD(ent) or isDNC(ent) or isBLM(ent) or isRDM(ent) or isSMN(ent) or isBLU(ent) end
isMelee = function(ent) return isMNK(ent) or isDRG(ent) or isNIN(ent) or isSAM(ent) or isRPR(ent) or isVPR(ent) end
isCaster = function(ent) return isBLM(ent) or isSMN(ent) or isRDM(ent) or isBLU(ent) or isPCT(ent) end
isRanged = function(ent) return isBRD(ent) or isMCH(ent) or isDNC(ent) end
isTank = function(ent) return isPLD(ent) or isWAR(ent) or isDRK(ent) or isGNB(ent) end
isHealer = function(ent) return isWHM(ent) or isSCH(ent) or isAST(ent) or isSGE(ent) end
isRegen = function(ent) return isWHM(ent) or isAST(ent) end
isShield = function(ent) return isSCH(ent) or isAST(ent) end
isSupport = function(ent) return isPLD(ent) or isWAR(ent) or isDRK(ent) or isGNB(ent) or isWHM(ent) or isSCH(ent) or isAST(ent) or isSGE(ent) end
hasDoTBL = function (ent) return isMNK(ent) or isDRG(ent) or isSAM(ent) or isBRD(ent) or isHealer(ent) end
Leave a Comment