Commit graph

420 commits

Author SHA1 Message Date
pionere
5e84fd715b proper mWhoHit flag settings
implementation of MonstStartKill and M2MStartKill are synced a bit
2021-02-20 01:25:31 +01:00
pionere
486be4efeb use defs instead of constants 2021-02-20 00:39:31 +01:00
pionere
ab7bc5e3d7 correct fallenfear direction 2021-02-20 00:22:10 +01:00
pionere
e240dcd606 code cleanup using std::max 2021-02-20 00:13:36 +01:00
Anders Jenbo
327042c2e5 Strip out debug features from the release builds
leveldebug and lightmax still remains
2021-02-19 22:04:11 +01:00
pionere
f5c1079d6f eliminate unused code 2021-02-19 22:04:11 +01:00
Anders Jenbo
60d3e9ceb1 Clean up rendering 2021-02-19 03:05:12 +01:00
qndel
ab9911064f unify checks for single and multiplayer 2021-02-18 22:32:01 +01:00
FluffyQuack
44d8b9fb3a Refactored the monster functions DoWalk(), DoWalk2(), and DoWalk3() into one function. 2021-02-03 19:01:00 +01:00
Anders Jenbo
298092b81d [hellfire] Make monster lights follow monsters when hidden 2021-02-01 06:46:17 +01:00
qndel
c0f5749728 Fix RNG diverging during level generation depending on the code path
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
2021-02-01 06:44:16 +01:00
Anders Jenbo
9c0bc202c8 Fix additional wrong checks for monsters lights 2021-01-31 08:36:06 +01:00
Anders Jenbo
8527d1e44a Fix wrong _qlog state for Gharbad quest 2021-01-31 07:39:23 +01:00
Anders Jenbo
7313b10cfa Fix Archbishop Lazarus entering a broken state when taking the teleport again
Fixes #889
2021-01-31 07:38:43 +01:00
qndel
6e096143f0 Add no-light define and fix usage 2021-01-31 04:13:44 +01:00
Anders Jenbo
61adc7b987 [hellfire] Fix Scavenger/Gravedigger AI
When done eating monsters where supose to return to normal behavior
instead they would just idle untill next turn.
2021-01-26 03:12:58 +01:00
Anders Jenbo
38224b4d98 Unify last of monster hellfire code 2021-01-26 03:12:58 +01:00
Anders Jenbo
3d2707b40e
Fix Golem check (again) 2021-01-26 01:45:59 +01:00
Anders Jenbo
973d95b9d4 Unify code, and fix bugs related to golems
- OOBs
- Not getting XP from monsters hit by golems
- Sneaks fleeing in the wrong direction of golem
- Monsters going in active when fighting golems offscreen
2021-01-24 03:49:49 +01:00
Anders Jenbo
f6a4eaf0bc Apply 1.09 fixes to Hellfire monsters 2021-01-21 05:20:00 +01:00
Anders Jenbo
f05ae4c19a Unify monster data 2021-01-21 04:26:03 +01:00
Anders Jenbo
f6b3e0156c [diablo] Fix monsters seeing all missiles as firewalls
If any firewall was present monsters would treat all missiles as
firewalls
2021-01-17 19:56:31 +01:00
Anders Jenbo
9cd6bd96a9 [hellfire] Fix monster eating logic
- Nolonger drop health when not on normal difficulty
- Uniques will nolonger drop health
- All monsters heal at the same rate
2021-01-17 19:52:31 +01:00
Anders Jenbo
de72719826 [diablo] Fix wrong monster death sound
When a monster is killed by another monster both woul play there death
sound
2021-01-17 18:09:28 +01:00
Anders Jenbo
2eaf750240 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-17 18:03:46 +01:00
Anders Jenbo
2b6286dd7f Clean ups and BUGFIX notes 2021-01-17 14:29:33 +01:00
Anders Jenbo
00e3ff08ae Unify majorty of monster.cpp 2021-01-17 03:55:23 +01:00
Anders Jenbo
9c786b3d42 Fix build 2021-01-16 02:54:05 +01:00
Anders Jenbo
c8a4cc1d1e Unify trivial monster code 2021-01-16 02:33:10 +01:00
Anders Jenbo
ccd0e7fd23 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-16 02:10:25 +01:00
Anders Jenbo
21fe5b7daf [hellfire] MissToMonst 2021-01-16 01:42:53 +01:00
Anders Jenbo
8a0ab18ae9 [hellfire] PrintMonstHistory 2021-01-16 01:35:38 +01:00
Anders Jenbo
578471a030 Clean up LineClear 2021-01-16 01:22:22 +01:00
Anders Jenbo
a6af2690f0 Clean up LineClearF 2021-01-16 01:02:47 +01:00
Anders Jenbo
966ae9c8f5 [hellfire] DirOK 2021-01-15 23:00:42 +01:00
Anders Jenbo
b5f3567400 [hellfire] MAI_Lazhelp 2021-01-15 19:09:08 +01:00
Anders Jenbo
e12f6a35bb [hellfire] MAI_Lazurus 2021-01-15 18:57:49 +01:00
Anders Jenbo
92e193b756 [hellfire] MAI_Rhino 2021-01-15 02:39:40 +01:00
Anders Jenbo
0c01aa9928 [hellfire] M_TryH2HHit 2021-01-15 00:42:37 +01:00
Anders Jenbo
4dfc1f6674 [hellfire] MAI_Counselor 2021-01-15 00:26:29 +01:00
Anders Jenbo
5f9719d210 [hellfire] MAI_SkelKing 2021-01-15 00:24:29 +01:00
Anders Jenbo
d0328a3ee8 [hellfire] MAI_SnotSpil 2021-01-15 00:23:12 +01:00
Anders Jenbo
9d3bcb0de3 [hellfire] MAI_Zhar 2021-01-15 00:07:26 +01:00
Anders Jenbo
b683b5d2d0 [hellfire] TalktoMonster 2021-01-15 00:05:51 +01:00
Anders Jenbo
b455cbc688 [hellfire] MAI_Golum 2021-01-14 23:55:51 +01:00
Anders Jenbo
6862028680 [hellfire] MAI_RR2 2021-01-14 22:16:08 +01:00
Anders Jenbo
4a75c2c275 [hellfire] Better monster AI naming 2021-01-14 21:44:57 +01:00
Anders Jenbo
fd41a5767b [hellfire] MAI_Garg 2021-01-14 19:52:44 +01:00
Anders Jenbo
7d169f8334 [hellfire] MAI_Scav 2021-01-14 19:39:04 +01:00
Anders Jenbo
f3bf2f4f05 [hellfire] M_TryM2MHit 2021-01-14 11:08:23 +01:00