Added the baseline for the Coach Mode feature
- Added the command '/details coach' to enabled coach mode, need to be raid leader and all members must have details up to date. - Fixed Tiny Threat not showing threat. - Fixed annoucement interrupt toggle enable was reseting on logon. - Added container_spells:GetOrCreateSpell(id, shouldCreate, token) - Added Details:GetRaidLeader(), return the RL name. - Framework update.
This commit is contained in:
@@ -59,7 +59,11 @@ local _
|
||||
return pairs (self._ActorTable)
|
||||
end
|
||||
|
||||
function container_habilidades:PegaHabilidade (id, criar, token, cria_shadow)
|
||||
function container_habilidades:GetOrCreateSpell(id, shouldCreate, token)
|
||||
return self:PegaHabilidade (id, shouldCreate, token)
|
||||
end
|
||||
|
||||
function container_habilidades:PegaHabilidade (id, criar, token)
|
||||
|
||||
local esta_habilidade = self._ActorTable [id]
|
||||
|
||||
@@ -68,7 +72,7 @@ local _
|
||||
else
|
||||
if (criar) then
|
||||
|
||||
local novo_objeto = self.funcao_de_criacao (nil, id, shadow_objeto, token)
|
||||
local novo_objeto = self.funcao_de_criacao (nil, id, nil, token)
|
||||
|
||||
self._ActorTable [id] = novo_objeto
|
||||
|
||||
|
||||
Reference in New Issue
Block a user