ProjectKorra/ProjectKorra — pull request #73 by nathank33 (2014-12-29 20:07:48+00:00)
Title: Added EarthSmash

Updated Methods.stopBending():
Certain abilities were not having their removeAll() method called when the server shutdown.
(AirCombo, LavaFlow, WaterWave, WaterCombo, FireCombo)

Added Earth Ability - EarthSmash:
EarthSmash was previously an Addon ability that was downloadable from the resource page. It has now been recoded to work as a default ProjectKorra (Core) ability.
Original Uses:
Defensive
- Can be used as a shield.
- Blocks Watermanipulation, EarthBlast, FireBlast, Torrent (Stream), and IceSpike.
Can't Block ShockWave, EarthGrab, Blaze, AirShield, AirBurst, Tornado, Torrent(AOE).
Offensive
- Can be shot as a projectile to hit multiple enemies.
- Does moderate damage that scales based on how many blocks are attached to the center.
- Travels fast and is harder to block than EarthBlast.
- Can't be redirected like EarthBlast, making its travel path predictable.
Mobility
- Can be ridden for a few seconds, the duration is similar to FireJet.
- Collision with walls and certain abilities will cause you to fall.​
Misc
- You can only create an EarthSmash if there is enough earthbendable material where you are pointing.
- Other EarthBenders can steal your EarthSmash if you aren't grabbing or riding it.
- EarthSmash can be ridden by multiple entities at a time.​
New Changes:
Defensive:
- Even after an EarthSmash is shot, it can now be caught by another Earthbender if they press shift at the right time.
Mobility:
- You can now ride an EarthSmash by grabbing it with shift and right clicking one of the blocks.
Config:
AllowGrab: Allows the player to grab
AllowShooting: Allows the player to shoot
AllowFlight: Allows the player to fly
GrabRange: The range that a player can grab by sneaking
ChargeTime: The initial charge time to raise the ability
Cooldown: The cooldown between raising, does not affect grab/shoot/flying
ShotRange: The maximum range to shoot the ability
Damage: The damage of the ability
Knockback: The knockback force caused by being hit
Knockup: The upward force caused by being hit
FlightSpeed: The flight speed
FlightTimer: The maximum amount of time that a player can fly
RemoveTimer: The amount of time before the ability is auto destroyed
Note: If an EarthBender takes damage from an EarthSmash they can still catch it with sneak as long as it hasn't disappeared. I'm not sure I want to keep or remove this.