featurecomplete spellparsing? MADNESS!

jk, it's probably not complete ... and probably even worse to understand than the previous version, BUT

 - it documents all variables, constructs and functions i've seen used
 - it can and will evaluate variables from SpellDescriptionVariables.dbc
 - it will try to solve formulas as far as possible and respect modifiers for float-precision
   e.g.: ${(1+6)/3}.2 should resolve to 2.33

what's missing: the if-constructs that check for auras and known spells may be parsed to html-comments and manipulated by javascript .. welllllow priority
This commit is contained in:
Sarjuuk
2013-03-04 22:58:28 +01:00
parent 3f69a9ab49
commit 8a9d984eda
6 changed files with 677 additions and 380 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -263,6 +263,7 @@ $lang = array(
),
'spell' => array(
'remaining' => "Noch %s",
'untilCanceled' => "bis Abbruch",
'castIn' => "Wirken in %s Sek.",
'instantPhys' => "Sofort",
'instantMagic' => "Spontanzauber",
@@ -271,6 +272,7 @@ $lang = array(
'meleeRange' => "Nahkampfreichweite",
'reagents' => "Reagenzien",
'tools' => "Extras",
'home' => "%lt;Gasthaus>",
'pctCostOf' => "vom Grund%s",
'costPerSec' => ", plus %s pro Sekunde",
'costPerLevel' => ", plus %s pro Stufe",

View File

@@ -265,6 +265,7 @@ $lang = array(
),
'spell' => array(
'remaining' => "%s remaining",
'untilCanceled' => "until canceled",
'castIn' => "%s sec cast",
'instantPhys' => "Instant",
'instantMagic' => "Instant cast",
@@ -273,6 +274,7 @@ $lang = array(
'meleeRange' => "Melee Range",
'reagents' => "Reagents",
'tools' => "Tools",
'home' => "<Inn>",
'pctCostOf' => "of base %s",
'costPerSec' => ", plus %s per second",
'costPerLevel' => ", plus %s per level",

View File

@@ -160,6 +160,7 @@ $lang = array(
),
'spell' => array(
'remaining' => "%s restantes",
'untilCanceled' => "hasta que se cancela",
'castIn' => "Hechizo de %s seg",
'instantPhys' => "Instante",
'instantMagic' => "Hechizo instantáneo",
@@ -168,6 +169,7 @@ $lang = array(
'meleeRange' => "Alcance de ataques cuerpo a cuerpo",
'reagents' => "Componentes",
'tools' => "Herramientas",
'home' => "<Posada>",
'pctCostOf' => "del %s base",
'costPerSec' => ", mas %s por segundo",
'costPerLevel' => ", mas %s por nivel",

View File

@@ -164,6 +164,7 @@ $lang = array(
),
'spell' => array(
'remaining' => "%s restantes",
'untilCanceled' => "jusquà annulation",
'castIn' => "%s s d'incantation",
'instantPhys' => "Incantation immédiate",
'instantMagic' => "Instantanée",
@@ -172,6 +173,7 @@ $lang = array(
'meleeRange' => "Allonge",
'reagents' => "Composants",
'tools' => "Outils",
'home' => "%lt;Auberge>",
'pctCostOf' => "de la %s de base",
'costPerSec' => ", plus %s par seconde",
'costPerLevel' => ", plus %s par niveau",

View File

@@ -164,6 +164,7 @@ $lang = array(
),
'spell' => array(
'remaining' => "Осталось: %s",
'untilCanceled' => "до отмены",
'castIn' => "Применение: %s сек.",
'instantPhys' => "Мгновенное действие",
'instantMagic' => "Мгновенное действие",
@@ -171,6 +172,7 @@ $lang = array(
'range' => "Радиус действия: %s м",
'meleeRange' => "Дистанция ближнего боя",
'reagents' => "Реагент",
'home' => "%lt;Гостиница>",
'tools' => "Инструменты",
'pctCostOf' => "от базовой %s",
'costPerSec' => ", плюс %s в секунду",