Eliy21
401c05d696
Buff punch enchantment knockback range in bows to be similar to MC
2023-11-21 05:57:43 +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
16d8ccece1
Return hand reach to default since attack reach on mobs has been implemented
2023-11-19 10:33:09 +00:00
Eliy21
61ed9e44cf
Make food health regen delay a configurable setting
2023-11-19 10:21:06 +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
789951c475
Buff hand range a bit until someone makes a proper separation of attack reach and dig/place reach
...
I've been testing to see if adding a bit more hand reach won't upset the combat balance too much and it turns out even with this PR Mineclone's knockback is still a little bit weaker than Minecraft so there's a bit more wiggle room for adding hand reach I suppose. Still not ideal though as it leads to some lopsided situations in mob combat so someone still needs to fix this and make the attack reach to 3 while dig/place to 4.5
2023-11-14 15:38:27 +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
72768d9191
Reduce default hand reach to prevent "sniping" mobs using meele
...
Balance adjustment to prevent newly added Minecraft-like meele juggle (with the increased mob knockback) from being overpowered by having a reach advantage that leads to be able to "juggle lock" mobs from afar.
Existing players will not be affected and new players can adjust it back manually if preferred. This is just setting proper balanced gameplay by default with the option to change available afterwards.
2023-11-11 15:28:22 +00:00
Eliy21
98a61ec0be
Make health regen from food not almost instant to balance spam eating
...
This came from testing the new mob combat balance that I noticed I can spam eat food and regen very quickly.
This health regen time change is actually the same as Minecraft.
"Whenever a player's hunger is 18 (🍗 × 9) or higher, they regenerate 1♥ every 4 seconds."
https://minecraft.wiki/w/Healing
2023-11-11 15:25:55 +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
the-real-herowl
fdf823fff6
Merge pull request 'Update trapdoor climbable behavior' ( #3938 ) from Dehydrate6684/MineClone2:trapdoor-ladder into master
...
Reviewed-on: MineClone2/MineClone2#3938
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-11-06 20:29:23 +00:00
Araca
52b65554d9
Do not output enchanted item if enchantment is impossible ( #3998 )
...
To Fix #3672 , I avoid displaying the output item if enchantment is not possible for various reason
* Level of added enchantment is below the one from input item
* Incompatible enchantment
Co-authored-by: Araca <>
Reviewed-on: MineClone2/MineClone2#3998
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Araca <araca.prod@gmail.com>
Co-committed-by: Araca <araca.prod@gmail.com>
2023-11-06 20:12:36 +00:00
the-real-herowl
5a069af072
Merge pull request 'Piston-breakable nodes don't fill up the push limit, items properly drop' ( #3813 ) from seventeenthShulker/MineClone2:piston_digs_properly into master
...
Reviewed-on: MineClone2/MineClone2#3813
2023-11-06 19:50:31 +00:00
the-real-herowl
14f73a8c55
Merge pull request 'armor trim followup' ( #3974 ) from trim_achievement into master
...
Reviewed-on: MineClone2/MineClone2#3974
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-11-06 19:37:56 +00:00
Dehydrate6684
e5a260b563
Added vines and skulk vines to ladder group
2023-11-05 14:10:58 +08:00
Dehydrate6684
9b2b8ee56e
Removed direction checks
2023-11-05 14:06:53 +08:00
seventeenthShulker
00cfca5947
Make carpet sticky again
2023-11-04 16:01:46 +00:00
seventeenthShulker
c37da143da
Add crying obsidian and lodestone to mvps_stoppers
2023-11-04 16:01:46 +00:00
seventeenthShulker
520fd773fb
Fix random crash when piston breaks node with no player
2023-11-04 16:01:46 +00:00
seventeenthShulker
378df76e5f
Prevent signs from being replaced by pushed/pulled blocks
2023-11-04 16:01:46 +00:00
seventeenthShulker
3e12b3c700
Check protection of certain nodes before push/pull
...
- The node directly in front of a piston (including air)
- The 'final' position of any connected nodes
2023-11-04 16:01:46 +00:00
seventeenthShulker
0637182697
Tallgrass and dead bush added to dig_by_piston
2023-11-04 16:01:46 +00:00
seventeenthShulker
0580b14310
Vertical pistons now save owner meta
2023-11-04 16:01:46 +00:00
seventeenthShulker
98cf3b7f7a
Check node_replaceable after dig_by_piston
...
Allows tallgrass, nether vines etc to drop
2023-11-04 16:01:46 +00:00
seventeenthShulker
e5829f719d
All signs are mvps_stopper upon registration
...
All buttons are mvps_unsticky upon registration
Add some missing unmovable nodes
Bamboo trapdoor is now sticky
2023-11-04 16:01:46 +00:00
seventeenthShulker
089e3d46f1
Several more blocks comply with MC piston mechanics.
2023-11-04 16:01:46 +00:00
seventeenthShulker
5d8688dbeb
Change tall flowers to `buildable_to = false`
2023-11-04 16:01:46 +00:00
seventeenthShulker
058684f17f
Improve dig_node simulation and fix duplication
2023-11-04 16:01:46 +00:00