Commit Graph

200 Commits

Author SHA1 Message Date
1aa751f959 Cleaned up SpellDamageInfo and SpellHealInfo. 2020-07-29 18:27:45 +02:00
915ecb9ad5 Fix parentheses in _calculate_initial_damage, and _calculate_initial_heal. 2020-07-29 15:43:01 +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
4ab7e83956 Removed XPData. 2020-07-10 17:17:15 +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
25e0ad08a4 Fix _set in XPData. 2020-06-27 00:16:21 +02:00
dd2876d2e2 4.0 compile fix. 2020-06-20 22:36:31 +02:00
20aabfda70 ItemInstance now has a stat_modifiers property. 2020-06-20 20:59:03 +02:00
c3ac4bf02a Added a type property to ModelVisualEntry, also it now hides the irrelevant properties based on it's type. Implemented handling of the attachment ModelVisuals in CharacterSkeleton3D. Also Small api change to CharacterSkeleton3D. 2020-06-16 15:53:33 +02:00
3bafbe596e Removed the CharacterSkeletonPoints enum. 2020-06-16 13:50:44 +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
10bae15bdb SpellCastInfo, EntitySkill, EntityResource, EntityDataContainer, and ItemInstance are now Resources, so Godot will be able to serialize them with Entity. 2020-06-13 18:33:51 +02:00
68443b835c Reworked SpeciesModelData's interface. 2020-06-12 15:13:31 +02:00
62586d9112 Hide the trigger properties in Aura from gdscript. 2020-06-07 15:03:09 +02:00
cb0b8271e1 ItemInstance now also stores stat modifier data like ItemTemplate. 2020-06-07 14:55:39 +02:00
2d2629ba09 Converted the stat modifier related functions in ItemTemplate, and ItemInstance to the new style. Also ItemTemplateStatModifier is now a struct in ItemTemplate. 2020-06-07 00:50:24 +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
31c00cf3b2 Added layer_colors to SpeciesModelData. 2020-05-22 01:27:03 +02:00
740f3e1c99 TextureLayers are now customizable. 2020-05-21 21:20:56 +02:00
2d5d4c0a97 Refactored/cleaned up ModelVisualEntry. 2020-05-21 15:40:59 +02:00
65450f5794 Reworked ModelVisual (now it only contains an array), and added a the new customizable enum values to ModelVisualEntry. 2020-05-20 22:13:29 +02:00
18f3095832 Removed the EntityGender enum. Now everything uses plain int model indexes. 2020-05-20 20:38:10 +02:00
577a3b108b EntitySpeciesData now contains an array of SpeciesModelDatas. 2020-05-20 20:20:26 +02:00
69c6af4882 Removed the EntityTypes enum. 2020-05-20 11:51:05 +02:00
fa33d5d57e Renamed ItemVisual to ModelVisual. 2020-05-19 21:09:00 +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
f1e38e5a2a More renames. 2020-04-28 16:50:26 +02:00
37660951ca More renames. 2020-04-28 16:39:42 +02:00
86aaf2eaf5 More renames. 2020-04-28 16:17:54 +02:00
9be4cba706 Same treatment to aura related methods. 2020-04-28 16:07:36 +02:00
1afc3511f8 Same to the global cooldown related methods. 2020-04-28 14:24:05 +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
909f34af03 Renamed skeleton to body in SpeciesModelData. Now Entity can store transforms, also it now has a few more convenience getters/setters. Also it will try to instantiate the body of an entity if it is set into the species data. 2020-04-24 13:35:30 +02:00
089c854c9e Now resource paths are used instead of ids for save files. (They are converted back on load - ids are better for networking) This makes remapping resource ids possible, which makes creating modules (and later mods into zips or pcks) simple. 2020-04-19 17:15:36 +02:00