Commit Graph

61 Commits

Author SHA1 Message Date
19 947af8727d Fixed barriers not allowing ally players in (#868)
Had to edit telekinesis because it was had errors do to syntax. See comments in forcefield class for more information

Co-authored-by: WinDanesz <31292708+WinDanesz@users.noreply.github.com>
2025-06-06 22:19:17 +02:00
ipdnaeip 0cb2165ddf Added methods for retrieving entities within a cylinder, replaced radius-based methods, implemented DPS check for heal aura, adjusted targeting criteria for summoned creatures, tweaked heal method, fixed flamecatcher ammo loss, updated Enrage target and expanded spellcasting item compatibility for movement speed charm. - by ipdnaeip (#864)
Added getEntitiesWithinCylinder and getLivingWithinCylinder methods to return all entities within a cylinder.

Replaced getLivingWithinRadius for spells that should use a cylinder instead. The height of the cylinder is determined by the height of the entities.

Added a DPS checker on the heal aura damage just in case someone has damage immunity disabled.

Modified the AllyDesignationSystem and Wizard classes to no longer target summoned creatures automatically. They will still target hostile summoned creatures or creatures from players that have aggressed on them.

Modified the heal method in the Heal class to not reduce absorption amount. It should never really happen, but just in case.

Modified the flamecatcher to no longer lose ammo if it was used but no arrow was fired.

Enrage now targets EntityLiving instead of EntityCreature.

The movement speed charm now works with any spellcasting item as opposed to just wands.
2024-03-27 22:11:29 +01:00
WinDanesz 3a93877de3 fix: Fire Ring shouldn't instantly melt away players on servers anymore 2022-07-08 21:11:10 +02:00
WinDanesz ed6e3df66e feat: The Arrow Rain spell summons conjured arrows 2022-07-08 20:32:22 +02:00
WinDanesz d23c4cba18 feat: Forcefield loses 1% durability each time it repulses an enemy or a projectile 2022-07-08 19:16:54 +02:00
WinDanesz 3d30b0b96f feat: Forcefield loses 2% durability each time it repulses an enemy or a projectile 2022-06-22 22:38:54 +02:00
Electroblob77 6f57d2366e Fix healing totem beam origin for healing allies 2020-10-16 19:43:13 +01:00
Electroblob77 8b86bb1b31 Add Lokenzen's ring 2020-10-16 19:42:56 +01:00
Electroblob77 f5cd740497 Add amulet of esundor, plus fixes for frost barrier 2020-10-10 18:30:54 +01:00
Electroblob77 a5fb3c6ac5 Send packets for player motion 2020-09-27 17:54:13 +01:00
Electroblob77 22b284063b Should be server-side only 2020-09-27 17:49:24 +01:00
Electroblob77 c05f4001fd Add frost barrier spell 2020-09-27 17:48:37 +01:00
Electroblob77 c53c9b1793 Fix decay not saving properly 2020-09-24 18:56:35 +01:00
Electroblob77 84236093c8 Plug spell property value into black hole radius calculations 2020-09-23 14:04:23 +01:00
Electroblob77 2f91573284 Block protection compat overhaul
- Unifies all block protection checks into helper methods in BlockUtils which trigger all the necessary forge events and vanilla methods
- Implements these checks in all the appropriate places and removes calls to EntityUtils#canDamageBlocks(...) where they are no longer needed
- Changes the mine spell to respect the config settings in line with the rest of the spells
- Fixes earthquake not respecting the settings at all
- Adds a separate config option for dispenser block damage and updates the description for the existing settings to reflect the changes
2020-09-23 00:57:55 +01:00
Electroblob77 ba487bea41 Add withering totem spell 2020-08-21 00:08:31 +01:00
Electroblob77 c90ec248cd Still need to check this, since not being allied and being a valid target are not necessarily equivalent 2020-08-15 23:21:32 +01:00
Electroblob77 de7226f792 Various tweaks to boulder 2020-07-05 15:46:49 +01:00
Electroblob77 22a125d720 Add boulder spell 2020-07-05 00:39:06 +01:00
Electroblob77 8ae6bc9102 Tidy up entity geometry stuff:
- Add a getCentre method for entities to GeometryUtils
- Replace getPositionEyes(0) with getPositionEyes(1) since it's more efficient, and by definition they must be the same
- Remove all the silly getEntityBoundingBox().minY stuff, this bug has been fixed since 1.8! (which begs the question: if it was considered a bug, how on earth did it go unfixed for that long?)
- A few other small things
2020-07-04 13:34:11 +01:00
Electroblob77 02ab4a9014 Make all radiant damage set fire to undead entities 2020-06-30 16:10:46 +01:00
Electroblob77 b61bbda668 Fix radiant totem sound causing a CME 2020-06-29 23:52:41 +01:00
Electroblob77 a25b642164 Add sounds to radiant totem and update sounds for ray of purification 2020-06-29 18:43:54 +01:00
Electroblob77 3a68ba8927 Implement blast modifier support for all applicable constructs, plus misc construct-related cleanup and fixes 2020-06-28 16:56:18 +01:00
Electroblob77 080022127c Add radiant totem spell 2020-06-26 17:46:47 +01:00
Electroblob77 ac4bb8bc11 Shady particles 2020-06-20 22:47:55 +01:00
Electroblob77 39e33848aa Rename to getLivingWithinRadius for clarity 2020-06-20 13:14:16 +01:00
Electroblob77 a87eca3bd8 Store the caster UUID regardless of whether the entity actually exists, and only read the UUID if it exists in the tag compound 2020-06-19 16:33:57 +01:00
Electroblob77 238b9d04bb Split up and reorganise WizardryUtilities 2020-06-13 23:29:01 +01:00
Electroblob77 1c0e046236 Snowstorms! 2020-06-12 23:27:20 +01:00
Electroblob77 8aadf5a446 Various improvements to sounds
- Added several new sounds, mostly for ice spells
- Added automatic registering of sound events
- Finally fixed the frost ray and wall of frost sounds
- Removed a few unused sound files
2020-06-12 22:15:44 +01:00
Electroblob77 a344011486 Limit the number of blocks black hole can unhook per tick 2020-06-12 14:34:31 +01:00
Electroblob77 a4d342caa1 Nudge the zombies 2020-06-09 17:01:17 +01:00
Electroblob77 6df0d2dc6e Allow permanent constructs to be dispelled by shift-right-clicking with any wand 2020-06-06 22:16:39 +01:00
Electroblob77 afabcbde49 Huskpocalypse! 2020-06-04 23:02:29 +01:00
Electroblob77 0cd61b758e More tweaks 2020-05-31 19:03:24 +01:00
Electroblob77 4ef54cf8cb Add sounds to zombie apocalypse spell, plus misc tweaks 2020-05-31 18:47:24 +01:00
Electroblob77 dd12d2ebcb Hide zombie particles properly 2020-05-31 17:31:31 +01:00
Electroblob77 a33715ad51 Add zombie apocalypse spell 2020-05-31 17:16:55 +01:00
Electroblob77 5a57e8341a Add icarus medallion and void opal 2020-05-22 12:49:45 +01:00
Electroblob77 650344a0c8 Add stormcloud spell 2020-05-18 20:41:41 +01:00
Electroblob77 81bba5e7e0 Add null check to ice spikes, fixes #371 2020-03-19 13:35:36 +00:00
Electroblob77 794085660e Move screen shaking effect into a proper method in the client proxy, fix earthquake's version not working and add screen shake to meteor, lightning hammer and shockwave 2020-02-19 00:11:33 +00:00
Electroblob77 f5da195605 Wrap NBTTagCompound#setTag in static helper with safeguards against circular references, fixes #299 2020-01-27 13:45:47 +00:00
Electroblob77 6cd6411c25 Use target lifetime rather than construct lifetime when dealing periodic damage; means targets don't all get damaged at once 2020-01-25 22:50:45 +00:00
Electroblob77 3468bbb073 Oops 2019-12-16 13:12:24 +00:00
Electroblob77 eddcb2402d Don't use client-side-only vector-based AxisAlignedBB constructor, fixes #306 2019-12-16 12:14:01 +00:00
Electroblob77 6d09acc78e Make combustion rune respect playerBlockDamage and mobGriefing settings, fixes part of #217 2019-09-02 16:32:03 +01:00
Electroblob77 f37812be3e That's one heck of a commit you've got there...
I may have got a bit behind with version control. A lot behind, in fact. Maybe I'll go back and split this sometime - then again, I probably won't. But hey, at least it's here!
2019-08-18 00:04:18 +01:00
Electroblob77 224ee281ef Cleanup 2019-01-05 22:18:14 +00:00