Get glyph-prefix from API ?
Is there a API-way to get the prefix of a glyph-link? "grand glyph of health"
Thanks in advance. |
there is no function, but you can get levels with GetItemLinkGlyphMinMaxLevels()
|
We added a similar request to the wish-list, already. You may vote for us and add your function request there: :)
http://www.esoui.com/forums/showthread.php?t=5210 |
Thanks, i have voted :)
|
Wouldn't something like this work in any language?
Lua Code:
|
It should work, just take in consderation that in some language, it's not a prefix, but a suffix.
ex: Glyphe de santé Vraiment Superbe |
ok. that means the gsub needs to be a bit more flexible with removing the whitespace between the name and the prefix/suffix and maybe it also should be called differently (e.g. GetItemLinkGlyphQualityLabel).
|
Quote:
You could get away with splitting it into words and removing those found in the 0-level name. Seems a bit too complicated (and error-prone) for something that can be done with one table per language. |
Quote:
Lua Code:
|
For me anyway, it's not the point, the point is to be able to generate the name of the glyph from the potency rune or (from any level info...)
so far, you have to either make a complete table for all languages (as in Merlin) or generate the data through time knowing that for this you need to have 1 rune of each type in you bag and have learned them already. Which won't help people who need this info the most : newbies that are trying to do their first writs. With it I could avoid some serious looping when my addon selects the writ components at the station too or inform which rune is missing. So far I can't. (lets say i'm too lazy to maintain a table) |
I will try it this way (not yet tested):
Lua Code:
|
Quote:
Lua Code:
|
This works for me, but not tested in french:
Lua Code:
|
All times are GMT -6. The time now is 10:03 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI