23efc9b6ed
Fixes bug in scriptset where lookup would no longer point to valid script after removing one preceding it.
master
Deukhoofd2022-06-05 12:39:29 +02:00
b0e2e9935a
Adds more templated functions for getting stats
Deukhoofd2022-05-28 12:31:29 +02:00
df1fd007f1
Adds templated functions for getting stats
Deukhoofd2022-05-28 12:09:11 +02:00
6f0e664e74
Adds support for removing volatile script by its hash, checking if Creature has attack by hash.
Deukhoofd2022-05-28 11:24:16 +02:00
c208394d18
Revert "Adds support for changing talent by its hash, adds support for loading scripts by their name hash."
Deukhoofd2022-05-28 11:07:19 +02:00
e3c997af31
Adds support for changing talent by its hash, adds support for loading scripts by their name hash.
Deukhoofd2022-05-28 11:00:31 +02:00
782e9b90a8
Change types on Creature to List instead of vector
Deukhoofd2022-05-26 12:49:47 +02:00
e1c5460db4
Fix missing header after stdlib update
Deukhoofd2022-05-26 10:07:18 +02:00
38a26888be
Fixes declaration of Battle::GetHistory
Deukhoofd2022-03-23 18:48:39 +01:00
de818c9fd6
Improve readability of BattleScript.hpp
Deukhoofd2022-03-23 18:38:43 +01:00
eccf2c9121
Add nullability to large parts of the codebase
Deukhoofd2022-03-23 18:30:35 +01:00
beb2e44a0b
Further work on replacing integer definitions, make missing sanitizer only a warning instead of an error
Deukhoofd2022-03-23 14:19:07 +01:00
46bf10c719
Remove debug thing to deprecate old integer format, it was just there for rewriting purposes
Deukhoofd2022-03-23 13:59:29 +01:00
3cc19de61f
Update to latest Arbutils, use new integer defines
Deukhoofd2022-03-23 13:56:45 +01:00
2bd73bd4ef
Reset weight/height when variant changes, when a creature is moved out of the battle.
Deukhoofd2021-10-30 17:50:26 +02:00
a12972472b
Adds Creature specific weight and height, which can be modified dynamically during battles.
Deukhoofd2021-10-30 17:07:13 +02:00
2e2abfe122
Reference Arbutils/Enum in ScriptCategory.hpp
Deukhoofd2021-10-30 14:31:43 +02:00
e1d8348b2f
Fixes project being completely dirty every build requiring constant full rebuilds and slowing down tooling.
Deukhoofd2021-10-30 14:24:38 +02:00
0b9028ea97
Fixes BattleSide AddVolatile using the wrong script category.
Deukhoofd2021-10-29 18:12:35 +02:00
b4ef1ea98e
Adds getter for Battle on BattleSide.
Deukhoofd2021-10-28 15:01:31 +02:00
19375c2f87
Adds functions to add, remove, and get volatile scripts from a BattleSide.
Deukhoofd2021-10-28 14:49:24 +02:00
47c3429295
Adds optional optimization to history helper functions to limit the max amount of turns searched through.
Deukhoofd2021-10-24 11:10:30 +02:00