Anders Jenbo
cf4989bcbb
[hellfire] Fix monsters being unable to hit at close range
...
This seams to have been done to better align the magic missile fired by
the bonedeamon, but for all other monsters the alignment is less ideal
and they become unable to hit there enemy at close range.
5 years ago
BC Ko
373adcf65b
modify AddMissile() parameters and remove Missiles[] in MissToMonst()
5 years ago
BC Ko
4834905eac
remove Missiles[] in SpawnGolem()
5 years ago
Anders Jenbo
9a6820493f
No missile golem
...
Simplify spawning golem, the golem will now spawn in the same tick
instead of next tick
5 years ago
Anders Jenbo
d7c6d8b189
Use proper Direction type for AddMissile midir
5 years ago
Anders Jenbo
c15f4d1fa9
Remove abuse of midir for unrelated values
...
- Lightnings cast by familiars have a short range, this was communicated
by setting midir to -1. Solved by looking at the type of the owner
- Lightning and Inferno sync position with the parent missile. Solved by
copying the sync from the guardian spell
5 years ago
qndel
3d92b6eea5
Rewrite manashield into not using a missile
5 years ago
qndel
9647299146
share info about expiring reflect
5 years ago
Anders Jenbo
96b19ca8d5
Set _micaster type to mienemy_type
...
Rino never made use of the player id, so no reason to abuse _micaster
5 years ago
Anders Jenbo
df636c0afc
Remove DIR_OMNI
5 years ago
Anders Jenbo
a95f6b1754
[hellfire] Bugfix: Correctly detect nultiple walls
...
Fixes #2656
5 years ago
Anders Jenbo
7f6e171b4b
Use BFLAG_MISSILE instead of dMissile
5 years ago
Anders Jenbo
3df8af0e9d
Apply missile_id to _mitype
5 years ago
BC Ko
fd1cdad0fe
format fix
5 years ago
BC Ko
e473136e2f
move BUGFIX comment
5 years ago
BC Ko
abc00ad107
auto &missile
5 years ago
Anders Jenbo
5ddcd90ff9
Make NetSendCmdQuest() take a quest structure as input
5 years ago
Anders Jenbo
766774bc53
Use loops to spawn needed golems
5 years ago
Anders Jenbo
4c6a5bab56
Clean up god mode
5 years ago
BC Ko
14b7e3bdc1
2435 refactor missiles part 2 ( #2635 )
5 years ago
BC Ko
40c804c0ba
Replace QuestStatus() with IsAvailable() in QuestStruct
5 years ago
Anders Jenbo
f289fbcec5
Remove dead missile code
5 years ago
Vladimir Olteanu
403956221f
monster.cpp: get rid of MissileFileFlag
5 years ago
BC Ko
4853deb0e5
cleanup manual value clamping: monster.cpp ( #2581 )
5 years ago
Vladimir Olteanu
61f82d1944
Remove LoadMissileGFX
5 years ago
obligaron
82cea78def
Apply clang-format
5 years ago
ThomasChr
4733b7015c
move lightsource along with monster when monster does teleport. fixes #1965
5 years ago
qndel
0a70a8cece
unify block formula
5 years ago
Anders Jenbo
90960f0c14
Remove dead code
5 years ago
qndel
9056092cf8
more clamps ( #2496 )
5 years ago
qndel
bd5e30db52
replace armor formula
5 years ago
obligaron
d2b2a5a4fc
Fix Counselor always hiding
5 years ago
Anders Jenbo
7effa1a931
Merge pull request #2433 from diasurgical/player
5 years ago
obligaron
62ac7cc453
Fix DirOK for unique monsters
5 years ago
Anders Jenbo
9c4e34f988
Player by reference
5 years ago
Anders Jenbo
8ba3bbb6a4
Have PosOkPlayer take PlayerStruct as input ( #2430 )
5 years ago
obligaron
d63fcded76
Refactor PlaceGroup ( #2425 )
...
* Rename MonstPlace -> CanPlaceMonster
* Refactor custom hitpoints and armorclass out of mUnqAttr
* Introduce enum UniqueMonsterPack
5 years ago
Anders Jenbo
62986869ab
Make GroupUnity take MonsterStruct
5 years ago
obligaron
20de9746eb
GroupUnity: Remove unused code for minions that are uniques themself
5 years ago
obligaron
91c8503ea5
Rename leaderflag to leaderRelation and MonsterRelation to LeaderRelation
5 years ago
obligaron
a677a61f13
Refactor GroupUnity
5 years ago
obligaron
a61d33ae02
GroupUnity: Revert changes from commit a44781bd73 Fix bounds checks in monster code
5 years ago
Vladimir Olteanu
d7a4e20485
Fix monster sync on kill
...
Fixes https://github.com/diasurgical/devilutionX/issues/2412
5 years ago
Anders Jenbo
0889780923
Remove more usage of miniwin types
5 years ago
Anders Jenbo
753b5698f7
Remove unconventional assert() implementations
5 years ago
ephphatha
a8ed1998d1
Use Point in path_ functions that reference position
...
In cases like path_get_h_cost this allows simplifying logic where Point provides functions for the intended behaviour in a much simpler to understand package.
This also makes it clearer which functions are const/don't modify the node and which potentially have side effects.
5 years ago
Anders Jenbo
b591824182
💚 Fix NOSOUND build
5 years ago
Anders Jenbo
78124fb389
Add GolemHoldingCell
5 years ago
Anders Jenbo
4d59c248ea
Remove unused return from SpawnSkeleton
5 years ago
Anders Jenbo
9c0760e780
♻️ Clean up various checks in monster logic
5 years ago