1
0
Fork 0
Commit Graph

111 Commits (bcffcad67651cceba168bc704532177d5fc0f0b1)

Author SHA1 Message Date
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
Brandon 58cde1c9e9 Correct super zombie. 2020-06-18 17:17:56 -04:00
Brandon 4b23c2a15c Update potions for mob effects. Healing harms zombies, harming heals zombies. 2020-06-18 16:56:19 -04:00
Brandon 7c0996b03c Correct issue with drinking potion not resulting in an empty bottle 2020-06-17 17:44:03 -04:00
bzoss 724ff56bbf Fix a missed call to mcl_potions:invisible. 2020-06-16 08:13:10 -04:00
bzoss 7b4ded46f9 Rearrange the code structure. 2020-06-12 19:54:45 -04:00