Commit Graph

35 Commits

Author SHA1 Message Date
38de5a7c1a Fix error in binding. 2020-04-25 19:11:45 +02:00
b3442919de Customizable stats - part 2. Removed the StatId enum. (The main stat enum still nees to be removed.) 2020-04-25 16:50:53 +02:00
384c2530d0 Started implementing _get, _set, and _get_property_list for Entity, because the ability to save them into godot scenes would be really useful. 2020-04-24 23:43:37 +02:00
49db594f4a Stat and StatModifier are back to being References. I found a better way to go about serializing stats. (Most likely they'll be merged into Entity, this should simplify the background logic aswell, and make it less awkward.) 2020-04-23 18:48:49 +02:00
9f5248b297 Stat and StatModifier is also a resource now. Stats are not yet exposed as properties, as they need a bit of rework to work properly this way. 2020-04-23 12:13:56 +02:00
f29b01af8b Clang format. 2020-04-10 14:09:21 +02:00
9fa7c23462 Fix build for 4.0. (When 4.0 becomes stable I'll create a branch for it) 2020-04-09 12:32:05 +02:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
74eb8bcb2f Updated the license header for 2020, also added the license text to the top of the c++ files. Removed a now unneeded, unused file. 2020-01-31 19:34:47 +01:00
6f3744e2cb Ran clang format on every file, I got used to it working by default in Visual Studio and I forgot about it. 2020-01-09 04:27:19 +01:00
47da2d28b1 Added bindings for dispells into Spell, and Aura. Cleaned up Spell's scaling bindings. The AuraTypes enum can now be used as flags aswell. Unified has_global_cooldown like bindings. 2019-12-29 01:58:25 +01:00
5ea15ab1c9 Stat will be set dirty after deserialization now. 2019-10-25 21:58:29 +02:00
2053b9ee76 Small fixes and cleanup. 2019-10-16 14:55:14 +02:00
34140a6d2e Renamed Luck to Spirit. 2019-10-16 13:35:57 +02:00
9e976eaebf Small fixes. 2019-10-15 22:21:14 +02:00
18afb79b58 Added a max value parameter for the stat dependencies. 2019-10-15 21:58:40 +02:00
8ce7742d14 Implemented _from_dict in StatModifier. Stats seems to work properly now. 2019-10-15 20:38:51 +02:00
dcd8c65782 More work on stats. 2019-10-15 20:23:13 +02:00
5c4f0a1fe3 Stat refactor part2. 2019-10-15 18:34:19 +02:00
7224490a99 Stat refactoring part 1. 2019-10-15 14:57:59 +02:00
7629584851 Cleaned up Stat's constructors. 2019-10-04 22:55:09 +02:00
081750d4af Include guard fix. 2019-09-24 02:04:41 +02:00
f3a9a9e14a Added LevelStatData classes. 2019-09-16 03:13:52 +02:00
e0183a53c6 More from_dicts. 2019-09-14 20:44:50 +02:00
62b5df080a More work on entity serialization. 2019-09-13 15:21:07 +02:00
7756cf51ec Work on serialization. 2019-09-13 09:26:53 +02:00
f036bf449b Added Spell learning, and Skill support into Entity. And added an XP Rate stat. Also the levelup, and xp gain signals are now actually called. 2019-09-13 01:23:28 +02:00
cfb2373fd1 Added locked property to Stat. Also fixed a bunch of smaller errors. 2019-09-11 18:18:20 +02:00
3cce6b0ae8 -Talent is now inherited from Aura.
-Cleaned up the talent system specific classes.
-The ResourceManager now loads talents aswell.
-Cleaned up, and made the EntityResource system scriptable.
-Fixed the stat signals, the stat parameter was null every time. ("this" should've been wrapped in a Ref.)
2019-08-13 23:58:42 +02:00
895525a998 Work on fleshing out the inventory system. 2019-08-07 01:54:59 +02:00
38b155d4ad -Moved StatModifier from Stats to it's own file. Also updated i.
-Removed the old, now unneeded SpellCastData stuff from Entity.
-Small interface fixed to stat, also fixed applying and deapplying modifiers.
-Fixed AuraStatAttribute's bindings.
-Made the aura commands a little more intuitive.
-Added gcd callback bindings.
-Has Global Cooldonw in spell is now defaults to true.
-Small binding fixes.
2019-08-05 23:59:37 +02:00
f1194ab218 -Added rage, and energy stat.
-Added class resource support.
-Fixed bugs related to auras.
2019-06-22 23:28:36 +02:00
9aaa5d1d5a -Renamed CharacterSkeletonBoneId to CharacterSkeletonPoints.
-Added rank to spells.
-Removed The Icon class, and the SpellManager.
-More cleanup.
-Removed more collection dynamic allocations.
2019-05-30 00:26:02 +02:00
4c586d459f Added the heal pipeline. 2019-05-06 02:07:51 +02:00
032e6622f6 First Commit. 2019-04-20 14:02:55 +02:00