Commit Graph

66 Commits

Author SHA1 Message Date
18cf024cc5 now an entity can by itself interact, it does not need an EntityData. Useful for opening simpler custom entities, that just open guis. 2019-10-06 00:10:36 +02:00
fa4749f28d Fixed small mistakes in player's serialization, and deserialization. 2019-10-04 22:55:46 +02:00
7c6cb26aba Implemented looting. 2019-10-02 13:23:04 +02:00
435b57337a Added an sspell_cast_success callback. Also the clientside version was finished up. 2019-09-28 17:36:02 +02:00
fc35baf69f Fixed the arguments for a few script virtual callbacks. 2019-09-28 15:23:21 +02:00
d8d2ce895e Fix crash. 2019-09-28 01:04:26 +02:00
bcbc83596a Improved the targeting signals, and callbacks in entity. 2019-09-27 18:05:43 +02:00
d8f702dfb8 Added a mouse entered, and exited signal aswell. 2019-09-25 16:31:28 +02:00
3b1028ddf4 Added mouseover callbacks. 2019-09-25 12:59:21 +02:00
1d317c56b7 Now entity properly calls unref, on spell cast fails. 2019-09-24 15:18:35 +02:00
6074b75ec3 Property style cleanup, and added an entity name changed signal. 2019-09-17 15:35:03 +02:00
5e68f551a3 Cleaned up the talent-related functions in entity. 2019-09-17 14:06:41 +02:00
bd6d2cfde5 Added a _canc_interact vmethod as well. 2019-09-17 02:17:47 +02:00
4aad057925 Added a few remaining things required for entity interactions. 2019-09-17 02:14:24 +02:00
3d8010f028 Fix warning at startup. 2019-09-17 01:25:59 +02:00
0a00a12c32 Split EntityData into EntityClassData, and a new EntityData. 2019-09-17 00:04:37 +02:00
18925ee236 Implemented Bags, and added a InteractionType enum. 2019-09-16 21:57:55 +02:00
e0183a53c6 More from_dicts. 2019-09-14 20:44:50 +02:00
8cafa3bf7d Crash fix. 2019-09-14 02:58:02 +02:00
40ab1c9c00 Simple from_dict implementation. 2019-09-14 01:56:57 +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
544aa45a80 Bindings for XPData. 2019-09-12 14:40:57 +02:00
2c8becc27a Added xp and level based events. 2019-09-12 13:26:52 +02:00
cfb2373fd1 Added locked property to Stat. Also fixed a bunch of smaller errors. 2019-09-11 18:18:20 +02:00
4afc637801 Added 3 data classes. 2019-09-11 15:06:30 +02:00
41d94978e6 Added the money field. 2019-09-11 13:06:04 +02:00
870a1f406c Added the basic interact methods to entity, and EntityData. 2019-09-11 12:54:51 +02:00
39a335e36c Added the new enums into EntityData as well. Also small bug and typo fixes. 2019-09-11 12:26:41 +02:00
4bf99ac12d Fix uninitialized variables. 2019-09-11 11:30:29 +02:00
50062d8ad4 Added properties from the new enums into entity. 2019-09-11 11:25:52 +02:00
008bf34a34 Added 2 more events. 2019-09-11 11:01:30 +02:00
ca2fe9a6c4 Renamed CharacterClass to EntityData. Also moved it around, with a few related classes. 2019-09-09 14:26:18 +02:00
396c49542c Finished up the previous change in CharacterClass. Added some temporary comments. 2019-09-08 23:10:22 +02:00
7640ff7884 Now The aura's added, and removed clientside signals are also called properly. 2019-09-08 00:02:21 +02:00
9bbca6d4b5 Clientside spell cast callbacks are now properly called. 2019-09-07 16:52:11 +02:00
06436b27f8 Moved the inventory system into Player. Also Added a new inventory class, and renamed everything in playyer to use that instead of bag. 2019-08-16 02:24:32 +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
39c9d6c36d Now the clientside gcds also refresh. 2019-08-05 15:38:01 +02:00
716f1833c4 Small fixes to Cooldown and CategoryCooldown event / signaling logic. 2019-08-05 10:55:50 +02:00
c3828efe05 A lot of work, mostly on the entity bindings. Added a lot of callbacks, and fixed a few bugs. 2019-08-05 01:36:33 +02:00
4f3c21a0cf Added the aura callbacks into the CharacterClass, and Entity, so they can be scripted via GDScript. Entity calls everything as needed.
Also added death events, and callbacks.
2019-08-04 19:13:00 +02:00
5d0d8b59d3 Fixed healing, and aura healing. 2019-06-25 01:15:08 +02:00
58654d8d70 Added in spell casting related binds. 2019-06-24 23:05:28 +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
29b3ccb3b3 Fixed targeting. 2019-06-22 01:57:43 +02:00
90e86557c5 More work on networking. 2019-06-18 15:33:28 +02:00