06-14-2017, 05:55 PM
Been brainstorming how enemies should attack, I decided the enemy behavior could have a list with each enemy that could be adjusted.
For example:
0. The Test Monster attack you! <HP/5>
1. The Test Monster stole some AP you! <AP/5>
2. The Test Monster rasied it's offense! <MATK/5>
3. The Test Monster rasied it's defense! <MATK/5>
4. The Test Monster raised it's speed <MSPD/5>
5. The Test Monster raised it's dodge <MDOG/5>
6. Test Monster raised it's HP <MHP/5>
For example, during the enemy's turn, it'll draw the text before "<" as the stat to reduce is determined by the text after "<", and before "/", and the amount affected is by after "/", and before ">"
I assume attack order will be another list that'll update, maybe organized by speed?
For example:
0. The Test Monster attack you! <HP/5>
1. The Test Monster stole some AP you! <AP/5>
2. The Test Monster rasied it's offense! <MATK/5>
3. The Test Monster rasied it's defense! <MATK/5>
4. The Test Monster raised it's speed <MSPD/5>
5. The Test Monster raised it's dodge <MDOG/5>
6. Test Monster raised it's HP <MHP/5>
For example, during the enemy's turn, it'll draw the text before "<" as the stat to reduce is determined by the text after "<", and before "/", and the amount affected is by after "/", and before ">"
I assume attack order will be another list that'll update, maybe organized by speed?