Commit graph

2088 commits

Author SHA1 Message Date
Loony 6885e0b4ba Re-organises packages (#685)
* Re-organises packages

* Re-adds instructions display in the help command
2017-01-06 22:28:21 -08:00
Alexander Meech bba1973d31 Delay sent join decision (#688) 2017-01-06 17:48:41 -08:00
Alexander Meech fd03d8d863 Small Update (#687)
* Adds GlowAPI as a maven resource

* Implement credit on player join
2017-01-06 17:33:16 -08:00
Loony bdaa68ede1 AvatarState config options (#676)
* Adds config options for abilities in avatar state

* Adds AvatarState config option for each ability
2017-01-06 16:21:25 -08:00
Sobki fb70ed6f59 Added Cooldown & MaxDuration to Flight (#683)
* Added Cooldown & MaxDuration to Flight

* Added Cooldown & MaxDuration to Flight
2017-01-06 16:20:30 -08:00
Sobki 2bac32236a Passives rework (#680)
* Passives rework

* Re-add canCurrentlyBendWithWeapons()

* Re-add changes from my previous PR
2017-01-05 20:02:32 -08:00
Christopher Martin 7a67becb58 Fixes bending with weapons (#678) 2017-01-05 17:57:39 -08:00
Simplicitee 4ac9b8fb6e Spelling and Grammar check (#675)
* Formating / Spelling and Grammar check

* Left out change

* Revert "Formating / Spelling and Grammar check"

This reverts commit 73b10ccca224e1c7af758e4587227f5612ef8364.
2017-01-04 23:06:34 -08:00
Loony f47d94da61 Rewrites ability descriptions, adds ability instructions, adds getInstructions() method for abilities. (#673)
* Adds getInstructions() method

- Addons will now have to add the getInstrucionts() method in their
abilities, otherwise their abilities will display:
“Usage: null”

* Removes getInstructions() method from ComboAbility

* Adds getInstructions() method for subelement abilities

* Adds instructions to help command

* Rewrites ability descriptions, adds instructions path

Ability descriptions will now contain a brief description of abilities
and the instructions path will explain how to individually do each
feature of an ability.

* Adds back languageConfig.save();

* Fix Ability#getInstructions() documentation
2017-01-04 20:47:26 -08:00
Christopher Martin 0c090f4486 Various Fixes (#671)
* Fixes WaterManip Selection, HeatControl Perm Blocks, And PhaseChange NPE

* Fix test value for variable in `HeatControl`
2017-01-02 21:49:10 -08:00
Alexander Meech 989b0ca3f4 Build Fix (#670)
* Fix missing import of org.bukkit.Bukkit in PKListener

* Fix incorrect path for GLib in pom.xml
2017-01-02 02:49:38 -08:00
Christopher Martin f4a367837d Various Fixes with LavaFlow and EarthTunnel plus some Extra (#669)
* Various Changes

* Remove Debug Message.

* Fix Immobilize.
2017-01-02 02:33:08 -08:00
StrangeOne101 7a046e793a Added Kingdoms Support (#667)
• Added Kingdom Support
• Fixed some bugs with `isRegionProtectedFromBuildPostCache`
2016-12-29 12:37:33 -08:00
Simplicitee 4be85e8491 PhaseChange snow change (#666)
* Fix metalclips

- Removed a check that was preventing metalclips from progressing past 1 clip on a target.

* Fix metalclips

- Fixed a bug limiting the metal clip count to one

* Improve MetalClips

- Fixed bug where shooting at a block spawned two clips
- Added ShootCooldown and CrushCooldown
- ShootCooldown only applies to shooting clips
- Changed how crushing works:
--- Removed old style and variables
--- When controlling an entity with 4 clips, the controller can click to
cause the armor to "crush" and damage the entity.
--- Has own cooldown, default of 2000 (2 seconds)
- Changed launching
--- Works with all clip amounts except 4
--- When the user releases sneak, the entity will be launched at varying
power depending on how many clips were attached.
- Changed ability cooldown to activate only after the ability is
finished.

* Add CrushDamage option to MetalClips

* New Damage Type, MetalClips changes

- Fixed MetalClips bug caused in magnetizing
- Added ignoreArmor option to damageEntity method, default true for most
abilities. If wanted to be changed, someone needs to go through and add
false as a parameter
- Changed default config option for MetalClips description

* PhaseChange recode

* Chris wanted changes

* Chris doesn't want bugs

* Only you can prevent bugs

- Added checks for worlds to prevent errors

* Remove unnecessary auto generated comments

* Loony didn't like the passive

* Added RegionProtection checks

* PhaseChange

* Revert "PhaseChange"

This reverts commit 761c73f5756771674719ffca52413cffa09243a8.

* Revert "Added RegionProtection checks"

This reverts commit b53a02a74d0276d4d1e773e1c197666cbcfab624.

* Revert "Loony didn't like the passive"

This reverts commit 6612bb7fa8eea3e26c01d0ef761c658447779e03.

* Revert "Remove unnecessary auto generated comments"

This reverts commit da9c45106d0b7e256c278e6a84d15f7a7340a140.

* Revert "Only you can prevent bugs"

This reverts commit 630161659ea89bfb106924c8ab1fbcdb8f6f1310.

* Revert "Chris doesn't want bugs"

This reverts commit eda2dee6b52dd38c73f35680c5e4484adc5b5b91.

* Revert "Chris wanted changes"

This reverts commit 30b76c10c4adc63784ea7115eb4f9c636650d6c5.

* Revert "PhaseChange recode"

This reverts commit f8f290dd8c57a3467a87de7e43b58ce635196c62.

* Conflicts

* Stupid conflicts

* I hope and pray

* Revert "Revert "Chris wanted changes""

This reverts commit e612607c8a16a735c92014714c00aa671954b4a5.

* Revert "Revert "Chris doesn't want bugs""

This reverts commit bd656b814d7ffa2d9c84fa304d3adb8f1535f782.

* Revert "Revert "Only you can prevent bugs""

This reverts commit 7772c95737130cf414ff1af49dcfb48865be5374.

* Revert "Revert "Remove unnecessary auto generated comments""

This reverts commit 69315dc7baa6cd237fbd89394e544913596ec6e3.

* Revert "Revert "Loony didn't like the passive""

This reverts commit ea397c6323e50d219395d5912850513afd6f2a7b.

* Revert "Revert "Added RegionProtection checks""

This reverts commit 8cb41709f65e4322e68b2f0e1792987f7fc214f2.

* Revert "Revert "PhaseChange""

This reverts commit da6b0e7071acf74df6447b15daf4ae6e39f057f6.

* Working PhaseChange finally

* Fix EarthGrab

* Air fixes, PhaseChange changes

* PhaseChange finalizing. Ready to go!

* Snow melting fix
2016-12-27 22:20:46 -08:00
Loony 9d15d8b122 Bug Fixes (#664)
* Fixes AirScooter Speed Glitch

Fixes being able to autorun with AirScooter (CTRL) to go insanely fast

* Adds golden tools

Fixes an issue that didn’t include golden tools in CanBendWithWeapons.

* Adds cooldown to QuickStrike, fixes QuickStrike and SwiftKick not activating

* Fixes HighJump cooldown activating when the ability hasn't worked

* Fixes SwiftKick and QuickStrike not working properly and RapidPunch not working half the time

* Fixes FireWheel and AirSwipe being stopped by snow on the ground

* Makes QuickStrike do one heart
2016-12-26 22:26:06 -08:00
Simplicitee 45d2230376 PhaseChange done (#665)
* Fix metalclips

- Removed a check that was preventing metalclips from progressing past 1 clip on a target.

* Fix metalclips

- Fixed a bug limiting the metal clip count to one

* Improve MetalClips

- Fixed bug where shooting at a block spawned two clips
- Added ShootCooldown and CrushCooldown
- ShootCooldown only applies to shooting clips
- Changed how crushing works:
--- Removed old style and variables
--- When controlling an entity with 4 clips, the controller can click to
cause the armor to "crush" and damage the entity.
--- Has own cooldown, default of 2000 (2 seconds)
- Changed launching
--- Works with all clip amounts except 4
--- When the user releases sneak, the entity will be launched at varying
power depending on how many clips were attached.
- Changed ability cooldown to activate only after the ability is
finished.

* Add CrushDamage option to MetalClips

* New Damage Type, MetalClips changes

- Fixed MetalClips bug caused in magnetizing
- Added ignoreArmor option to damageEntity method, default true for most
abilities. If wanted to be changed, someone needs to go through and add
false as a parameter
- Changed default config option for MetalClips description

* PhaseChange recode

* Chris wanted changes

* Chris doesn't want bugs

* Only you can prevent bugs

- Added checks for worlds to prevent errors

* Remove unnecessary auto generated comments

* Loony didn't like the passive

* Added RegionProtection checks

* PhaseChange

* Revert "PhaseChange"

This reverts commit 761c73f5756771674719ffca52413cffa09243a8.

* Revert "Added RegionProtection checks"

This reverts commit b53a02a74d0276d4d1e773e1c197666cbcfab624.

* Revert "Loony didn't like the passive"

This reverts commit 6612bb7fa8eea3e26c01d0ef761c658447779e03.

* Revert "Remove unnecessary auto generated comments"

This reverts commit da9c45106d0b7e256c278e6a84d15f7a7340a140.

* Revert "Only you can prevent bugs"

This reverts commit 630161659ea89bfb106924c8ab1fbcdb8f6f1310.

* Revert "Chris doesn't want bugs"

This reverts commit eda2dee6b52dd38c73f35680c5e4484adc5b5b91.

* Revert "Chris wanted changes"

This reverts commit 30b76c10c4adc63784ea7115eb4f9c636650d6c5.

* Revert "PhaseChange recode"

This reverts commit f8f290dd8c57a3467a87de7e43b58ce635196c62.

* Conflicts

* Stupid conflicts

* I hope and pray

* Revert "Revert "Chris wanted changes""

This reverts commit e612607c8a16a735c92014714c00aa671954b4a5.

* Revert "Revert "Chris doesn't want bugs""

This reverts commit bd656b814d7ffa2d9c84fa304d3adb8f1535f782.

* Revert "Revert "Only you can prevent bugs""

This reverts commit 7772c95737130cf414ff1af49dcfb48865be5374.

* Revert "Revert "Remove unnecessary auto generated comments""

This reverts commit 69315dc7baa6cd237fbd89394e544913596ec6e3.

* Revert "Revert "Loony didn't like the passive""

This reverts commit ea397c6323e50d219395d5912850513afd6f2a7b.

* Revert "Revert "Added RegionProtection checks""

This reverts commit 8cb41709f65e4322e68b2f0e1792987f7fc214f2.

* Revert "Revert "PhaseChange""

This reverts commit da6b0e7071acf74df6447b15daf4ae6e39f057f6.

* Working PhaseChange finally

* Fix EarthGrab

* Air fixes, PhaseChange changes

* PhaseChange finalizing. Ready to go!
2016-12-26 22:25:00 -08:00
StrangeOne101 6b656cc711 Fixed NPE & Other New Bugs (#663)
• Fixed NPEs in CoreAbility.setPlater
• Turned off blocking for WaterManipulation
• Fixed /b display showing some moves twice
2016-12-22 00:13:10 -08:00
StrangeOne101 b7a3458c33 Minor fixes (#662)
• Fixed Bottlebending breaking (needs testing)
• Fixed CoreAbility not returning all abilities with
CoreAbility.getAbilities()
• Added new ability.setPlayer(...) method that is used for moves that
change who created the ability (used for redirection)
2016-12-19 20:53:20 -08:00
Simplicitee 5ad7f1f3b5 PhaseChange recode and EarthGrab fix (#661)
* Fix metalclips

- Removed a check that was preventing metalclips from progressing past 1 clip on a target.

* Fix metalclips

- Fixed a bug limiting the metal clip count to one

* Improve MetalClips

- Fixed bug where shooting at a block spawned two clips
- Added ShootCooldown and CrushCooldown
- ShootCooldown only applies to shooting clips
- Changed how crushing works:
--- Removed old style and variables
--- When controlling an entity with 4 clips, the controller can click to
cause the armor to "crush" and damage the entity.
--- Has own cooldown, default of 2000 (2 seconds)
- Changed launching
--- Works with all clip amounts except 4
--- When the user releases sneak, the entity will be launched at varying
power depending on how many clips were attached.
- Changed ability cooldown to activate only after the ability is
finished.

* Add CrushDamage option to MetalClips

* New Damage Type, MetalClips changes

- Fixed MetalClips bug caused in magnetizing
- Added ignoreArmor option to damageEntity method, default true for most
abilities. If wanted to be changed, someone needs to go through and add
false as a parameter
- Changed default config option for MetalClips description

* PhaseChange recode

* Chris wanted changes

* Chris doesn't want bugs

* Only you can prevent bugs

- Added checks for worlds to prevent errors

* Remove unnecessary auto generated comments

* Loony didn't like the passive

* Added RegionProtection checks

* PhaseChange

* Revert "PhaseChange"

This reverts commit 761c73f5756771674719ffca52413cffa09243a8.

* Revert "Added RegionProtection checks"

This reverts commit b53a02a74d0276d4d1e773e1c197666cbcfab624.

* Revert "Loony didn't like the passive"

This reverts commit 6612bb7fa8eea3e26c01d0ef761c658447779e03.

* Revert "Remove unnecessary auto generated comments"

This reverts commit da9c45106d0b7e256c278e6a84d15f7a7340a140.

* Revert "Only you can prevent bugs"

This reverts commit 630161659ea89bfb106924c8ab1fbcdb8f6f1310.

* Revert "Chris doesn't want bugs"

This reverts commit eda2dee6b52dd38c73f35680c5e4484adc5b5b91.

* Revert "Chris wanted changes"

This reverts commit 30b76c10c4adc63784ea7115eb4f9c636650d6c5.

* Revert "PhaseChange recode"

This reverts commit f8f290dd8c57a3467a87de7e43b58ce635196c62.

* Conflicts

* Stupid conflicts

* I hope and pray

* Revert "Revert "Chris wanted changes""

This reverts commit e612607c8a16a735c92014714c00aa671954b4a5.

* Revert "Revert "Chris doesn't want bugs""

This reverts commit bd656b814d7ffa2d9c84fa304d3adb8f1535f782.

* Revert "Revert "Only you can prevent bugs""

This reverts commit 7772c95737130cf414ff1af49dcfb48865be5374.

* Revert "Revert "Remove unnecessary auto generated comments""

This reverts commit 69315dc7baa6cd237fbd89394e544913596ec6e3.

* Revert "Revert "Loony didn't like the passive""

This reverts commit ea397c6323e50d219395d5912850513afd6f2a7b.

* Revert "Revert "Added RegionProtection checks""

This reverts commit 8cb41709f65e4322e68b2f0e1792987f7fc214f2.

* Revert "Revert "PhaseChange""

This reverts commit da6b0e7071acf74df6447b15daf4ae6e39f057f6.

* Working PhaseChange finally

* Fix EarthGrab

* Air fixes, PhaseChange changes
2016-12-19 20:43:56 -08:00
StrangeOne101 24ca9182c0 Fixed AirShield and NPE (#660)
• Fixed AirShield not blocking FireBlast, EarthBlast and WaterManip
• Fixed an NPE in RPG
2016-12-11 11:43:39 -08:00
Sobki 9f863cc0e9 Added CollisionManager world check - HeatControl solidify stone variation (#658) 2016-12-02 20:57:56 -08:00
StrangeOne101 4c226a6df8 Few fixes (#657)
• Fixes wording on ability descriptions
• Fixes surge ice not reverting
• Fixes HealingWaters bottle bug
2016-12-01 14:25:15 -08:00
RoboMWM 3613ca6577 use a damage event only for setting last damage cause (#649)
Firing this tricks other plugins into believing this entity was damaged.

In addition, Entity#damage also fires a damage event, so no need to fire a duplicate one.
2016-11-29 14:08:19 -08:00
Sobki cbb3581a12 Updated&Fixed HeatControl, added TempBlock delayed reversion (#656)
* Fixed all my derps 💃

* 1 more timeee
2016-11-25 14:02:54 -08:00
StrangeOne101 2d9b4e7079 Bug fixes - Whoop Whoop :D (#654)
• Fixed Bloodbending not working
• Fixed WaterArms spear not working when you set "Sphere" to 0 in the
config
• Fixed the "null" message that occurs when binding an ability from an
element that has been toggled
• Attempted to fix WaterSpout NPE (needs testing)
2016-11-25 01:23:35 -08:00
Alexander Meech f30c6fa991 Add dependency-reduced-pom.xml to gitignore (#653) 2016-11-23 23:27:18 -08:00
jedk1 f894b62a88 Update pom.xml (#652)
* Change AirFlight to use setFlying. Change remove command.

* Tidy up pom.xml

* Update plugin.yml to use pom.xml version

* Remove non needed file

* Remove craftbukkit from pom.xml
2016-11-23 23:27:12 -08:00
Sobki f4e684bb76 Fix Error with /b bind, added Torrent ice revert effect (#647) 2016-11-04 19:03:31 -07:00
Sobki 51e2226f09 Added option for Torrent revert & fixed Bloodbending NPE (#646)
* Added option for Torrent revert & fixed Bloodbending NPE

* Fixed minor boo boo
2016-11-04 14:54:00 -07:00
Nathan Braun e6850e8139 Collision System More Friendly For Addon Developers (#645)
* Implemented new collision detection system

* Update Collision for Addon developers

* Update Collision Comments
2016-11-02 23:09:47 -07:00
Sobki b96d41e554 Bug fixes (#642)
* Bug fixes

* Adjusted CollisionRadius

* Fixed AirSwipe scrolling
2016-11-02 17:46:56 -07:00
StrangeOne101 a3655a6596 Small touchups (#641)
• Added Grass paths to the Earthbendable list
• Added the colors of stained clay to earth armor
2016-10-31 23:28:08 -07:00
Josh f5ead493a0 Fixes an IllegalArgumentException (#640)
* Fixes an IllegalArgumentException

* Correct change and make it fit our format
2016-10-30 23:06:42 -07:00
RoboMWM 37b75ec14d Call the final event (#637) 2016-10-25 23:45:54 -07:00
Nathan Braun 5096d3d399 Implemented new collision detection system (#636) 2016-10-23 23:23:02 -07:00
Josh ca40454356 Fix acrobat/warrior stance disabling and switching (#635)
* Fix acrobat stance removal

We should remove existing stance, not this activation

Also remove the Warrior Stance since Acrobat Stance is being activated

* Fix Warrior Stance removal

We should remove existing stance, not this activation

Also remove the Acrobat Stance since Warrior Stance is being activated
2016-10-23 11:59:12 -07:00
Sobki d34c1ffc20 New HeatControl & fixed NPE (#633)
* New HeatControl & NPE fix

* Updated to latest

* Cleaned up HeatControl

* Updated PKListener to use HeatControlType instead of Function

* Cleaned up, cleaned up HeatControl

* Removed melt(...)

* Final changes
2016-10-22 23:03:05 -07:00
Sobki 5f0dace64e Flight, Chi Stance & Chris' life (#628)
* Fixed sprint with Flight. Fixed Acrobat & Warrior stance issues.

* Fixed Chris' Derp
2016-10-20 00:27:04 -07:00
Alexander Meech 2fdc59c0a5 Update (#627)
* Update the interactable materials array to remove unnecessary materials

* Remove shaded jsoup lib and change the remote staff fetcher to load and parse a txt file instead of an html file
2016-10-18 19:43:00 -07:00
Christopher Martin 0a8bb3203d ProjectKorra 1.8.1 2016-10-18 18:30:44 -07:00
Alexander Meech 13050a81cd Update remote staff fetcher to translate... (#623)
* Update remote staff fetcher to translate...

...color codes, use proper link, and use multiline entry management

* Implement maven shading for external libraries and set up remote staff fetcher to appropriately handle html pages

* Use maven instead of ant with travis
2016-10-18 17:49:54 -07:00
Christopher Martin 9cc5742668 Enhance EarthArmor colors 2016-10-18 17:27:20 -07:00
Christopher Martin a43c965e5b Various Fixes (#626)
* Various Fixes
2016-10-18 16:29:42 -07:00
Echo 030a241a60 LavaFlow on ceilings (#624)
* LavaFlow may now be used on ceilings.
2016-10-18 12:38:32 -07:00
Alexander Meech fa112163df Ensure ParticlePacket is initialized (#621) 2016-10-17 11:13:54 -07:00
Alexander Meech 2e2ec3648d Patch Automatic Updater (#620)
* Make target folder not handled by GitHub

* Implement a PR Template

* Update PR Template

* Patch Updater Link
2016-10-17 11:13:22 -07:00
Alexander Meech f94c861804 Make staff list based on remote webpage (#618)
* Make staff list based on remote webpage

* Update WhoCommand.java
2016-10-16 19:48:23 -07:00
Christopher Martin ce03cf4863 Remove accidental debug messages 2016-10-16 16:42:25 -07:00
Jay Stannon 05ce38c5b7 Changes to Airscooter (#617)
* Changes to EarthGrab (PR Fixed, I hope.)

- Move now has travel time.
- Added particles that travel along the ground, to represent the travel
time.
- Changed the functions of the move to be: Shift + click = grab other -
entity, left click ground = self-grab.
- Edited the default config for the description.
- Edited the default range of the move, changed from 14 to 20.
- Edited the default cooldown time, it is now set to 2 seconds by
default.

* Fixed issues with Earthgrab.

* Add Changes to HealingWaters and Fix for Distance bug (#610)

* Add Changes to HealingWaters and Fix for Distance bug

* Fix conflicts in EarthGrab.java

* Fix conflicts in ConfigManager.java

* Fix conflicts in EarthGrab.java

* Fix for Distance Bug in EarthGrab

* Re-added Sorin's Changes

* Colored EarthArmor + Combo Fix (#608)

• Re-enabled colored EarthArmor, since it works now
• Combos are now created 1 tick later then before. Reason for this is
because if a combo requires the player to be shifting but the last combo
trigger was a shift trigger, the combo would be created BEFORE the
player actually changes shift states.

* Fix Earth Armor and improve Healing Waters (#616)

* Fix EarthArmor and HealingWaters

* Remove commented code.

* Update HealingWaters Description

* Changes to AirScooter

- Particles are now sphered
- Added comments to some areas to explain things
- Tweaked some variables
- Also removed the debug message for "PKListener"
Side note: I wasn't able to find a way to make the player "sit" on the
sphere of air without things getting super buggy. The issues I ran into
while trying to do so: The player's body wouldn't rotate, and the entity
they were riding wouldn't rotate, so their body direction wouldn't match
up with their head. The player was being displayed in a location that
wasn't actually coherent with where they actually where, making the
particles seem off centered. The move would also hesitate to go up and
down blocks sometimes. The player would also appear 4-5 blocks above the
move if they did go up a block a certain way.
2016-10-16 16:41:12 -07:00
Christopher Martin 53b35871ac Fix Earth Armor and improve Healing Waters (#616)
* Fix EarthArmor and HealingWaters

* Remove commented code.

* Update HealingWaters Description
2016-10-15 22:22:41 -07:00