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 statsDeukhoofd2022-05-28 12:31:29 +02:00
df1fd007f1
Adds templated functions for getting statsDeukhoofd2022-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 vectorDeukhoofd2022-05-26 12:49:47 +02:00
e1c5460db4
Fix missing header after stdlib updateDeukhoofd2022-05-26 10:07:18 +02: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.hppDeukhoofd2021-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
cb6725ab5e
Adds support for script owner to clone command.Deukhoofd2021-10-29 21:55:49 +02:00
be7a5fe6bd
More work on setting owner of a script.Deukhoofd2021-10-29 21:40:10 +02:00
949fc67831
Add support for saving and getting the owner of a script in script.Deukhoofd2021-10-29 21:31:01 +02:00
5fd8abb3a8
Reworks ScriptSources so we can get individual scripts on a source. Fixed OnEndTurn making no sense.Deukhoofd2021-10-29 19:31:08 +02:00
316ac12a01
Adds script hook for overriding incoming damage.Deukhoofd2021-10-29 18:24:46 +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