the-real-herowl
72435933e4
Add defensive check ( #4437 )
...
This fixes #4436 and possible other unnoticed crashes by adding a defensive check.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4437
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2024-06-15 03:51:03 +02:00
the-real-herowl
747bf16a94
Migrated mobs to the new effects API
2024-05-22 21:03:43 +02:00
the-real-herowl
0c4094596e
Improved haste and fatigue effects
...
* fixed a few crashes related to unusual effect levels
* added haste and fatigue combat functionality
* added some cleanup to avoid hangover unstackable items
* capped the slowdown from fatigue at 5 minutes digging time
* (despite the above, if a tool has a longer time set in definition,
that still works)
* removed an unused "global" variable
2024-05-22 21:02:25 +02:00
the-real-herowl
456d205161
Added strength and weakness effects
...
* also highest effect level displayed in HUD set to 3000
* also improved indicating effects with strange factors in HUD
2024-05-22 21:02:25 +02:00
the-real-herowl
753545d714
Merge pull request 'Rover and Stalker' ( #4282 ) from rover_stalker into master
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4282
2024-05-22 19:01:14 +00:00
the-real-herowl
48e6ffa935
Improved tool tooltips ( #4306 )
...
Co-authored-by: Araca <araca.prod@gmail.com>
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4306
2024-05-22 18:55:07 +00:00
the-real-herowl
970f6cf377
Stalker model and mechanics implemented
2024-05-12 06:02:15 +02:00
emptyshore
8e103cf615
Mobs should not anger towards the player if damage is disabled. ( #4114 )
...
Co-authored-by: Mateusz Uzdowski <mateusz@silverstripe.com>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4114
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: emptyshore <emptyshore@noreply.git.minetest.land>
Co-committed-by: emptyshore <emptyshore@noreply.git.minetest.land>
2024-01-21 05:37:54 +00:00
the-real-herowl
d11526f8e8
Merge pull request 'Finish PVP Combat Parity with the rest + PVP Tweaks' ( #4078 ) from Eliy21/MineClone2:combat_fixes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4078
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-30 04:21:18 +00:00
Eliy21
ed507d8509
Remove unnecessary space in the attack reach limit on mobs code
2023-12-14 08:15:55 +00:00
cora
f5079f1568
Add an option for mob arrows to be "homing"
2023-12-13 02:42:08 +01:00
the-real-herowl
8b00fff4cb
Remove dangling else
2023-12-11 00:54:30 +01:00
the-real-herowl
cf70de0ecc
Add an on_attack callback for mobs ( #4064 )
...
Added an on_attack callback that allows to execute additional custom logic after each attack.
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4064
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2023-12-10 16:10:33 +00:00
the-real-herowl
46d9c66000
Fixed mobs executing custom on_punch with punch fail
2023-12-05 00:58:10 +00:00
the-real-herowl
24ffd64cad
Knockback fixes
2023-12-05 00:58:10 +00:00
Eliy21
7cbba73d50
Combat (mostly PvE) rebalancing ( #4005 )
...
-Added short mob invulnerability time after being hit
-Added separate shorter range for hitting mobs (as opposed to node interaction)
-Reworked mob knockback
-Slowed down natural health regeneration from saturation
-Added a setting for the saturation health regen speed
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4005
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-23 00:32:23 +00:00
the-real-herowl
17c8f220e6
A few more wither fixes
2023-10-11 00:54:31 +00:00
the-real-herowl
df17688b7d
Great batch of improvements
2023-10-11 00:54:31 +00:00
Nauta Turbidus
a1b6819756
Withering effect and effect immunities
...
Added withering effect and immunities to effects.
Signed-off-by: Nauta Turbidus <88062389+nauta-turbidus@users.noreply.github.com>
2023-10-11 00:54:31 +00:00
ancientmarinerdev
1749712318
Change creepers line of sight check to raycast and do it from eyes to targets feet and head
2023-09-03 22:02:34 +00:00
ancientmarinerdev
658f244ae4
Creeper should not walk to player if it does not have line of sight. Mob shouldn't look at player it does not have line of sight to.
2023-06-21 20:17:49 +00:00
ancientmarinerdev
8092fd573c
Cleanup self.acc code and convert to new style vectors
2023-05-11 20:22:19 +01:00
ancientmarinerdev
8a771ebfce
Allow adjustment of attack frequency. Reduce attack frequency of Hoglins. Move on_step and do_states functionality off of the attack timer on to their own timer.
2023-05-11 16:33:55 +00:00
ancientmarinerdev
fb9a630a5b
Hostile mobs should lose aggro if they cannot see their target
2023-05-06 21:51:47 +00:00
ancientmarinerdev
655c130956
Remove aggro for iron golem when out of range
2023-03-10 03:03:53 +00:00
gldrk
1536338199
Allow passive mobs to have protectors
2023-01-14 01:32:42 +03:00
gldrk
3697ef8069
Fix summoning friends for mobs
2023-01-14 01:28:35 +03:00
ancientmarinerdev
f8ae702ce4
Function name consistency
2023-01-02 00:58:23 +00:00
ancientmarinerdev
5faf060122
Fix crash and remove unused duplicate variables
2023-01-02 00:54:08 +00:00
ancientmarinerdev
8c648d1fc3
Refactor mob_step and do_states
2023-01-02 00:00:40 +00:00
cora
9508cd4c25
Fix creeper crash
2022-11-29 03:28:19 +01:00
cora
a3415647d4
Fix do_jump call in combat.lua
2022-11-27 14:53:16 +01:00
cora
90321ee578
Fix leftover local do_attack call
2022-11-27 14:53:16 +01:00
cora
2b691dea07
Fix some more global var warnings
2022-11-27 14:53:16 +01:00
cora
faa38ffab8
Fix some warnings
2022-11-27 14:53:16 +01:00
cora
148b30694f
Fix monster_attack and some other settings issues
2022-11-27 14:53:16 +01:00
cora
b41d6a1cae
Fix mob_punch
2022-11-27 14:53:16 +01:00
cora
cc77e109f5
Split off general movement functions
2022-11-27 14:53:16 +01:00
cora
e7d9ded9ab
Split off combat funcs
2022-11-27 14:53:16 +01:00