Commit Graph

37 Commits

Author SHA1 Message Date
e992462683 Fix compile for 4.0. 2020-10-06 23:15:49 +02:00
1aa751f959 Cleaned up SpellDamageInfo and SpellHealInfo. 2020-07-29 18:27:45 +02:00
060601afbe Cleanup _sapply. 2020-07-29 14:31:41 +02:00
af1bd74fbf Calculate aura damage only once, and just use the value. Also implement scaling (if enabled). 2020-07-17 19:26:50 +02:00
49a347b0a2 _handle_aura_heal and _handle_aura_damage now won't complain anymore if the aura's caster is invalid. 2020-07-16 15:56:48 +02:00
dbc7bde24b Now Entity only has one level property instead of separate class and character levels. Updated notifications accordingly. 2020-07-10 15:24:14 +02:00
b4a6153d13 Updated the remaining vmethod signatures. 2020-06-13 22:21:23 +02:00
fb3a5cde04 Removed the Cooldown and the CategoryCooldown classes. Entity now stores these with a small internal struct. The notifications are not all perfect, but I'm going to rework them a bit in the next few commits, and they will be fixed then. 2020-06-13 21:51:28 +02:00
62586d9112 Hide the trigger properties in Aura from gdscript. 2020-06-07 15:03:09 +02:00
e3be2555d2 The diminishing return categories are now customizable. 2020-06-06 18:06:30 +02:00
8ed462ece2 Also reworked how AuraStatAttributes are stored. 2020-06-06 16:55:14 +02:00
598d02022a Reworked how aura trigger data is stored. The trigger logic is not yet implemented (soon), but it will be mostly trivial to do at this point. Also changed the stat attribute mod functions in aura to the new style. 2020-06-06 16:26:21 +02:00
6a3716bc42 comvert quite a few more getters/setters to the newer style. 2020-06-05 19:40:53 +02:00
d063f8da28 Rename both ESS::get_instance, and ProfileManager::get_instance to <class>::get_singleton, to match Godot's standard. 2020-05-23 16:29:47 +02:00
7bbca9ae89 Centralized most of the 4.0 port code into a new header. 2020-05-22 20:48:08 +02:00
b1efeb662a EquipSlots are now customizable from the ProjectSettings. 2020-05-19 18:58:01 +02:00
d20419621d Character, and Class levels are now customizable through ProjectSettings. 2020-05-19 02:19:23 +02:00
9fd0c23f5b Fix compile for 4.0. 2020-05-16 21:32:33 +02:00
b97bf3a767 Merged Stat into Entity. 2020-05-01 17:15:44 +02:00
58b318b9f4 Stat simplification/rework - Part 1. Stats doesn't work yet! Removed StatModifier, and initial Stat api simplification/cleanup. 2020-04-30 14:17:18 +02:00
2c47f9f550 Standardized notification methods to have the "notification" prefix, instead of the "on", and changed the naming a bit. This makes them stand out inside the docs, and it's easier to get completions for them while using the api. 2020-04-28 20:47:34 +02:00
9be4cba706 Same treatment to aura related methods. 2020-04-28 16:07:36 +02:00
62d3928ced Equpiment-related methods now start with the equip keyword. 2020-04-28 12:31:03 +02:00
06283f3768 Same api cleanup to the clientside versions of the methods. 2020-04-28 03:09:26 +02:00
d110b3368f Moved cast, damage, heal and aura related serverside events into combined events to work similarly as notifications in Node. This makes creating events like these possible from scripts. (The rest will be converted aswell.) 2020-04-27 21:30:59 +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
4935de4c5f Rename the EntityDataManager singleton to just simply ESS. 2020-04-14 16:55:21 +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
bfd7bdcf42 Removed WorldSpell. Added a few properties into Spell that will replace it. 2020-04-07 02:10:10 +02:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
0bf97e57da Now the default value for the spell scaling variable in spells, and auras (just added it) is a project setting. 2020-03-10 13:24:14 +01:00
3e10779dbc Updated old style getters/setters to use the new style. E.g. sget_ -> gets_. 2020-02-26 21:20:54 +01:00
ceb71f56d4 Added similar api to Items. And fix typo. 2020-02-26 17:24:11 +01:00
a040f946fc Added the same api to Auras. 2020-02-26 16:57:17 +01:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +01:00