Commit graph

480 commits

Author SHA1 Message Date
nathank33
b03494f47b Changed FireCombo defaults values 2014-09-27 18:39:29 -07:00
nathank33
da99e2771e Added the ComboManager and FireCombo
The ComboManager records all the abilities that have been used within
the past 10 seconds and will check to see if a valid attack combination
has been used. As of right now the ComboManager only has abilities made
for FireCombo.

- Updated the PKListener to update the ComboManager
- Added a new command /b help FireCombo
- Updated the coolade developer name from creepermcaliens to
CherryCoolade
2014-09-27 18:16:47 -07:00
MistPhizzle
31ebacf9ca 1.4.0 BETA 4 2014-09-27 20:19:48 -04:00
nathank33
f9a516a890 Added multiple methods that allow for removing ability instances
AirShield,FireShield: isWithinShield() checks if a location is within
the shield.
AirSpout,WaterSpout: Updated removeSpouts to return true if an instance
was removed.
AirSwipe: Added a method that removes AirSwipes around a location within
a radius.

Added a Method.blockAbilities that takes a player, list of ability
names, location, and a radius. Using the ability names, it tries to
remove any instances of each of the abilities at a specific location
using the radius. If AirShield or FireShield was included as an ability
they will not be removed, instead they will just return true.

Added a Methods.isWithinShields that checks if a location is within
either a FireShield or an AirShield.
2014-09-27 12:04:57 -07:00
nathank33
0c3f357193 Migrated the RotateXZ Method
I moved the RotateXZ method from WaterWave to Methods.java in
preparation of FireCombo.
2014-09-27 11:03:27 -07:00
MistPhizzle
ca8920920f Stop that before it gets ugly 2014-09-27 13:38:44 -04:00
MistPhizzle
15b542fb98 Fix NPE with Disabled Stock Abilities 2014-09-27 13:22:58 -04:00
MistPhizzle
2932bd32e0 1.5.0 BETA 3 2014-09-27 12:43:02 -04:00
MistPhizzle
67dbdabc4a Unload Presets when a player signs out. 2014-09-27 12:41:28 -04:00
MistPhizzle
f25a0668a2 Merge pull request #40 from Alex-The-Coder/master
Fixed IceBlast and Lightning bugs
2014-09-27 12:35:34 -04:00
MistPhizzle
a3361e11f1 1.5.0 BETA 2 2014-09-26 18:29:42 -04:00
MistPhizzle
824ad95fbe Revert "Bad Commit 2, will revert."
This reverts commit 10801eb17501ba4f305f6a78d287d5715fcd7c93.
2014-09-26 18:28:16 -04:00
MistPhizzle
8127c5eefe Bad Commit 2, will revert. 2014-09-26 18:28:15 -04:00
MistPhizzle
e17bcb1c99 Revert "Bad Commit, will revert"
This reverts commit 30dbe6f2f71ba3a598b1fa086548219835e4bd7c.
2014-09-26 18:28:13 -04:00
MistPhizzle
b0dddcb443 Bad Commit, will revert 2014-09-26 18:28:12 -04:00
MistPhizzle
3354d4d6ad Merge pull request #42 from runefist/FallingSand
FallingSand config!
2014-09-26 18:24:20 -04:00
runefist
ab973bdc03 FallingSand config!
Owners can now decide if bending affects fallingsand, there are 2 types
of fallingsand:
TNT and fallingsand, for both there are 2 config options if bending
should affect it, and if it affects it, than what should be the strength
multiplier be? 1.0 is the default strength and 0.1 is 1/10 of the normal
strength.

For developers:
new Methods, Methods.setVelocity(entity, vector)
2014-09-23 12:33:53 +02:00
runefist
4ccbd9b106 StockAbility Checker and small clean up
Check if there is already a stockability enabled or if there is one when
someone makes a new (fan made) ability. this allows you to create
ability with same name as default ones as long as you turn off the
default one. Also cleaned up some small parts, and will clean up the
command class in feature
2014-09-21 23:45:16 +02:00
AlexTheCoder
f24135a202 Fixed IceBlast using ice from other moves
Fixed IceBlast using ice from other moves as a source
2014-09-19 22:06:25 -04:00
AlexTheCoder
e5954562ae Fixed Lightning Spread In Water
Fixed lightning not spreading in water
2014-09-19 22:02:59 -04:00
MistPhizzle
03ee42a6a6 1.5.0 BETA 1 2014-09-19 21:08:22 -04:00
MistPhizzle
dff92382ea Add p has an alias to preset 2014-09-19 21:07:51 -04:00
MistPhizzle
6abe7a8938 1.4.0 2014-09-19 21:06:17 -04:00
MistPhizzle
221fa8803f Merge pull request #36 from nathank33/master
Fixed a WaterSpout issue involving snow blocks.
2014-09-19 21:04:19 -04:00
nathank33
c741cd7da6 WaterWave NPE Fix
If the user set the ChargeTime configuration option to 0 milliseconds
then it was possible for the user to get NullPointerExceptions.
2014-09-14 18:16:39 -07:00
nathank33
85ce6fb00a WaterSpout with SNOW_BLOCK
Fixed an issue in which WaterSpout was not working with snow blocks.
2014-09-13 22:02:55 -07:00
MistPhizzle
39e22a5977 1.4.0 BETA 12 2014-09-10 17:05:56 -04:00
MistPhizzle
b5e7e7642a Change look of /bending version 2014-09-10 17:05:08 -04:00
MistPhizzle
bb80cc0c7a Remove some comments. 2014-09-10 17:01:37 -04:00
MistPhizzle
f06ec10cdb Merge branch 'master' of https://github.com/ProjectKorra/ProjectKorra 2014-09-10 17:01:17 -04:00
nathank33
d68a519fd7 WaterWave now works with Passive, and doesn't create currents
WaterWave previously was not working with WaterPassive, now it does.
WaterWave was also removing the block of water that the user was using
as a source, which was causing currents to form in the water.
2014-09-09 22:10:19 -07:00
nathank33
86ce948fa0 LavaFlow not cleaning while shift held.
Fixed a bug where LavaFlow was not being removed if the user kept the
shift button held down. Now it cleans up regardless of whether they are
still trying to bend a LavaFlow.
2014-09-09 21:12:41 -07:00
MistPhizzle
94e2f4b2de No TagAPI error if the plugin isn't loaded 2014-09-09 23:32:09 -04:00
nathank33
d0a490245b Merge remote-tracking branch 'upstream/master' 2014-09-09 20:18:33 -07:00
MistPhizzle
88bd02e1ee 1.4.0 BETA 11 2014-09-07 23:16:23 -04:00
MistPhizzle
6c257df723 save is now an alias for create in /bending preset 2014-09-07 23:13:31 -04:00
MistPhizzle
03d59d159a Properly bind Presets 2014-09-07 23:13:01 -04:00
MistPhizzle
a709ee6b53 Properly delete Presets.
Wont delete all of them at the same time.
2014-09-07 23:06:50 -04:00
MistPhizzle
51f78a8fe9 Correctly save Presets 2014-09-07 23:04:36 -04:00
MistPhizzle
832981212f Significantly lower IceBlast particles 2014-09-07 22:53:52 -04:00
MistPhizzle
1cb999dfcf Fix Array out of bounds exception on /bending give 2014-09-07 21:18:22 -04:00
MistPhizzle
7ededcf364 /bending give is case insensitive. 2014-09-07 21:02:24 -04:00
nathank33
5e9f4d72d9 AirSwipe Crash Prevention
Added a protective measure to check the amount of entities that are
about to have their velocities changed before moving them all. If there
are too many entities around it will damage them without changing their
velocity, that way we don't lag out and crash due to the firing of too
many EntityCollisionEvents.
2014-09-07 13:01:21 -07:00
MistPhizzle
d5f78d4583 1.4.0 BETA 10 2014-09-07 13:28:44 -04:00
MistPhizzle
ebfbb50346 Fix WaterWave description 2014-09-07 13:25:38 -04:00
MistPhizzle
a485a690c1 Merge branch 'master' of https://github.com/ProjectKorra/ProjectKorra
Conflicts:
	src/com/projectkorra/ProjectKorra/Ability/AbilityModuleManager.java
	src/com/projectkorra/ProjectKorra/Ability/StockAbilities.java
	src/com/projectkorra/ProjectKorra/waterbending/WaterbendingManager.java
2014-09-07 13:09:56 -04:00
MistPhizzle
91f6a0aa2e Merge pull request #33 from nathank33/master
Added WaterWave, Major Efficiency Changes
2014-09-07 13:06:43 -04:00
nathank33
5c41d1230c Added WaterWave
Added the new Ability WaterWave which acts as a mobility move for
waterbenders.
2014-09-07 09:39:36 -07:00
MistPhizzle
4fea1c88a7 Finish IceBlast
calm down waterbenders your new move is here
2014-09-07 10:43:56 -04:00
MistPhizzle
e84510e138 Merge branch 'master' of https://github.com/Anonymous1432/ProjectKorra
Conflicts:
	src/com/projectkorra/ProjectKorra/Ability/StockAbilities.java
2014-09-07 10:28:11 -04:00
MistPhizzle
f8d895e25d Chiblocking now stops passives. 2014-09-07 00:06:28 -04:00
MistPhizzle
306341c350 Presets 2014-09-06 22:44:20 -04:00
nathank33
1434735e8a AirBubble and WaterBubble Efficiency
AirBubble now checks to see if the block is water before doing the
isRegionProtected() call.
2014-09-06 19:07:24 -07:00
nathank33
c615437b2d Improving Earthbending Efficiency
Rewrote the isEarthbendable() and isTransparentToEarthbending() methods
to be more efficient.
2014-09-06 18:55:13 -07:00
AlexTheCoder
8850298c24 Fixed Final Bugs
Fixed the Range bug and used TempBlock instead of setType
2014-09-06 21:36:03 -04:00
nathank33
80696816d4 LavaFlow Cleanup Fix
LavaFlow blocks were flooding which was causing obsidian and stone to
arise when it shouldn't. I made LavaFlow blocks TempBlocks and changed
the isLavaBendable() method so that LavaSurge will still work with
LavaFlow.
2014-09-06 09:48:41 -07:00
MistPhizzle
7a709e7d19 Add explosion to the end of Combustion 2014-09-06 11:41:27 -04:00
nathank33
2ad44f6a78 WaterSpout Creation Problem
Fixed a problem where WaterSpout wasn't starting if the player was
submerged underwater.
2014-09-06 00:47:11 -07:00
AlexTheCoder
b32cf46ecc Fixed Particle Lag
Fixed lag
2014-09-05 19:33:29 -04:00
AlexTheCoder
5709b46ec0 Fixed something I forgot
I forgot to sync the config.yml file.
2014-09-05 19:20:10 -04:00
AlexTheCoder
6a6c0af30e Finalized IceBlast
Finalized IceBlast and added Spray
2014-09-05 19:18:15 -04:00
MistPhizzle
3ba8a6d273 Disable Bending per world w/ Config 2014-09-05 18:35:52 -04:00
MistPhizzle
d7f2dc7419 1.4.0 BETA 9 2014-09-05 15:23:04 -07:00
MistPhizzle
3010c87b92 LavaFlow Changes
Give lavaflow a better description, add it to ConfigManager
2014-09-05 15:23:03 -07:00
MistPhizzle
1e2eee1035 1.4.0 BETA 9 2014-09-05 18:09:21 -04:00
MistPhizzle
743bc720b1 LavaFlow Changes
Give lavaflow a better description, add it to ConfigManager
2014-09-05 18:03:31 -04:00
nathank33
cc092a9ae8 WaterSpout No Fall Damage NPE Fix 2014-09-04 18:02:45 -07:00
nathank33
5f3ca7883e Flight Glitch
Attempt to always revert the players permissions when they get out of
flying.
2014-09-04 14:47:39 -07:00
nathank33
566b2055f8 WaterSpout No Fall Damage Improved
Added getTopBlock method
Using getTopBlock we can allow the user to still create a WaterSpout
from high heights, while denying them the ability to avoid fall damage.
2014-09-04 14:46:41 -07:00
nathank33
44c31d1651 WaterSpout No Fall Damage
A player used to be able to avoid fall damage by spamming left click
while falling.
2014-09-04 14:19:03 -07:00
nathank33
f391bba83d IceSpike cleanup fix 2014-09-04 14:05:04 -07:00
nathank33
8f6d92d9e2 Fixed EarthBlast Cleanup
EarthBlast's were not being removed correctly if the player spammed left
click and shift.
2014-09-04 13:55:32 -07:00
nathank33
6b54835d3c WaterManip, EarthBlast, FireBlast accessor methods
Added accessor methods for 3 abilities.
2014-09-04 00:14:00 -07:00
nathank33
5810b0b504 Improved HeatControl Efficiency
HeatControl now checks the type of the block before it calls
isRegionProtectedFromBuild. Due to the large amount of blocks being
processed, having this extra step saves us from having to call
factions/griefprotection/etc for every block.
2014-09-03 20:21:17 -07:00
nathank33
7d4eb874b2 Added LavaFlow
Added the Earth ability: LavaFlow
Removed the second Torrent line from config.yml
2014-09-03 18:12:34 -07:00
AlexTheCoder
7aeca555ed Added IceBlast and new Icebending Methods
Lotta stuff
2014-09-03 19:03:49 -04:00
MistPhizzle
43d94545e0 1.4.0 BETA 8 2014-09-02 06:28:41 -04:00
MistPhizzle
793c178c1a Possible Cooldown Fix 2014-09-02 06:27:42 -04:00
MistPhizzle
56b47f3816 NoCheatPlus Support
The damage thing shouldn't be thrown when a player uses Bending to
attack
2014-09-01 16:49:10 -04:00
MistPhizzle
a27de1f7be AirSwipe will stop when it hits another blast 2014-09-01 16:29:48 -04:00
MistPhizzle
65f1b12fc0 Add /bending invincible
Makes you invincible to Bending damage.
2014-09-01 16:04:42 -04:00
MistPhizzle
f5b01d624c Add /bending give
Allows giving of bending specific items. (Like the grappling hook)
2014-09-01 15:47:46 -04:00
MistPhizzle
d7891fe39e /bending who can work on offline players 2014-09-01 15:33:30 -04:00
MistPhizzle
46b3fe8dd7 Cleaned up Imports 2014-08-31 21:51:13 -04:00
MistPhizzle
654aa9477e 1.4.0 BETA 7 2014-08-31 11:09:46 -04:00
MistPhizzle
6e5e6415ed Complete revamp of how cooldowns are handled
Now stores on a per player basis instead of a per ability basis. The
bendingPlayer class will store cooldowns for ALL abilities except for
the AvatarState.
2014-08-30 18:34:27 -04:00
MistPhizzle
8d04bb1a4b Merge pull request #26 from jacklin213/main
Cleaned up Managers, Updated references
2014-08-30 10:55:21 -04:00
jack lin
93f2eec909 [BUGFIX] Fixed NumberFormatExeception in Commands
* Caused by people misusing /b c thinking it is /b ch therefore
generation a NumberFormatExeception when they try pass an element as a
slot
2014-08-31 00:38:57 +12:00
jack lin
fc8372783e [BUGFIX] Fixed Task #23 - Combustion
* Error:
http://www.projectkorra.com/threads/errorstacks-cause-pastebin-deletes.361/#post-3090
2014-08-30 21:52:54 +12:00
jack lin
6b03c92cfb [BUGFIX] Fixed NPE in IceSpike
* Error:
http://www.projectkorra.com/threads/errorstacks-cause-pastebin-deletes.361/#post-3089
2014-08-30 21:48:27 +12:00
jack lin
8532bb1ece Cleaned up Managers, Updated references
* Cleaned up AirbendingManager, updated references for abilities air
* Cleaned up FirebendingManager, updated references for abilities fire
* Cleaned up WaterbendingManager, updated references for abilities water
* Cleaned up EarthbendingManager, updated references for abilities earth
* Cleaned up ChibendingManager, updated references for abilities chi
* Cleaned up BendingManager, updated references for classes
2014-08-30 21:43:44 +12:00
jack lin
c833a1ad52 [BUGFIX] Fixed error in Task #40 - Bloodbending
* Fixed error in bloodbending where targetentity somehow is in a
different world (probably by command) and that ends up causing errors
2014-08-30 19:53:07 +12:00
jack lin
0003223c8f [BUGFIX] Fixed NPE in TempPotionEffect
* Error: http://pastebin.com/nCYEudHr
2014-08-30 19:37:31 +12:00
MistPhizzle
412d5bd32a 1.4.0 BETA 6 2014-08-29 20:49:43 -04:00
jack lin
704e663a18 [BUGFIX] Fix Surge and Octoform making lava 2014-08-29 21:27:42 +12:00
jack lin
6bb9b848dd [BUGFIX] ClassCastException fix in RapidPunch 2014-08-29 18:56:08 +12:00
jack lin
391d6f8948 Fixed Extraction Bug
* Fixed bug where extraction wouldn't give you your default ore that you used extraction on
2014-08-28 17:57:35 +12:00
MistPhizzle
11f3f86176 1.4.0 BETA 5 hotfix 2014-08-27 21:29:49 -04:00
MistPhizzle
3b4250690f 1.4.0 BETA 5 2014-08-27 20:55:22 -04:00
MistPhizzle
2a9d3640c7 Fix Suffocate Conflicts
Conflicts:
	src/com/projectkorra/ProjectKorra/airbending/Suffocate.java
2014-08-27 20:54:26 -04:00