22 Commits

Author SHA1 Message Date
b02577554f
Remove GetProperty macro, as it wasn't that intuitive, and caused issues later.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-12 17:04:42 +01:00
144d17d859
Fixed changing stat boost by negative actually increasing it.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-05 14:57:17 +01:00
568232c7a5
Split off initialization of Creature into new function that's not called in the constructor.
All checks were successful
continuous-integration/drone/push Build is passing
This has to do with specific implementations of stat calculator requiring an inherited type of the Creature class, and by calling it in the constructor casting to this inherited type will fail.
2020-01-05 13:43:47 +01:00
ae4d8f5e12
Removes some variables that are better handled in implementations.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-27 12:19:38 +01:00
8e53ffb53d
Implements functions for getting display species and variant.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-21 14:32:45 +01:00
410487c86b
Initial support for Event Hooks.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-15 12:24:08 +01:00
649de39571
Implements experience gain on opponent faint.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-14 13:28:23 +01:00
c25d7b865e
Implements creature switching as turn choice.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-14 12:15:30 +01:00
dc9296194e
Fixed battle ending after any faint.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-07 22:52:43 +01:00
262279bd2c Support for ending battles when only one side has creatures that are available for battle. 2019-12-07 21:56:29 +01:00
6f32d1245b
Implemented and fixed all code required to run at least a single turn.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-05 12:56:41 +01:00
a8730d983f
Used ClangFormat style guide I'm happy with.
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-28 12:55:22 +01:00
49bd4813f6 Initialize Creature talent script when battle library is set, allow talent overriding
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-18 18:41:55 +01:00
86f8a1e37b
Adds talent script to Creature class
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-17 11:25:52 +01:00
d8332f9e40 Another rework for scripthooks, for better performance.
All checks were successful
continuous-integration/drone/push Build is passing
This new version caches pointers to the pointers to scripts, so that we can build the data once and then simply iterate over it whenever we want to run a hook.
2019-11-10 17:08:42 +01:00
3488784409 Furter rework on script hooks, simplifying required logic. 2019-11-10 14:32:05 +01:00
1848d7b617 Implementation of damage calculation.
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-11-05 14:31:54 +01:00
db2a577a85 Further implementation of types. 2019-11-05 08:06:12 +01:00
b4e08049ce
Handle executing moves.
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-03 13:47:50 +01:00
fc675efdf5
More work on basic turn layout.
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-02 13:57:43 +01:00
99315174a8
Initial support for setting battle choices.
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-29 11:19:25 +01:00
9588236183
Remove creature classes from Library lib, merged with Battling lib.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-24 13:37:55 +02:00