lep / jassdoc

Document the WarCraft 3 API
52 stars 20 forks source link

Import wc3modding.info's jassdoc (common.ai) #72

Closed Luashine closed 2 years ago

Luashine commented 2 years ago

Fixes #71


Common.ai: import and merge Starquizer's & moyack's docs

https://wc3modding.info/jassdoc/475/ Permission was granted by moyack.

The formatting was adapted, phrasing mostly changed to fit our jassdoc style. For functions where the wording was unclear, the descriptions were not touched or, at least, not paraphrased.

Added @bug note to GetAllyCount: not 24-player compatible.


Common.ai: Original comment: // This is not the full common.ai just the natives which one can use in // normal jass scripts according to https://www.thehelper.net/threads/working-ai-natives.127331/ // To use these you have to define them explicitly.

I double-checked the above, all of it is in there.