Eliy21
fbdbeed94b
Prevent dying mobs from catapulting to strong knockbacks like bow/arrows with Punch II
2023-11-21 06:05:54 +00:00
Eliy21
e0bd5e7f33
Balance player velocity added knockbacks from catapulting mobs
2023-11-20 14:52:10 +00:00
Eliy21
0fbfe99c1d
Prevent time traveling mobs from being invulnerable if the clock is adjusted
2023-11-20 14:02:38 +00:00
Eliy21
ce1f09f679
Use the dot product mathematical formula
2023-11-20 13:55:55 +00:00
Eliy21
7b7a9a34e5
Fix not adding player velocity on mob hit when moving in perfect x/z direction where the other is 0
2023-11-19 18:52:38 +00:00
Eliy21
1f826b6224
Don't add player velocity if mob velocity is the same or greater to avoid projectile-like knockbacks
2023-11-19 13:07:13 +00:00
Eliy21
0955b9981b
Add player velocity to mob knockback
2023-11-19 11:46:38 +00:00
Eliy21
5a7f297e3e
Use proper distance calculating tools
2023-11-19 10:14:57 +00:00
Eliy21
1f18c6556a
Return vertical knockback to previous commit to account for beginner players
2023-11-18 06:17:16 +00:00
Eliy21
0e320d3965
Rebalance vertical knockback to account for the ease of spamming knockback juggles
2023-11-18 05:40:10 +00:00
Eliy21
ba65880800
Nerf the knockback enchant a bit to accomodate other stacking knockback modifiers
2023-11-18 05:35:59 +00:00
Eliy21
28e157210f
Reduce that unnaturally long knockback on second hit after a full cooldown
2023-11-18 05:33:15 +00:00
Eliy21
1d8e6c32d5
Limit attack reach on mobs to 3 blocks
...
Thanks to the-real-herowl for the code logic suggestion.
2023-11-16 16:33:03 +00:00
Eliy21
68bfeca18f
Re-adjust vertical mob knockback to find the right balance in difficulty
2023-11-16 16:24:03 +00:00
Eliy21
bb77e218ba
Reduce that weird long knockback on death
2023-11-16 16:19:13 +00:00
Eliy21
8cdf4bea7c
Re-buff vertical knockback despite floatiness as the combat becomes harder when lessened
...
This will make snipe locking with mob juggles easier with the recent commit buffing hand range. Not ideal.
2023-11-14 17:52:21 +00:00
Eliy21
61c96e00ca
Optimize code by checking invulnerability time first and dropping the rest of the check if true
2023-11-14 16:56:43 +00:00
Eliy21
c632b77cdb
Don't update mob xp when in invulnerable state
2023-11-14 16:44:37 +00:00
Eliy21
782505056d
Fix held attack key not hitting mobs bug (this time for sure)
...
Reverting to old code in the previous PR but with the new optimizations kept
2023-11-14 14:29:50 +00:00
Eliy21
e6dd0b40fd
Add mob's last invulnerability time variable (preparing for held attack key not hitting mobs bugfix)
2023-11-14 14:22:01 +00:00
Eliy21
be2fcc925a
Optimize code by checking invulnerability1st before the rest and drop checking the others when true
2023-11-12 06:30:57 +00:00
Eliy21
5ebe9f549b
Reduce knockback floatiness
2023-11-11 16:42:06 +00:00
Eliy21
107fb0b082
Fix a bug that prevents continuous attacks on mobs when the attack key is held
2023-11-11 16:20:06 +00:00
Eliy21
b2da2b2f63
Give mobs invulnerability for 0.4 seconds after getting hit
2023-11-11 15:23:17 +00:00
codiac
89c97690c8
Add a setting to enable mod nav hacks
2023-11-06 22:01:31 +01:00
codiac
06f9486e4d
Do not go home if attacking
2023-11-06 21:59:40 +01:00
codiac
ae5564e658
Make golem go home. Fixes #3288
2023-11-06 21:59:40 +01:00
Eliy21
69dc013799
Prevent multiple chestboat drivers ( #3992 )
...
Fixes #3872
Reviewed-on: MineClone2/MineClone2#3992
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-03 22:09:49 +00:00
Freedom
83d6e2a5d2
polar bear fix typo ( #3846 )
...
horrizonatal -> horizontal
Reviewed-on: MineClone2/MineClone2#3846
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Freeman <project@gnuhacker.org>
Co-committed-by: Freeman <project@gnuhacker.org>
2023-11-03 00:06:06 +00:00
FossFanatic
ce403b9245
Rename Liquid Textures ( #3758 )
...
This pull request renames the textures of water and lava to more closely follow the MineClone 2 naming convention.
The code has also been changed to now reflect these new names.
Reviewed-on: MineClone2/MineClone2#3758
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
Co-committed-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
2023-11-02 23:47:26 +00:00
Eliy21
da911bd4d4
Turn non-player boat passenger sideways ( #3986 )
...
Some low hanging simple boat fixes.
Fixes #3259
Reviewed-on: MineClone2/MineClone2#3986
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-02 19:24:52 +00:00
codiac
4fcd1ae541
Fix slime spawn crash ( #3977 )
...
Declare global variables before using them!
Fixes #3975
Reviewed-on: MineClone2/MineClone2#3977
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: codiac <codiac@inbox.lv>
Co-committed-by: codiac <codiac@inbox.lv>
2023-10-23 05:32:18 +00:00
the-real-herowl
59f3b53a51
Merge pull request 'Use MC 1.18+ light levels to control mob spawning' ( #3946 ) from spawn_lighting into master
...
Reviewed-on: MineClone2/MineClone2#3946
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-10-22 01:35:00 +00:00
ancientmarinerdev
3564f6ebde
Fixed a crash in minetest vector code that isn't propogated to lua. Create util for ease of use.
2023-10-15 22:03:48 +01:00
the-real-herowl
c874e01cf9
Wither falling when no target found and small fixes
2023-10-11 00:54:31 +00:00
the-real-herowl
7ce82b9dcb
Peaceful crash fixed
2023-10-11 00:54:31 +00:00
the-real-herowl
645072507f
Wither melee attack and bug fixes
2023-10-11 00:54:31 +00:00
the-real-herowl
924a6c1c47
Settings-related fixes
...
-moved to the cleaner way of obtaining settings values
-disabled the anti-troll measures by default
-made the wither per-dimension limit dependent on the settings
-(anti-troll measures enabled required for wither counting and limit)
2023-10-11 00:54:31 +00:00
the-real-herowl
20b0f0748d
Added some comments to the code
2023-10-11 00:54:31 +00:00
the-real-herowl
d7c76e33d8
Tiny adjustments
...
- wither initial explosion radius moved from a magic value into a local variable
- wither initial explosion radius reduced
- wither attack_exception improved to better handle unlikely edge cases
2023-10-11 00:54:31 +00:00
the-real-herowl
966712f4ff
Optimisation and cleanup
...
-optimised and cleaned up wither rose withering effect code
-removed unused code
2023-10-11 00:54:31 +00:00
the-real-herowl
e4102e6124
Implemented wither defensive measures
...
Added block breaking when hit, or a safe_boom when hit and mobs_griefing
is disabled. Removed dubious anti-troll measures.
2023-10-11 00:54:31 +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
the-real-herowl
729d8ec9e0
Another batch of wither adjustments
2023-10-11 00:54:31 +00:00
the-real-herowl
c9dc12b081
Further wither adjustments
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
ThePython10110
d7fa24ebf8
Keep axolotls from attacking sheep
2023-10-10 23:50:46 +00:00
Nicu
6d3e55ce12
Reduced the creeper explosion timer reset radius from 6 to 3
...
This gives the player just enough time to get out of the creeper's range, to reset their explosion timer and avoid unnecessary destruction.
2023-09-29 18:35:21 +00:00
codiac
95db118361
Add rules for blaze, wither skeleton, silverfish
2023-09-22 09:09:35 +10:00