1
0
Fork 0
Commit Graph

11620 Commits

Author SHA1 Message Date
Eliy21 95be0ca64c Remove unnecessary space in the attack reach limit on mobs code 2023-12-14 09:32:23 +01:00
Eliy21 c09c3aad47 Make fire aspect enchant respect attack reach limit 2023-12-14 09:32:08 +01:00
Eliy21 bac92efd8f Add vertical lift & minimum pvp knockback 2023-12-14 09:31:53 +01:00
Eliy21 fafe585dde Prevent knockback if player is beyond attack reach limit 2023-12-14 09:30:22 +01:00
Eliy21 589d7e660e Fix a potential bug that could bypass attack reach limit when a stronger attack breaches the invul 2023-12-14 09:30:03 +01:00
Eliy21 d074ed6cc3 Readjust pvp enchant knockback to make the running knockback difference more pronounced 2023-12-14 09:29:50 +01:00
Eliy21 bf8c452165 Nerf long pvp enchanted knockbacks especially when running 2023-12-14 09:29:29 +01:00
Eliy21 2901eadc55 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-14 09:29:11 +01:00
the-real-herowl d658b1977f Nerfed vexes and evokers 2023-12-13 07:02:55 +01:00
the-real-herowl 2e30b2120c Nerfed slime and magma cube attack range 2023-12-13 07:02:06 +01:00
Bakawun 8555afe7f7 Mobs:creeper: add another missing comma 2023-12-13 06:44:39 +01:00
Bakawun 89a2c3f681 Mobs:creeper: fix missing comma 2023-12-13 06:44:19 +01:00
the-real-herowl 80af7a29a9 Unified and refactored FOV API code 2023-12-13 06:42:35 +01:00
the-real-herowl 0aa2ff6a68 Made spyglass reset instant 2023-12-13 06:42:16 +01:00
bakawun a30df7dcdc Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 into myserver 2023-12-13 06:41:29 +01: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: MineClone2/MineClone2#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 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: MineClone2/MineClone2#4074
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-13 03:14:27 +00: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: MineClone2/MineClone2#4070
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-13 02:06:25 +00:00
Zasco 351e31a889 Move deepslate ore registration within generation check 2023-12-12 23:16:51 +00:00
the-real-herowl dd50112349 Fixed the exclusive modifiers not being exclusive 2023-12-12 09:52:02 +01:00
Michieal d63cf1478d Fixed a couple of errors
Removed a debug statement that was broken.
Changed `modififer` to `modifier` in a code block.
2023-12-12 09:50:59 +01:00
the-real-herowl b5112fd5c5 Script and documentation cleanup 2023-12-12 09:50:38 +01:00
the-real-herowl 9e1a2a480b Updated credits 2023-12-12 09:50:23 +01:00
the-real-herowl fafc28a694 Updated the api.md file 2023-12-12 09:50:03 +01:00
the-real-herowl 4314de9d88 Made bow unfocus faster 2023-12-12 09:49:46 +01:00
the-real-herowl a37ebc0f87 Moved sprinting into the new FOV api 2023-12-12 09:49:30 +01:00
the-real-herowl 9dd524003d Fixed modifier application and removal 2023-12-12 09:49:12 +01:00
the-real-herowl 7334416a53 Re-registered FOV mods using new API version 2023-12-12 09:48:55 +01:00
the-real-herowl b4329d0b44 Made fovapi registration more robust 2023-12-12 09:48:38 +01:00
Michieal fb13dfec4f Reworked some of the Apply_Modifier code to help prevent errors. 2023-12-12 09:48:24 +01:00
Michieal 0e3c8f063f Put in check to prevent Trying to Reference a Nil error in Apply_Modifier. 2023-12-12 09:48:07 +01:00
Michieal 149097ff90 Put in checks to prevent repeatedly applying the same FOV modifier.
Added short circuit to remove_modifier if the modifier is not currently applied.
2023-12-12 09:47:51 +01:00
Michieal 03a4afa416 Set up the Bows to use the new FOV API. Bows now zoom in and clear out the zoom. 2023-12-12 09:47:32 +01:00
Michieal a6a39cb8f0 Added reset for player respawning to remove FOV modifiers.
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
Set up the Spyglass to use the new FOV API.
2023-12-12 09:47:12 +01:00
Michieal a82ff254ff Added reset for player respawning to remove FOV modifiers.
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
2023-12-12 09:46:56 +01:00
Michieal a24e5f85c0 Fleshed out the API Documentation.
Modified missing pieces of code.
2023-12-12 09:46:42 +01:00
Michieal dd00dc4496 Initial API state. 2023-12-12 09:46:22 +01:00
Michieal b4e8b0ea88 Initial Commit. 2023-12-12 09:46:06 +01:00
bakawun 8fad74c90f core:explosions: fix blast radius rounding
mc rounds to nearest int, do the same
simplify the calculation
2023-12-12 09:26:03 +01:00
bakawun 06132d01a8 controls:android:fix bow/rocket/spyglass/burger_follow
this requires the following minetest pr
https://github.com/minetest/minetest/pull/14087
2023-12-12 09:25:35 +01:00
bakawun ba564f843f mobs:villager: reduce job/bed/bell search radius
and turn it into a setting
this makes villager breeding possible on low end
hardware like android
2023-12-12 09:23:53 +01:00
bakawun cff3d8d802 mapgen:villages:Increase village spawn chance
from ~1.3% to ~3.3% to more close match mc 50% chance
per 500 blocks
2023-12-12 09:23:26 +01:00
bakawun 238031921a obs: loot table updates
fix table being defined twice for hoglin
enable looting enchantment effects wheee missing
use int 1 in N chances
correct some values to those from mc wiki
2023-12-12 09:22:46 +01:00
bakawun e152a392e0 loot chance: fix 1 in N chance calculation.
add mc 2nd roll when enchanted to base chance value
remove unused math.floor calculation from num to drop
remove looting_ignore_chance, only used for ghast and
its not needed.
2023-12-12 09:22:27 +01:00
bakawun 91880967cb Set all mob spawn chance weights according to mc now that weights are actually taken into account 2023-12-12 09:21:55 +01:00
bakawun d2d04d77ca Spawning: add a comment to clarify what the random select is doing 2023-12-12 09:21:28 +01:00
bakawun 8c7e26989f Spawning: break mob selection loop when out of bounds 2023-12-12 09:21:10 +01:00
bakawun 31a56f6a2a Spawning: remove unused summary_chance 2023-12-12 09:20:53 +01:00
bakawun 3a00986266 Spawning: remove another unused perlin var 2023-12-12 09:20:37 +01:00