Commit graph

12090 commits

Author SHA1 Message Date
Eliy21
ca556c052f Prevent pvp knockbacks when invulnerable 2023-12-15 15:52:26 +00:00
Eliy21
60367cdbe0 Revert unreliable bugfix
There are times when the continuous damage when punching players does not happen so will not fix at the moment as using other weapons does still work.
2023-12-15 15:42:49 +00:00
Eliy21
ae169b2814 Add fix to crash when moving bought villager trade item to empty sell slot bug by JoseDouglas26 (#4079)
Add fix to #4062 by JoseDouglas26 https://git.minetest.land/MineClone2/MineClone2/issues/4062#issuecomment-74045

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4079
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-12-15 03:09:48 +00:00
bakawun
cee5bbc206 mobs:fix typo in homing function 2023-12-14 16:50:23 +01:00
Eliy21
6b439fd1de Add maximum pvp knockback limit & approximate enchant knockback distance to be similar to MC 2023-12-14 11:57:55 +00:00
Eliy21
bf9e487fa9 Adjust minimum pvp knockback to be closer to MC 2023-12-14 09:27:28 +00:00
Eliy21
49af5d2013 Rebalance minimum pvp knockback to account for added knockbacks when moving 2023-12-14 08:51:34 +00:00
Eliy21
ed507d8509 Remove unnecessary space in the attack reach limit on mobs code 2023-12-14 08:15:55 +00:00
Eliy21
b2507c3640 Make fire aspect enchant respect attack reach limit 2023-12-14 08:12:13 +00:00
Eliy21
85b1f5247a Add vertical lift & minimum pvp knockback 2023-12-14 07:46:16 +00:00
Eliy21
2b71462c1e Prevent knockback if player is beyond attack reach limit 2023-12-13 20:36:54 +00:00
Eliy21
b0e33793ec Fix a potential bug that could bypass attack reach limit when a stronger attack breaches the invul 2023-12-13 20:04:15 +00:00
Eliy21
96aaf89036 Readjust pvp enchant knockback to make the running knockback difference more pronounced 2023-12-13 18:49:08 +00:00
Eliy21
a8c2d4534a Nerf long pvp enchanted knockbacks especially when running 2023-12-13 17:42:42 +00:00
Eliy21
a8806fe04e Add player invulnerability & fix not continuously damaging players when holding the attack key
Player invulnerability is the same as Minecraft's Damage Immunity https://minecraft.wiki/w/Damage#Immunity

The old code for some reason only allows a few damage by holding and does not continuously damage other players after a few hits
2023-12-13 17:34:42 +00:00
Wbjitscool
ebd733be82 update's the campfire's fire burning animation to make it look better (#4077)
improve the look of the campfire's flame/burning animation

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4077
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Wbjitscool <dwsda121@gmail.com>
Co-committed-by: Wbjitscool <dwsda121@gmail.com>
2023-12-13 05:22:41 +00:00
the-real-herowl
a2c8d13f04 Nerfed vexes and evokers 2023-12-13 04:51:56 +01:00
the-real-herowl
610bcab0d6 Merge pull request 'Update's the stonecutter animation speed to match to the MC's one' (#4074) from stonecutter_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4074
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-13 03:14:27 +00:00
the-real-herowl
ed205190e4 Nerfed slime and magma cube attack range 2023-12-13 04:10:01 +01:00
Wbjitscool
07eb70e9be Update mods/ITEMS/mcl_stonecutter/init.lua 2023-12-13 02:39:25 +00:00
the-real-herowl
b3da7a473d Merge pull request 'Move deepslate ore registration within generation check' (#4070) from Zasco/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4070
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-13 02:06:25 +00:00
bakawun
bc101314df mobs:shulker:use on_attack to set shoot interval
to between 1 and 6 seconds
2023-12-13 02:42:08 +01:00
the-real-herowl
69903aa4ec Fixed crashes 2023-12-13 02:42:08 +01:00
bakawun
686646b86d Shulker: align armor value with mc and set it to 0 when opened 2023-12-13 02:42:08 +01:00
bakawun
789c9a9a6d Shulker: make bullet speed match mc
speed is 5 according to https://www.gmbinder.com/share/-MelLRYIg8yCfuAqQ82g#:~:text=After%20doing%20some%20experimentation%20I,~5%20blocks%2Fsecond).
2023-12-13 02:42:08 +01:00
cora
cf51c60527 Fix shulker bullets ignoring armor 2023-12-13 02:42:08 +01:00
cora
55fe71d73b Add a get_arrow_hit_func function to mcl_mobs
reason for this is that player:punch used by most mobs ignores armor
worn by player
2023-12-13 02:42:08 +01:00
cora
58bb26a7ef Make shulker bullets homing 2023-12-13 02:42:08 +01:00
cora
f5079f1568 Add an option for mob arrows to be "homing" 2023-12-13 02:42:08 +01:00
Bakawun
b4511fb8c7 Shulker, add missing false statement 2023-12-13 02:42:08 +01:00
Bakawun
b02a3deec7 Shulker; fix attack open animation, improve peek 2023-12-13 02:42:08 +01:00
Bakawun
26cfdf0b7c Shulker: randomize shoot interval
Randomize shoot interval to between 1 and 5.5 seconds and set default shoot interval to 5.5
2023-12-13 02:42:08 +01:00
Bakawun
8d34ff2a9a Shulker: Make shulker peek periodically
Adjust walk and animation settings so the shulker peeks out randomly.
2023-12-13 02:42:08 +01:00
Bakawun
e6ddc03d3c Shulker: lower shoot interval to 1 second
In this video we can see the shulkers are shooting at a rate of once per second.
https://youtube.com/shorts/8tUFaSZ4b7I?si=sszp4cnyXR4dXg9B

The wiki confirms this but mentions a range of 1 to 5.5 seconds. 
I think this range is caused by the shulker closing and stopping shots for a few seconds but no longer than the max interval of 5.5

https://minecraft.fandom.com/wiki/Shulker#:~:text=The%20shulker%20continues%20firing%20every,unaffected%20by%20Levitation%20when%20hit
2023-12-13 02:42:08 +01:00
Zasco
351e31a889 Move deepslate ore registration within generation check 2023-12-12 23:16:51 +00:00
Bakawun
5f3c901f11 Ghast: align attributes with mc
Ghast should spawn much more rarely than they currently do
I set the value to 1/4th of the original value before 72000 was set as an attempt to lower spawn rates, it actually increased them.

Align View distance, sound distance and shot interval with mc wiki.
https://minecraft.fandom.com/wiki/Ghast

Align fireball velocity with mc issue tracker
https://bugs.mojang.com/browse/MC-238286
2023-12-11 09:58:41 +01:00
the-real-herowl
aff4216ccf Merge pull request 'on_attack callback fix' (#4065) from on_attack_callback into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4065
2023-12-10 23:55:47 +00: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
José M
6dce3b4bc4 Remove whitespace-only translation in template file 2023-12-10 01:56:19 -06:00
José M
a60540c17e Remove a non empty translation in template file 2023-12-10 01:47:35 -06:00
José M
19fd075a2f Add the textdomain line in mcl_beehives.dk.tr
This will remove the warning that is shown when running Wuzzy's Minetest_Translation_tools and will contribute to the issue 3540
2023-12-10 01:16:43 -06:00
José M
1ac65305d6 Fix a typo in mcl_honey.es.tr 2023-12-10 00:13:40 -06:00
José M
8dcb62aa56 Fix a typo in mcl_honey.es.tr 2023-12-10 00:11:07 -06:00
José M
1d2a7b35d8 Update mcl_honey.es.tr 2023-12-10 00:07:17 -06:00
José M
02e7ff41d5 Update mcl_fire.es.tr and fix syntax errors 2023-12-09 23:42:32 -06:00
the-real-herowl
d4797e13af Merge pull request 'release_0_85_fire_and_stone' (#4049) from release_0_85_fire_and_stone into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4049
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-12-08 23:05:13 +00:00
the-real-herowl
3caa99a409 Post-release set version 0.86.0-SNAPSHOT 2023-12-09 00:03:41 +01:00
the-real-herowl
ca71e949a8 Credits update 2023-12-09 00:01:19 +01:00
the-real-herowl
9a7e39654c Minor credits update 2023-12-09 00:01:19 +01:00