|
|
0117cb9d64
|
Use smart ArbUt pointers for returning scripts.
continuous-integration/drone/push Build is passing
|
2022-05-14 15:09:58 +02:00 |
|
|
|
4bb353e75b
|
Make ClearBattleData virtual
continuous-integration/drone/push Build is passing
|
2022-03-26 12:12:10 +01:00 |
|
|
|
24f18c775d
|
Rework for BattleSide to use std::vector<bool> to deal with some edge cases
continuous-integration/drone/push Build is passing
|
2022-03-26 11:44:40 +01:00 |
|
|
|
acf6612eba
|
Being a bit too careless today, fixes dumb oversight
continuous-integration/drone/push Build is failing
|
2022-03-26 11:38:40 +01:00 |
|
|
|
aa48557416
|
Fixes syntax error
continuous-integration/drone/push Build is failing
|
2022-03-26 11:37:39 +01:00 |
|
|
|
5dff6d735f
|
Adds BattleRandom methods for unsigned 32 bit numbers
continuous-integration/drone/push Build is failing
|
2022-03-26 11:36:13 +01:00 |
|
|
|
4f77d30a7d
|
Adds getter for checking if a slot is unfillable
continuous-integration/drone/push Build is failing
|
2022-03-26 11:32:55 +01:00 |
|
|
|
bc1f78c8bd
|
More sanitizer fixes
continuous-integration/drone/push Build is passing
|
2022-03-25 19:21:02 +01:00 |
|
|
|
38a26888be
|
Fixes declaration of Battle::GetHistory
continuous-integration/drone/push Build is passing
|
2022-03-23 18:48:39 +01:00 |
|
|
|
eccf2c9121
|
Add nullability to large parts of the codebase
continuous-integration/drone/push Build is passing
|
2022-03-23 18:30:35 +01:00 |
|
|
|
3cc19de61f
|
Update to latest Arbutils, use new integer defines
|
2022-03-23 13:56:45 +01:00 |
|
|
|
6e9844b343
|
Allow changing creature types
continuous-integration/drone/push Build is passing
|
2022-03-12 12:37:26 +01:00 |
|
|
|
a015a3fc62
|
Adds parameter to change stat boost to determine whether its selfinflicted
continuous-integration/drone/push Build is passing
|
2022-03-12 11:34:00 +01:00 |
|
|
|
c078d91b0d
|
Adds functionality for held items
continuous-integration/drone/push Build is passing
|
2022-02-19 12:19:03 +01:00 |
|
|
|
173c6c9926
|
Adds pointer to battle library in on initialize function
continuous-integration/drone/push Build is passing
|
2022-02-12 17:19:07 +01:00 |
|
|
|
179b94a677
|
Adds hook to completely prevent stat boost change
continuous-integration/drone/push Build is passing
|
2022-02-12 15:43:15 +01:00 |
|
|
|
34f1e43269
|
Adds Script Hook to change stat boost changes
continuous-integration/drone/push Build is passing
|
2022-02-12 15:05:42 +01:00 |
|
|
|
9cb2a27007
|
Adds parameters to OnDamage to show the health change.
continuous-integration/drone/push Build is passing
|
2021-11-21 14:13:31 +01:00 |
|
|
|
0912483ba8
|
Adds OnDamage script hook.
continuous-integration/drone/push Build is passing
|
2021-11-21 14:02:00 +01:00 |
|
|
|
40d6e8a389
|
Adds support for changing variant by variant name.
continuous-integration/drone/push Build is passing
|
2021-11-21 13:44:48 +01:00 |
|
|
|
f1d706b356
|
Update to new THROW macro.
continuous-integration/drone/push Build is passing
|
2021-11-21 12:39:07 +01:00 |
|
|
|
aaadbfb4f2
|
Adds OnSwitchIn hook.
continuous-integration/drone/push Build is passing
|
2021-11-19 15:36:48 +01:00 |
|
|
|
53c27d35b6
|
Trigger OnRemove on Creature when it faints.
|
2021-11-19 13:52:18 +01:00 |
|
|
|
364bac7de7
|
Trigger OnRemove on a Creatures scripts when it gets switched out.
|
2021-11-19 13:49:19 +01:00 |
|
|
|
a89d79f8bc
|
Adds DamageSource::Misc.
continuous-integration/drone/push Build is passing
|
2021-11-19 12:51:51 +01:00 |
|
|
|
c27b87b01a
|
Fixes build.
continuous-integration/drone/push Build is passing
|
2021-11-19 12:21:46 +01:00 |
|
|
|
c6d814e886
|
Adds DamageSource to OnFaint script hook.
continuous-integration/drone/push Build is failing
|
2021-11-19 12:15:38 +01:00 |
|
|
|
2ea928e67b
|
Adds OnFaint script hook.
continuous-integration/drone/push Build is passing
|
2021-11-19 12:12:46 +01:00 |
|
|
|
59313e6da8
|
Breaking change: rework of talents.
continuous-integration/drone/push Build is passing
|
2021-11-15 12:04:58 +01:00 |
|
|
|
1a3b7fe50a
|
Fixes build.
continuous-integration/drone/push Build is passing
|
2021-10-30 17:54:37 +02:00 |
|
|
|
2bd73bd4ef
|
Reset weight/height when variant changes, when a creature is moved out of the battle.
continuous-integration/drone/push Build is failing
|
2021-10-30 17:50:26 +02:00 |
|
|
|
a12972472b
|
Adds Creature specific weight and height, which can be modified dynamically during battles.
continuous-integration/drone/push Build is passing
|
2021-10-30 17:07:13 +02:00 |
|
|
|
e1d8348b2f
|
Fixes project being completely dirty every build requiring constant full rebuilds and slowing down tooling.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-30 14:24:38 +02:00 |
|
|
|
cb6725ab5e
|
Adds support for script owner to clone command.
continuous-integration/drone/push Build is failing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 21:55:49 +02:00 |
|
|
|
be7a5fe6bd
|
More work on setting owner of a script.
continuous-integration/drone/push Build is failing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 21:40:10 +02:00 |
|
|
|
5fd8abb3a8
|
Reworks ScriptSources so we can get individual scripts on a source. Fixed OnEndTurn making no sense.
continuous-integration/drone/push Build is failing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 19:31:08 +02:00 |
|
|
|
0b9028ea97
|
Fixes BattleSide AddVolatile using the wrong script category.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 18:12:35 +02:00 |
|
|
|
b4ef1ea98e
|
Adds getter for Battle on BattleSide.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-28 15:01:31 +02:00 |
|
|
|
19375c2f87
|
Adds functions to add, remove, and get volatile scripts from a BattleSide.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-28 14:49:24 +02:00 |
|
|
|
47c3429295
|
Adds optional optimization to history helper functions to limit the max amount of turns searched through.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-24 11:10:30 +02:00 |
|
|
|
7354c835e6
|
Fixes memory leak.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-23 18:38:12 +02:00 |
|
|
|
51897e42da
|
Make HistoryHolder a pointer instead of value.
continuous-integration/drone/push Build is failing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-23 17:17:34 +02:00 |
|
|
|
20b53833c4
|
Cleans up HistoryHolder to be a lot less complicated (although possibly a bit slower), adds DamageHistory.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-23 16:57:58 +02:00 |
|
|
|
a361716233
|
Made Creature::GetStatusName const.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-09-21 22:19:26 +02:00 |
|
|
|
ce30077a5d
|
Change Creature::Nickname to be an optional.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-09-19 11:40:18 +02:00 |
|
|
|
152ac7e407
|
Don't throw an exception when teaching an attack when we don't have the max amount of attacks yet.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-08-29 17:16:36 +02:00 |
|
|
|
512a39e158
|
Deal with Creatures being deleted before a battle they're part of.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-08-28 19:05:52 +02:00 |
|
|
|
d89e0b0d77
|
Adds function on battleside to get a creature at an index.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-08-23 21:38:47 +02:00 |
|
|
|
08120d5433
|
Adds status handling functions
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-07-09 15:33:30 +02:00 |
|
|
|
762915b1f7
|
Add new Creature::IsUsable function, which replaces IsFainted functionality in several places.
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-06-19 12:33:31 +02:00 |
|