- Fixed the enemy name on segment menu.

- Added stoneform on cooldown list.

- New API: _detalhes.GetSpellInfo (spell) return spell information from cache.
- New API: _detalhes:GetSpellSchoolName (school number) return the school name.
- New API: _detalhes:GetSpellSchoolFormatedName (school number) return school name with school color.
This commit is contained in:
tercio
2014-07-31 17:38:33 -03:00
parent 2d1cf1b220
commit e61fe4ee01
7 changed files with 83 additions and 34 deletions
+7 -5
View File
@@ -417,14 +417,16 @@
_detalhes.tabela_vigente.is_trash = true
end
if (inimigo) then
if (_detalhes.debug) then
_detalhes:Msg ("(debug) enemy recognized", inimigo)
if (not _detalhes.tabela_vigente.enemy) then
local enemy = _detalhes:FindEnemy()
if (enemy and _detalhes.debug) then
_detalhes:Msg ("(debug) enemy found", enemy)
end
_detalhes.tabela_vigente.enemy = enemy
end
_detalhes.tabela_vigente.enemy = inimigo
if (_detalhes.debug) then
_detalhes:Msg ("(debug) forcing equalize actors behavior.")
_detalhes:EqualizeActorsSchedule (_detalhes.host_of)