Commit Graph

97 Commits

Author SHA1 Message Date
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
Lizzy Fleckenstein 8cccbd7caa Fix harming potion crash 2021-04-30 16:38:53 +02:00
Lizzy Fleckenstein edc89898bb Integrate fire resistance 2021-04-25 20:51:13 +02:00
Lizzy Fleckenstein 53b0ad7347 Implement magic damage 2021-04-18 20:21:11 +02:00
Lizzy Fleckenstein d0ddd38d4e Merge branch 'master' into damage 2021-04-14 16:14:00 +02:00
Lizzy 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
Wuzzy 9365493696 Fix fire resistance bad protect against magmablock 2020-11-12 16:43:12 +01:00
Wuzzy 124274053d Effect: Bigger init timer 2020-11-12 16:28:52 +01:00
Wuzzy c3861bad85 Fix effect icons not initing correctly after join 2020-11-12 16:25:17 +01:00
Wuzzy c5a27ee47a Add status effect icons 2020-11-12 15:46:57 +01:00
Wuzzy 09ee912096 Fix crash when mob dies after poison/regen 2020-08-29 10:53:44 +02:00
MysticTempest 2f6afe34ba Fix crash when night_vision tries to apply to a mob. 2020-08-26 00:46:07 -05:00
Wuzzy 91d174b437 Fix incorrect particle name in mcl_potions 2020-08-19 17:07:53 +02:00
Wuzzy b2ad6b79bd Fix night vision conflicting with weather skycolor 2020-08-19 10:39:44 +02:00
Wuzzy 2a7edbde49 mcl_potions: Move command to own file 2020-08-10 10:40:10 +02:00
Wuzzy db1cc2e012 Effect command: Swap arguments 2020-08-08 10:25:23 +02:00
Wuzzy aaa13878c1 Clean up the effect test command a little 2020-08-08 10:14:37 +02:00
Wuzzy a472c30163 Fix indentations in mcl_potions/mcl_brewing 2020-08-08 10:00:16 +02:00
Brandon 49a5f765bd Save player effects on server shutdown. 2020-08-05 20:18:18 -04:00
Brandon cfcaa4fa12 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-05 20:03:56 -04:00
Wuzzy fd724f4c1c Lingering heal/harm potions change at least 1 HP 2020-08-05 20:59:16 +02:00
Wuzzy ff476c29b6 Better lingering for lingering water bottle 2020-08-05 19:44:19 +02:00
Wuzzy 1f8488aba5 Make throwable water bottles useful 2020-08-05 19:00:08 +02:00
Brandon b9a9b1b814 Add pretty weak version of chat commands to give oneself potion effects - for testing 2020-08-03 12:47:42 -04:00
Brandon 67e4e814f4 move hudbar stuff outside initial statement. 2020-08-02 20:50:29 -04:00
Brandon af1ab424fc Allow potion effects to remain after player logs off. 2020-08-02 20:44:18 -04:00
Brandon fd6028e451 Cleanup HUD bar mechanics 2020-07-27 19:41:07 -04:00
Brandon 9a32bdc967 Update HUD for poison/regen. 2020-07-27 19:17:04 -04:00
Brandon bdd92c6cdb update poison to swap hudbar icons and remove old dead functions 2020-07-27 17:32:48 -04:00
Brandon 6eb810339b Cleanup potion functions - check for player effects at login to ensure no holdovers exist 2020-07-26 17:42:38 -04:00
Brandon 9ef57692ba A little more code cleanup 2020-07-26 07:48:40 -04:00
Brandon 9dce5581be Code cleanup 2020-07-25 20:59:26 -04:00
Brandon d22805cecd Clean up potion functions. Correct fault where it's possible to index a nil value. 2020-07-25 20:40:13 -04:00
Brandon bf38131520 Corrected poison and other damage functions 2020-07-24 19:39:23 -04:00
Brandon 623f60ab79 correct elseif statement 2020-07-20 19:50:17 -04:00
Brandon 843f2d2a80 Correct issue where player/entities dies before effect is given 2020-07-20 19:48:58 -04:00
Brandon 43c4b355ce Fix issue with objects/players dying before the effect runs, which won't be applied... 2020-07-20 19:07:10 -04:00
Brandon 64a2a6bb53 Move variable declaration out of loops to increase performance. 2020-07-16 20:20:13 -04:00
Brandon ad5759a5ad Update method for harming by heal to mob attributes 2020-07-12 16:56:41 -04:00
Brandon 4a654fccc4 Correct potions hitting thrower. 2020-07-12 12:16:26 -04:00
Brandon 982c976a83 Reduce player particles on effect 2020-07-12 09:44:45 -04:00
Brandon 926d842cdb reduce redundant code in potion definitions 2020-07-11 20:26:45 -04:00
Brandon 1fda285102 Fix reset for night vision on drink milk 2020-07-10 19:16:23 -04:00
Brandon 16c886f0ec Update Night Vision to allow full day brightness - only active at night. 2020-07-10 19:10:38 -04:00