Commit Graph

215 Commits

Author SHA1 Message Date
3767068096 Update the copyright headers to 2022. 2022-01-12 21:44:26 +01:00
0ac987d06d Updated _handle_effect in Spell to use the new style. 2022-01-12 18:07:07 +01:00
ac18bda70f Added permanent option for auras. Also added is_aura helper check. 2022-01-12 17:54:01 +01:00
e14ba1e368 Merged Spell with Aura. I kept the method of applying auras the same for now, eventually spell will do it automatically. 2022-01-12 15:53:35 +01:00
5ac0fb6604 Removed the temporary properties. 2022-01-12 14:17:10 +01:00
dff6d7b866 Renamed aura apply related getters and setters in Spell. They still return Auras for now though. Also kept a set of the old properties for easy resource upgrade for a commit. 2022-01-12 14:00:12 +01:00
24db319b5f Fix aura text group, and added one for aura_teaches. 2022-01-12 12:00:15 +01:00
6c0ee18eac Fix _validate_property in Aura. 2022-01-12 11:50:15 +01:00
d0cd45b4f0 Fix aura_damage_min's property. 2022-01-12 11:31:32 +01:00
84450a2889 Also prefix aura visual. 2022-01-12 11:24:52 +01:00
ebcff5ab03 Prefixed most methods in Aura with aura_ in preparation with merging Auras into Spells. 2022-01-12 10:51:38 +01:00
378ebcff23 Update the copyright texts for 2021. 2021-04-19 10:13:51 +02:00
aa7e605d65 Fix compile for 4.0. 2021-02-06 11:44:14 +01:00
52cd322c88 Added SpeciesInstance to EntityData. 2020-10-19 12:20:12 +02:00
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
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