This Pack contains 4 Spell Templates which are related to physics and simulation of different laws.
They are mostly 'Throw Missile' Spells, so they would fit better in a Warlock-like Arena than a Melee-game.
Uses Jass New Gen Pack and the map should use 'Bound Sentinel' (credits to Vexorian). If 'Terran Pathability' (credits to Rising_Dusk) is imported to your map, the objects will be reflected by unwalkable terrain.
The Spells are:
Holy Chain: Summons 2 Balls of Light which will fly into the target direction. The balls are connected by an invisible Spring which follows Hooke's law. When hitting a unit, the balls will stick to them, healing or damaging their target proportional to the length of the spring. The Unit's death will release the balls again. Should the balls come to close to eachother or stick on the same unit, they will deal damage to their targets and explode.
Divine Attractor: Summons a Ball of godly might which will fly towards the target direction and attracts all Physics objects (Holy Chains, Divine Attractors and Gods Fists) with Newtons law.
Gods Fist: Summons an inert Missile which will accelerates towards the target, but is slowed down by friction. Upon hit, it heals or damages the target.
Repulsion: Repulses all Physics objects (Holy Chains, Divine Attractors and Gods Fists) with an inverse Newtons law.
The library contains functions that will allow you to create missiles which react similar to these, but look completely different.
Features:
-Highly Configurable, Spell Instances can have different atrributes
-MUI
-leakless
-reflections on cliffs/strcutures/doodads/destructables/all unwalkable things in general
-objects affected by terrain height
Disadvantages:
-no support of channel spells
-bigger amounts of Divine Attractors will lag
Changelog:
v 1.0 - not uploaded, simple converted GUI
v 1.1 - first uploaded version, uses vJass, increased performance a lot
v 1.2 - changed code to a System, created Create-Functions for all Spells
v 1.3 - supports TerrainPathability
v 1.4 - supports Terrain Height
Keywords:
Physics, Missile, Newton, Kepler, Hooke, Coulomb, Spring, Planet, Inertia, Paladin, Holy, Divine, Light