the-real-herowl
663724674e
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-04-28 15:07:16 +00:00
the-real-herowl
ae06803482
Renamed some functions and variables
...
* changed names referring to player where it does support mobs
* also added an is_player() check in one function
2024-04-28 15:07:16 +00:00
the-real-herowl
74d03e70c2
Improved descriptions
2024-04-28 15:07:16 +00:00
the-real-herowl
8b2de1e33f
Improved nausea
2024-04-28 15:07:16 +00:00
the-real-herowl
80d09918bf
Improved the darkness effect
2024-04-28 15:07:16 +00:00
the-real-herowl
8d4f1575f1
Added darkness
2024-04-28 15:07:16 +00:00
the-real-herowl
d73231ab4a
Added nausea
2024-04-28 15:07:16 +00:00
the-real-herowl
6ff6db3627
Fixed graphical features of some effects
...
* loading fixed (by adding on_load)
* absorption bar never reaching end fixed
2024-04-28 15:07:16 +00:00
the-real-herowl
489e798714
Added blindness effect
...
(also improved TT descriptions of some effects)
2024-04-28 15:07:16 +00:00
the-real-herowl
ee6dbe776e
Added frost effect
2024-04-28 15:07:16 +00:00
the-real-herowl
1214d85edc
Added HP hudbar look modifier API
...
(for now in mcl_potions)
2024-04-28 15:07:16 +00:00
the-real-herowl
05312e611c
Add hero of the village effect
2024-04-28 15:07:16 +00:00
the-real-herowl
c45b0baa61
Added food poisoning and saturation effects
2024-04-28 15:07:16 +00:00
the-real-herowl
b17fdf01e8
Added some missing effects and improved API
...
* added a way to have a damage modifier relying on type instead of flag
* added Slow Falling
* added Levitation
* added Health Boost
* added Absorption
2024-04-28 15:07:16 +00:00
the-real-herowl
c67efdafb0
Improved damage mods in effects, resistance effect
2024-04-28 15:07:16 +00:00
the-real-herowl
df5590d148
Improved effects HUD and fixes
...
* Fixed some effects not being replaced correctly with higher levels
* Implemented an old FIXME (MTE 5.3.0 fixed underlying bug)
* Added a way to obtain an approximate level of effect from factor
* Added effect level to HUD under the icon
* Added effect timer to HUD under the icon
2024-04-28 15:07:16 +00:00
the-real-herowl
a2107cc429
Added missing effect descriptions
2024-04-28 15:07:16 +00:00
the-real-herowl
2caf6bed1d
Improved potion descriptions
...
* added support for effect descriptions
* added descriptions for some effects
* fixed a crash
2024-04-28 15:07:16 +00:00
the-real-herowl
c1ee1fdf16
Fixed variable definitions ("undeclared global")
2024-04-28 15:07:16 +00:00
the-real-herowl
d0b3a7b49b
Translatable effect names and cleanup
...
-added translatable effect names to the API
-made /effect utilize those descriptions
-cleaned up variables/constants to go with further API changes
2024-04-28 15:07:16 +00:00
the-real-herowl
040c590707
Reimplemented /effect heal and fixed bugs
...
-heal subcommand to the /effect reimplemented
-healing_func() from old API standardized, included in new API
-(the last point is due to it being substantially different from others)
-fixed a few bugs, potential crashes
-fixed incorrect withering effect progression
-standardized variable naming
2024-04-28 15:07:16 +00:00
the-real-herowl
e25bffe040
Resolved merge conflict
2024-04-28 15:07:16 +00:00
the-real-herowl
1df39ab13d
Improved /effect command and fixes
...
-improved the /effect command, allowing to use effect levels
-fixed a bug in level-to-factor conversions
-renamed effect icons to follow the new convention
2024-04-28 15:07:16 +00:00
the-real-herowl
d8ec5e4b51
General effects API overhaul
...
- added a `register_effect()` function
- added the withering effect
- registered all the old effects under the new API
- unified effect names
- updated the main effect checker to use the new API
- changed some hardcoded values to support the unified effect naming
- added new namespaced metadata effects strings
- added support for legacy effect player metadata
- potions are still using the old effects API
- added glue between old API calls and the new API
- renamed the effect icons to support the unified effect naming
2024-04-28 15:07:16 +00:00
the-real-herowl
645072507f
Wither melee attack and bug fixes
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
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
PrairieWind
23d6c3d17b
Update campfire rightclick and smothering
2023-09-04 22:05:38 +00:00
cora
c3455de604
Clear bad omen when raid complete
2022-11-26 17:06:04 +01:00
cora
dc017864fd
raids: properly integrate potions api
...
supports "level" now, bad omen > 1 means extra wave additionally
the playername is saved in the event object now for later access
and events can be made exclusive to a certain radius now.
2022-11-26 17:06:04 +01:00
PrairieWind
1b6d778dd1
Add Village Checks
2022-11-26 17:06:03 +01:00
PrairieWind
96ac31bec3
Add Bad Omen Effect
2022-11-26 17:06:03 +01:00
talamh
695fab5f06
Fix status effects scaling issue with non 16x texture packs
2022-10-11 21:53:48 +01:00
Johannes Fritz
18f8768909
Fix invisibility potion when changing skin
2022-09-15 12:04:20 -05:00
Johannes Fritz
3695ee2425
Fix invisibility potion crash
2022-09-08 16:45:53 -05:00
Elias Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
MysticTempest
44b1d583a7
Potion Fixes:
...
Ensure all potion icons disappear after their effect is gone.
Stop Breath bar from flashing when water_breathing is in effect.
2022-05-09 05:18:59 -05:00
NO11
4aabd7d9e7
Make size/position of potion HUD more MC like
2021-08-01 12:10:00 +00:00
AFCMS
a71a0e9161
fix even more warnings (nether portals and potions)
2021-05-22 23:04:18 +02:00
NO11
be9fb5be47
Fix #1718 (Give potion particles the same color as in mc) part2
2021-05-14 10:07:58 +00:00
Elias Fleckenstein
8cccbd7caa
Fix harming potion crash
2021-04-30 16:38:53 +02:00
Elias Fleckenstein
edc89898bb
Integrate fire resistance
2021-04-25 20:51:13 +02:00
Elias Fleckenstein
53b0ad7347
Implement magic damage
2021-04-18 20:21:11 +02:00
Elias Fleckenstein
d0ddd38d4e
Merge branch 'master' into damage
2021-04-14 16:14:00 +02:00
Elias Fleckenstein
ce0148d9a8
Rewrite armor; new damage system
2021-04-14 15:46:52 +02:00
Code-Sploit
cd0d2d2296
Fix #1548
2021-04-13 13:57:45 +00:00
AFCMS
8f30e223e2
I hate reverting something xD
2021-03-16 17:39:06 +01:00
epCode
eeb1f88e08
Fix invisibility to be more MC-like
2021-03-11 19:14:23 -08:00