Is there a way to make something like "every x strength, increase 1 armor"?
I tried this system but I got mindblocked on how to use those API.
The listed APIs are...
CSS_GetBonus takes unit u, integer bonusType returns integer
CSS_AddBonus takes unit u, integer amount, integer bonusType returns nothing
CSS_ClearBonus takes unit u, integer bonusType
Those bonus type are simply code which I do know how to use but the rest, I just don't know how since there are no explanation or samples on how to do it.
I tried this system but I got mindblocked on how to use those API.
The listed APIs are...
CSS_GetBonus takes unit u, integer bonusType returns integer
CSS_AddBonus takes unit u, integer amount, integer bonusType returns nothing
CSS_ClearBonus takes unit u, integer bonusType
Those bonus type are simply code which I do know how to use but the rest, I just don't know how since there are no explanation or samples on how to do it.