ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Translation Help (https://www.esoui.com/forums/forumdisplay.php?f=186)
-   -   Dump of ability names (https://www.esoui.com/forums/showthread.php?t=2357)

Garkin 10/27/14 12:56 PM

Dump of ability names
 
1 Attachment(s)
In the attachement is a dump of ability names in all 3 supported languages. I'm not sure if it is complete, but there is 31913 abilityIds on the list. It was generated on the PTS server (v1.5.1) using this simple loop:

Lua Code:
  1. local lang = GetCVar("language.2")
  2. local sv.list = sv.list or {} --sv is reference to saved variables table
  3.  
  4. for abilityId = 1, 70000 do
  5.    if DoesAbilityExist(abilityId) then
  6.       sv.list[abilityId] = sv.list[abilityId] or {}
  7.       sv.list[abilityId][lang] = GetAbilityName(abilityId)
  8.    end
  9. end

Tonyleila 10/27/14 01:25 PM

very nice finaly a list with all spells in it in all languages!
Now it only needs all timers in it to make it work with cooldown/buff addons :D

Garkin 10/27/14 01:31 PM

Quote:

Originally Posted by Tonyleila (Post 12778)
very nice finaly a list with all spells in it in all languages!
Now it only needs all timers in it to make it work with cooldown/buff addons :D

In the list are abilityIds, so it is easy to get timers:

* GetAbilityCastInfo(*integer* _abilityId_)
** _Returns:_ *bool* _channeled_, *integer* _castTime_, *integer* _channelTime_

* GetAbilityDuration(*integer* _abilityId_)
** _Returns:_ *integer* _duration_


All times are GMT -6. The time now is 06:32 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI