Commit graph

40 commits

Author SHA1 Message Date
Kazhnuz
6e93a11fef feat: add statuses stat effect 2021-08-08 16:00:45 +02:00
Kazhnuz
91dda9fa87 fix: remove forgotten unused function 2021-08-08 09:53:48 +02:00
Kazhnuz
6a37f12776 chore: remove stray print 2021-07-03 18:19:08 +02:00
Kazhnuz
109ed7c9b2 fix: limit hp/pp to their max value 2021-07-03 13:18:16 +02:00
Kazhnuz
4c46e510d0 feat: add battle stats 2021-07-03 12:56:32 +02:00
Kazhnuz
32bb1b5425 chore: remove deprecated recomputation functions 2021-07-03 10:44:17 +02:00
Kazhnuz
2265d7dac9 improvement: do not recompute all stats 2021-07-03 10:41:16 +02:00
Kazhnuz
99bee81c90 feat: add CharacterStatManager 2021-07-03 10:34:13 +02:00
Kazhnuz
c0b4fd41f8 feat: add ennemy stat manager 2021-07-03 10:12:56 +02:00
Kazhnuz
de0a1a886a fix: better use of the super variable 2021-07-03 10:09:01 +02:00
Kazhnuz
72a0b77212 fix: put the stats in an internal list
It'll allow us later to even drop the internal list and replace it by
automatic computation
2021-07-03 09:52:00 +02:00
Kazhnuz
c7b9d97c96 feat: add a stat manager object 2021-07-03 09:49:11 +02:00
Kazhnuz
e7921a5acb chore: move ennemy.lua to a subfolder 2021-07-03 08:40:32 +02:00
Kazhnuz
1fb2469188 chore: rename getStatByType 2021-06-12 10:29:46 +02:00
Kazhnuz
98af0eda2a feat: add resistences and weaknesses 2021-05-16 10:06:20 +02:00
Kazhnuz
e9c9cbb8e3 chore: put const files in a single folder 2021-05-16 08:38:09 +02:00
Kazhnuz
f574bcd362 chore: use as much as possible the new data system 2021-05-15 21:43:15 +02:00
Kazhnuz
a22871dcbc improvement: transform aerial badnic in protectype 2021-05-15 14:50:12 +02:00
Kazhnuz
c30c3336c6 feat: rework serialization
Fixes #102
2021-05-08 12:54:07 +02:00
Kazhnuz
f65edf1924 feat: add a way to remove equipment 2021-04-23 09:23:13 +02:00
Kazhnuz
6c451e7aee feat : add equip dialogs 2021-04-22 23:41:20 +02:00
Kazhnuz
0d4fe92a90 feat: basic equipements backend
Fixes #80
2021-04-22 20:03:46 +02:00
Kazhnuz
1fe25f2ff1 chore: split AbstractCharacter into smaller mixins 2021-04-22 18:11:11 +02:00
Kazhnuz
706468dad6 feat: add initial difficulty system
Fixes #87
2021-04-18 19:09:01 +02:00
Kazhnuz
703d11d8b7 fix: make sure that character/loot data are saved
Fixes #71
2021-04-04 16:33:48 +02:00
Kazhnuz
ee59bc988b fix: more aggressive memory management 2021-04-03 10:39:34 +02:00
Kazhnuz
69d296b2f7 feat: initial statuse system 2021-03-12 18:51:35 +01:00
Kazhnuz
250d75ee77 fix: mark as local some forgotten local variables 2020-09-13 16:57:06 +02:00
Kazhnuz
053c9ca641 fix: floor hp and pp 2020-08-07 07:32:16 +02:00
Kazhnuz
a2d0975cde feat: add damage and ko
Fix #27
2020-08-05 11:40:29 +02:00
Kazhnuz
58264e2a19 feat: add battle definition files
Fix #9
2020-08-04 17:50:03 +02:00
Kazhnuz
69d67b97d8 chore: make character utils part of game utils 2020-08-04 13:38:45 +02:00
Kazhnuz
216a047d3a fix: add subfolder for ennemies 2020-08-04 13:32:23 +02:00
Kazhnuz
65cde3c42b feat: handle stat a bit differently 2020-08-02 21:26:49 +02:00
Kazhnuz
bf23dd2056 chore: extract hp management from actor 2020-07-24 19:49:24 +02:00
Kazhnuz
977d4bac16 fix(game/abstractmobs): use right var for pp 2020-07-19 16:06:35 +02:00
Kazhnuz
a63b4ddeb3 improvement(game/character): create an AbstractCharacter object 2020-07-19 14:02:22 +02:00
Kazhnuz
cd9b9f37e4 chore(game/characters): more utils extraction 2020-07-19 13:41:20 +02:00
Kazhnuz
698d6697fb chore: add a basic abstractmob system 2020-07-19 13:13:54 +02:00
Kazhnuz
6c409cc1ba chore: extract level calculation in an utils 2020-07-19 10:50:43 +02:00