formula-translator
Translate Civilization 5 Vox Populi C++ formulas to TypeScript. Use when asked to translate a formula, add a new mechanic calculation, convert C++ code from CvGameCoreDLL, implement game logic like production costs, gold costs, growth thresholds, combat calculations, or yield computations. Handles GD_INT_GET/GD_FLOAT_GET macros, integer math preservation, and modifier chains.
Installation and usage
Translate Civilization 5 Vox Populi C++ formulas to TypeScript. Use when asked to translate a formula, add a new mechanic calculation, convert C++ code from CvGameCoreDLL, implement game logic like production costs, gold costs, growth thresholds, combat calculations, or yield computations. Handles GD_INT_GET/GD_FLOAT_GET macros, integer math preservation, and modifier chains.
安装后,您可以通过在终端运行以下命令来使用此技能:
skills use formula-translator