Commit graph

155 commits

Author SHA1 Message Date
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
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
Brandon
abb5941616 Update drowning logic for lava and fireproof (still commented out) 2020-07-08 17:31:08 -04:00
Brandon
3a3caf3885 Remove old/incorrect code. 2020-07-07 17:56:44 -04:00
Brandon
a88c5b65de update list of zombie mobs 2020-07-06 20:36:05 -04:00
Brandon
78768c3dab Correct splash harming, remove double damage to entity, and add harming to armor bypass 2020-07-06 20:23:59 -04:00
Brandon
cf8f6956f7 Merge branch 'bzoss_brew' of https://git.minetest.land/Wuzzy/MineClone2 into bzoss_brew 2020-07-06 19:00:21 -04:00
Brandon
5baa1b0275 Allow damage to armor players with poison 2020-07-06 18:57:00 -04:00
Brandon
3be2ff1977 Update to allow poison damage with armor. 2020-07-06 18:41:09 -04:00
Brandon
6cefec8cbf Fix allow drowning for lava... 2020-07-03 20:38:35 -04:00
Brandon
31aa880e85 fix local declaration 2020-07-03 20:31:53 -04:00
Brandon
d131cbadef Allow drowning in lava.... 2020-07-03 18:12:02 -04:00
Brandon
b2d634acb8 Correct drowning damage 2020-07-02 18:05:46 -04:00
Brandon
b4c658904b Fix drowning damage 2020-07-02 18:04:39 -04:00
Brandon
5db80b3ec5 Allow drowning damage when drowning in lava. 2020-07-02 17:52:09 -04:00
Brandon
d3c9006e6e Correct splash potions to hit players 2020-06-30 20:54:07 -04:00
Brandon
9301e03b52 Update fire resistance to allow damage if "drowning" in lava 2020-06-30 20:05:08 -04:00
Brandon
0ed66727be Add nether fire nodes to fire resistance 2020-06-30 18:40:04 -04:00
Brandon
2c1b4e518c Add strength potions 2020-06-28 20:31:08 -04:00
Brandon
decf0ec624 Correct magma blocks not having fire protection. Make player not invisible when milk is drank. 2020-06-28 18:47:04 -04:00
Brandon
34631dd32e Get fire resistance working. 2020-06-28 16:45:49 -04:00
Brandon
1d471c52df Remove potion effects by drinking milk. 2020-06-28 12:16:07 -04:00
Brandon
4f259dec71 Adjust lingering affect (1 per second) 2020-06-26 21:27:17 -04:00
Brandon
8a08d27ee5 Fix potions to hit mobs. 2020-06-26 19:08:41 -04:00
Brandon
4a35ad3fd1 Correct issue where all items are replaced with drinking potions in creative 2020-06-26 16:55:22 -04:00
Brandon
1d5a04acb3 Update to reset player_physics on log out or death. Fix mobs die with potions. 2020-06-25 19:21:16 -04:00
Brandon
fceffa6f1c Smooth out FOV changes, add specificity to potion effects to avoid overlap 2020-06-23 21:36:55 -04:00
Brandon
b75075a135 Correct ability to kill players with harm potions. 2020-06-23 17:57:11 -04:00
Brandon
266713631a Correct sounds heard at distance and blast resistance for brewing stand. 2020-06-21 08:39:08 -04:00
Brandon
44536dd75d put some rudementary night vision together 2020-06-20 21:30:26 -04:00
Brandon
9836d631f9 Cleaning up old files and using a night-vision lite method. 2020-06-20 21:17:45 -04:00
Brandon
162faa7e60 Add fire resistance groundwork. 2020-06-20 21:00:57 -04:00
Brandon
7827e0019f Add check for player properties to ensure entity/player didn't die or leave. 2020-06-20 18:11:35 -04:00
Brandon
12d0c3019e Move timing functions out to globalstep 2020-06-20 15:50:58 -04:00
Brandon
3dbaac7549 Update invisibility potions and poisons to utilize globalstep. Seems smoother. 2020-06-20 13:30:35 -04:00
Brandon
ec2d700c95 Prevent compound regeneration 2020-06-20 10:16:00 -04:00
Brandon
d929ca19a8 Add persistent particle spawner. 2020-06-20 09:00:53 -04:00
Brandon
a5e3b259fa Keep poisons from killing the player and prevent compounding poison effects. 2020-06-19 20:22:32 -04:00
Brandon
bd9fd780eb Add potion sprite effects when drinking 2020-06-18 21:04:31 -04:00
Brandon
70fd9db0c3 Fix crash with non-player objects when adding player_physics attributes to object. 2020-06-18 20:22:44 -04:00
Brandon
7dc36368b0 Add poison. Update times/potency. 2020-06-18 20:08:00 -04:00
Brandon
38a4e6ed89 Correct regeneration amount - 1/2 heart per cycle 2020-06-18 19:44:29 -04:00
Brandon
3ab5035312 Add regeneration 2020-06-18 18:14:51 -04:00
Brandon
d9e78e8ad9 Add water breathing. 2020-06-18 17:59:36 -04:00