for ppl who want to use ftc on the pts right now, you have to edit the functions.lua in
Documents\Elder Scrolls Online\live\AddOns\FoundryTacticalCombat\character
*EDIT*
The whole function is obsolete as there is GetUnitClass(), which does the same.
so change
Lua Code:
FTC.Player.class = FTC.Player:GetClass(GetUnitClassId( 'player' ))
to
Lua Code:
FTC.Player.class = GetUnitClass( 'player' )
and change
Lua Code:
FTC.Target.class = FTC.Player:GetClass(GetUnitClassId('reticleover'))
to
Lua Code:
FTC.Target.class = GetUnitClass('reticleover')
Next steps:
Search for "Sorcerer", then comment the two lines starting with "local arr" & "return arr"(just add two minus "--" infront of them)
and add these two lines
Code:
local gender = GetUnitGender('player')
return GetClassName(gender, classId)
like this:
Lua Code:
function FTC.Player:GetClass(classId)
--START
--local arr = {"Dragonknight", "Scorcerer", "Nightblade", "Warden", "Necromancer", "Templar"}
--return arr[classId]
--END
--if ( classId == 1 ) then return "Dragonknight"
--elseif ( classId == 2 ) then return "Sorcerer"
--elseif ( classId == 3 ) then return "Nightblade"
--elseif ( classId == 6 ) then return "Templar" end
local gender = GetUnitGender('player')
return GetClassName(gender, classId)
end
you could also reinstitute the old commented lines and add the missing classes, so it looks like this:
Lua Code:
function FTC.Player:GetClass(classId)
--START
--local arr = {"Dragonknight", "Scorcerer", "Nightblade", "Warden", "Necromancer", "Templar"}
--return arr[classId]
--END
if ( classId == 1 ) then return "Dragonknight"
elseif ( classId == 2 ) then return "Sorcerer"
elseif ( classId == 3 ) then return "Nightblade"
elseif ( classId == 4 ) then return "Warden"
elseif ( classId == 5 ) then return "Necromancer"
elseif ( classId == 6 ) then return "Templar"
elseif ( classId == 117 ) then return "Arcanist"
end
but i personally like the first solution more ^^