Commit graph

1482 commits

Author SHA1 Message Date
Jack Lin
43491a9c22 Add fail-safe for version CaSe to Updater 2015-08-31 12:33:12 +12:00
OmniCypher
d23874f1e6 Merge pull request #229 from jacklin213/bugfix
General Cleanup, Fix Update command
2015-08-30 16:42:55 -07:00
OmniCypher
b4a60038e9 Merge pull request #228 from kingbirdy/wip/debugger
Add support for eclipse run configurations
2015-08-30 16:42:46 -07:00
Jack Lin
e63494f691 Fix Check command displaying wrong latest version 2015-08-31 11:24:33 +12:00
Jack Lin
70f4e34c52 Rename PKCommandInterface to SubCommand 2015-08-31 11:21:31 +12:00
Jack Lin
e7c6ed70f6 General cleanup from BETA 3 2015-08-31 11:20:24 +12:00
kingbirdy
fe5f87df32 Add support for eclipse run configurations 2015-08-28 21:44:41 -04:00
OmniCypher
73cf713b9d 1.8.0 BETA 3 2015-08-28 18:09:43 -07:00
OmniCypher
e87913a165 Merge pull request #226 from kingbirdy/fix/who
Fix staff titles not displaying with /b who
2015-08-28 17:34:44 -07:00
kingbirdy
3fbaa7768a Fix staff titles not displaying with /b who
- Add grasshopperMatt to staff list
2015-08-28 17:31:13 -04:00
kingbirdy
50c4a65281 Change Preset queries to use PreparedStatements
- Fix bug in /b add not saving elements

- Fix bug in /b who causing error looking up nonbenders

- Change table creation to use proper lengths and primary keys
2015-08-28 16:03:16 -04:00
OmniCypher
36f1ddd285 Merge pull request #224 from kingbirdy/fix/presets
Fix Presets not saving
2015-08-27 15:28:27 -07:00
kingbirdy
07e61a19b8 Rewrite commands to use command executor objects
- New executor class for each command, extends new abstract PKCommand

- Rewrote Commands to use the new objects

- Update references to old Commands class
2015-08-27 02:01:16 -04:00
kingbirdy
48df96a251 Fix Presets not saving 2015-08-27 01:28:06 -04:00
MistPhizzle
75f1d0f437 Merge pull request #220 from kingbirdy/fix/npe
Fix NPE caused by null BendingPlayer
2015-08-23 18:24:03 -05:00
MistPhizzle
e937d697b8 Merge pull request #219 from Simplicitee/patch-1
Fix ability paralyzing
2015-08-23 18:23:58 -05:00
MistPhizzle
93e18ea975 Merge pull request #218 from kingbirdy/master
Fix NPE in GeneralMethods
2015-08-23 18:23:41 -05:00
MistPhizzle
c8a5451235 Merge pull request #217 from jacklin213/bugfix
[BUGFIX] 1.8.0 BETA 2
2015-08-23 18:23:36 -05:00
MistPhizzle
5fba28b840 Merge pull request #216 from nathank33/master
Fix ComboManager Lag Issue
2015-08-23 18:23:29 -05:00
kingbirdy
078c4c0f94 Fix NPE caused by null BendingPlayer 2015-08-23 16:28:32 -04:00
Jack Lin
c3c86f5734 Remove config option for TagAPI 2015-08-23 10:52:42 +12:00
Jack Lin
541579d787 Fix NPE for LunarEclipseMessage 2015-08-23 10:52:22 +12:00
Simplicitee
44ad44021d Fix ability paralyzing
- Fixes fireblast and other abilities paralyzing the hit player on contact.
2015-08-22 18:24:41 -04:00
kingbirdy
ba76586243 Fix NPE in GeneralMethods 2015-08-22 17:25:02 -04:00
Jack Lin
c47ee36097 Fix Updater not recognizing core build, imports 2015-08-22 14:19:30 +12:00
Nathan Braun
8e8e4a2555 Fix ComboManager Lag Issue 2015-08-21 13:40:26 -07:00
jedk1
374632a772 Redo on fixing AirSweep going through blocks 2015-08-21 15:36:28 +01:00
jedk1
5b7edaeb00 Disabled bending in spectator mode. 2015-08-21 15:18:04 +01:00
MistPhizzle
eeae6d217b 1.8.0 BETA 2 2015-08-21 10:09:26 -04:00
MistPhizzle
f12062f5b8 Merge pull request #214 from kingbirdy/fix/bending-display
Move ChiComboManager to ChiCombo, integrate with ComboManager
2015-08-21 09:42:45 -04:00
kingbirdy
df944ae3ce Move ChiComboManager to ChiCombo, integrate with ComboManager
- Fix display color of /bending help chicombo

- Fix chi combos not appearing in /bending help chicombo

- Change n^2 search in GeneralMethods to n search in ComboManager

- Add javadocs to ComboManager
2015-08-21 02:41:56 -04:00
MistPhizzle
e2a1d5132f DisplayName fix
Shouldn't conflict with other nickname plugins now
2015-08-20 23:24:55 -04:00
MistPhizzle
9102fd7fc2 Merge pull request #213 from nathank33/master
Efficiency Improvements, EarthSmash Fix, Fire Revert Fix
2015-08-20 19:35:31 -04:00
Nathan Braun
2e5312fb1f Improve ComboManager Efficiency 2015-08-20 16:22:02 -07:00
MistPhizzle
96eb4e0e8e Merge pull request #212 from kingbirdy/fix/watermanip
Fix WaterManipulation stalling on slot change
2015-08-20 18:47:06 -04:00
MistPhizzle
48d97fce6f Merge pull request #211 from kingbirdy/wip/javadocs
Add or update javadocs for several classes
2015-08-20 18:46:44 -04:00
Nathan Braun
7680a468d3 Fix EarthSmash not working in AvatarState 2015-08-20 14:30:14 -07:00
Nathan Braun
636add6e4b Format EarthSmash File 2015-08-20 14:25:46 -07:00
Nathan Braun
6bf6dd4868 Remove FireBlast Fire Correctly 2015-08-20 14:22:52 -07:00
Nathan Braun
fbbbe3346a Cleanup CoreAbility File 2015-08-20 14:22:28 -07:00
Nathan Braun
d14d9aec50 Improve getInstances efficiency 2015-08-20 14:22:06 -07:00
kingbirdy
51039ab49c Fix WaterManipulation stalling on slot change
When switching to a slot with no ability equipped while a WaterManip was active, the water would stop moving in mid air.
2015-08-20 17:16:56 -04:00
kingbirdy
0068a08b4f Add or update javadocs for several classes 2015-08-20 16:10:01 -04:00
kingbirdy
06049a2096 Fix abilities cancelling on block placement 2015-08-20 14:33:55 -04:00
MistPhizzle
486df1b504 Permissions fix
bending.ability.bloodbending.anytime should be
bending.water.bloodbending.anytime
2015-08-20 00:41:32 -04:00
MistPhizzle
b6131bf79d Merge pull request #209 from kingbirdy/fix/build-cancels-bending
Fix right clicking on block cancelling bending
2015-08-20 00:40:00 -04:00
MistPhizzle
aa0a5135b3 Permissions Fix (bending.ability.bloodbending.anytime)
bending.ability.bloodbending.anytime is now in bending.admin
2015-08-20 00:39:26 -04:00
kingbirdy
6dff656006 Fix right clicking on block cancelling bending 2015-08-19 12:30:46 -04:00
MistPhizzle
5a3792377f 1.8.0 BETA 1 2015-08-19 11:57:24 -04:00
MistPhizzle
ed64fe87e7 Add /bending help Avatar 2015-08-19 11:51:59 -04:00
MistPhizzle
989a1dfbdc Fix Small DBConnection issue 2015-08-19 11:46:44 -04:00
MistPhizzle
c8a6b258f7 Merge pull request #208 from kingbirdy/fix/updater
Fix errors when starting server offline
2015-08-19 11:40:15 -04:00
kingbirdy
7cacdf82c2 Fix errors when starting server offline
- Updater would throw NPE and UnknownHostException when it could not connect to projectkorra.com

- Also cleaned up output of DB connections
2015-08-19 00:36:06 -04:00
kingbirdy
1bcd5e02b9 Fix airspout cancelling on right click 2015-08-18 23:36:09 -04:00
MistPhizzle
18ab899f27 Merge pull request #206 from StrangeOne101/master
Adds config options for Bloodbending and AirBlast
2015-08-18 23:13:39 -04:00
MistPhizzle
84cc7f33ef Merge pull request #205 from kingbirdy/fix/bending-display
Fix subelements not being sorted
2015-08-18 23:04:56 -04:00
kingbirdy
ce3507404b Fix subelements not being sorted 2015-08-18 23:02:06 -04:00
kingbirdy
8f2c188932 Remove grappling hooks 2015-08-18 22:59:24 -04:00
kingbirdy
c632d9555d Add new help messages and catch for nonexistent command
- catch for nonexistent commands and help topics, refers the command sender to /bending help

- add help messages for check, debug, and presets

- correct some ifs to else ifs
2015-08-18 22:53:11 -04:00
StrangeOne101
7805fe9e0c Adds config option for BloodBending
Adds a config option that allows bloodbenders to bloodbend other
bloodbenders. Defaults to off.
2015-08-18 22:59:11 +12:00
StrangeOne101
0c6e04080b Adds AirBlast config options and bug fix
Adds config options to stop AirBlast flicking levers, opening doors,
pushing buttons and cooling lava.

Also fixed a bug where benders could flick/open things in regions they
don't have permission for (factions, etc)
2015-08-18 22:57:45 +12:00
StrangeOne101
ebb0165068 Revamp Elements and SubElements
Elements and SubElements are now somewhat integrated so you can relate between the two of them. For example, you can now get the main element directly from a subelement without needing to test for what the subelement is individually.

Should make things much easier when comparing the two.
2015-08-18 17:39:20 +12:00
StrangeOne101
5f66331fad Change combo display method, Add getAbilitySubElement()
• Combos now displayed in /bending display
Fire/Water/Air/Earth/ChiCombos
• Combo usage is now displayed in /bending help ComboName
• Using /bending help <Element>Combo shows correct usage, just so people
get used to the new method (still much easier).
• GeneralMethods has 3 new methods
• GeneralMethods.getComboColor(...) - Returns ChatColor
• GeneralMethods.getComboElement(...) - Returns Element
• GeneralMethods.getAbilitySubElement(...) - Returns the sub element of
the ability specified if it has one
2015-08-18 17:39:11 +12:00
MistPhizzle
a1288b40e3 Merge pull request #201 from StrangeOne101/master
FireBlast changes + Bug fix
2015-08-16 11:52:37 -04:00
MistPhizzle
bd0b877c5a Merge pull request #200 from kingbirdy/bending-debug
change /b debug output for readability
2015-08-16 11:52:28 -04:00
StrangeOne101
bb34664965 FireBlast changes + Bug fix
• Changed config option "Power" to "ExplosionRadius" for charged
fireblasts.
• Added new config option "DamageBlocks" for charged fireblasts
• Charged fireblasts can now set fire to more than one mob
• Fixed setting explosion radius to 0 still destroys blocks
2015-08-16 00:51:56 +12:00
kingbirdy
2880a5d143 change /b debug output for readability
Instead of outputting abilities in the order they're loaded, the
command now outputs them alphabetically, first stock and then unofficial.
This is to improve the readability of the command's output.
2015-08-10 22:24:48 -04:00
jedk1
835a5d4948 Fix AirSweep going through walls. 2015-08-10 20:00:27 +01:00
MistPhizzle
b81eec4ecc 1.7.0
Also includes updated staff list.
2015-08-05 18:23:27 -04:00
MistPhizzle
917b94ac42 Merge pull request #196 from StrangeOne101/master
Fixed Firebending Night Message
2015-08-05 18:11:09 -04:00
Simplicitee
3cf4ab7545 Fix NPE in AvatarState
- Fixed NPE in avatarstate thrown when the user disconnects in avatarstate
2015-08-05 16:07:20 -04:00
StrangeOne101
22ea742071 Fix Firebending Night Message 2015-08-05 16:53:12 +12:00
MistPhizzle
b1c50d1d29 1.7.0 BETA 16 2015-08-04 20:13:32 -04:00
MistPhizzle
4b9be337c1 Merge pull request #195 from jacklin213/bugfix
[URGENT] Add negation to isSolid() in GeneralMethods
2015-08-04 20:10:31 -04:00
Jack Lin
46255b6a3e Add negation to isSolid() in GeneralMethods 2015-08-05 10:55:05 +12:00
Simplicitee
9d854587a5 Fixed RaiseEarth + AvatarState click height
- Added check for avatarstate so height can be modified accordingly. New version is as tall as sneak version with avatarstate.
2015-08-04 15:36:27 -04:00
MistPhizzle
c0302bdd5b 1.7.0 BETA 15 2015-08-04 12:58:36 -04:00
jedk1
d9987e6091 Fixed EarthBlast not doing damage 2015-08-04 16:48:54 +01:00
jedk1
0e62b2ea7e Fixed missing bracket. 2015-08-04 16:04:21 +01:00
jedk1
b2c58dbaa7 Fixed FlightAbility giving fly mode. 2015-08-04 16:04:07 +01:00
MistPhizzle
8b96326e4c Merge pull request #192 from StrangeOne101/master
Fixed Bloodbending not working in AvatarState
2015-08-04 10:23:35 -04:00
StrangeOne101
56a76f0848 Fixed Bloodbending
AvatarState now works as intended for bloodbending. Also adjusted the
range (for AvatarState) so mobs from the other side of the map aren't
affected
2015-08-04 21:54:15 +12:00
StrangeOne101
ce748a4ee8 Fixed Bloodbending (Still needs tweaking)
Fixed Bloodbending not working in avatarstate. Range still needs to be
fixed.
2015-08-04 17:52:37 +12:00
Simplicitee
3d6162edc7 Fix to accumulative paralyze fall damage
- Added fix to accumulative paralyze fall damage, does not effect fall distance after player is paralyzed.
2015-08-04 01:30:32 -04:00
MistPhizzle
cfc84e3dad Merge pull request #171 from jacklin213/bugfix
[BUGFIX] Add ComboManager to reloadPlugin(), Fix speed in AirScooter, GeneralMethods cleanup
2015-08-04 01:13:24 -04:00
MistPhizzle
3371b5e17b Merge pull request #189 from kingbirdy/fix/dynamic-sourcing
Fix EarthBlast using blocks outside range
2015-08-04 01:04:08 -04:00
MistPhizzle
c6daaa567e Merge pull request #188 from OmniCypher-/master
Added getElementSubColor()
2015-08-04 01:03:54 -04:00
MistPhizzle
f753f3d99a Merge pull request #187 from Simplicitee/patch-1
Bug fix in chiblocking
2015-08-04 01:03:38 -04:00
MistPhizzle
5aa662b37b Merge pull request #186 from jedk1/master
Fixed most of the Fly glitch.
2015-08-04 01:03:30 -04:00
kingbirdy
cde1efc78b Fix EarthBlast using blocks outside range
Dynamic sourcing allowed earthblast to use blocks outside the prepare
range as a source
2015-08-04 01:01:35 -04:00
OmniCypher
0250e903a5 Added getElementSubColor()
Added getElementSubColor() method to each element file (not including
chi) to easily return said elements sub element color,
getMetalbendingColor() has been marked as depreciated and will be
removed soon as it is no longer needed.

Added new staff members to /b who, kingbirdy still requires an account
and AlexTheCoder is still included.
2015-08-03 21:39:56 -07:00
Simplicitee
3ee2663690 Update PKListener.java
- Added check for if player has a chi ability bound before chiblocking (as suggested by Loony), fixes abilities like WaterManipulation and others causing the hit player to be chiblocked.
2015-08-03 22:17:16 -04:00
kingbirdy
95eaaf1457 Fix LavaFlow affecting plants
removed unnecessary check for plantbending
2015-08-03 21:41:28 -04:00
Jack Lin
4d606c8fee Update Fire and Air with getAbility() 2015-08-04 13:11:08 +12:00
Jack Lin
12958737fa Add getAbility() to CoreAbility to prevent overlooping 2015-08-04 13:10:43 +12:00
jedk1
17bed64b98 Fixed most of the Fly glitch. 2015-08-04 01:46:31 +01:00
Jack Lin
caba028d0d GeneralMethods cleanup 2015-08-04 12:44:24 +12:00
Jack Lin
3544358d70 Add ComboManager to reloadPlugin() 2015-08-04 12:12:28 +12:00
Jack Lin
8cf76a46c1 Fix speed in AirScooter 2015-08-04 12:11:43 +12:00
MistPhizzle
0599d39da9 Re-Add AirScooter.setSpeed()
Used in PK Items
2015-08-03 19:25:52 -04:00
MistPhizzle
2e43a27183 1.7.0 BETA 14 2015-08-03 12:51:04 -04:00
MistPhizzle
63a2e163ac Merge pull request #184 from StrangeOne101/master
Bug Fixes
2015-08-03 12:46:36 -04:00
StrangeOne101
99f5c7d893 Fixed Fire Griefing Panes, Torches, etc
Fixed fire permanently removing blocks like glass panes and torches
2015-08-03 17:05:02 +12:00
Jack Lin
1a7cbd5c6c Update javadocs to fix warnings 2015-08-03 16:48:54 +12:00
StrangeOne101
6404fc8912 Fixed Benders Bending SubElements without Permission
Fixed issue where benders could bend abilities from other sub-elements
they didn't have permission for.
2015-08-03 15:01:17 +12:00
OmniCypher
10ca339e9f 1.7.0 Beta 13 2015-08-02 16:21:03 -07:00
OmniCypher
2d8ef3256c Merge pull request #181 from jacklin213/patch-1
[BUGFIX] Update containsPlayer() in CoreAbility, Fix NPE
2015-08-02 15:23:13 -07:00
Jack Lin
95ad075c14 Fix NPE in AirShield, FireJet, Illumation due to CoreAbility 2015-08-03 10:21:03 +12:00
OmniCypher
52d83f35de Chris' Fix PR
Config fix
Air/Fire laggyness fix #1
Combo fix
/b who restructure
2015-08-02 15:17:41 -07:00
Jack Lin
f48dab99e5 Update containsPlayer() in CoreAbility 2015-08-03 09:44:48 +12:00
Jack Lin
2b98266c0a Rename all packages to lowercase
Rename all packages to lowercase
2015-08-02 22:05:46 +12:00
Jack Lin
37d99b03ba Format every class, Sort imports, Move classes to correct package 2015-08-02 18:24:19 +12:00
Jack Lin
439a3edac9 Rename StockAbilities to StockAbility, Document CoreAbiltiy 2015-08-02 12:18:57 +12:00
Jack Lin
f08a42b43a Attempt to fix new system 2015-08-01 09:24:31 +12:00
Jack Lin
608b3ccc36 New system 2015-07-31 12:19:09 +12:00
Jack Lin
0d40135427 Update Air Abilities to reflect changes 2015-07-16 21:39:11 +12:00
Jack Lin
268319b862 Add InstanceType to Ability, Update BaseAbility
* MULTIPLE = A move that has several instances under one player
* SINGLE = A move that can only have one instance under one player
* By default all moves are SINGLE
* To make a move MULTIPLE have the ability override the
getInstanceType() and make it return InstanceType.MULITPLE
2015-07-16 21:38:47 +12:00
Jack Lin
84f9448745 Update everything with new Config changes 2015-07-16 20:17:20 +12:00
Jack Lin
bf8c4fa3a8 Add 2 different getBendingPlayer() to GeneralMethods 2015-07-16 20:16:30 +12:00
Jack Lin
ca84318f5a Update Config, ConfigLoadable, ConfigManager 2015-07-16 19:20:19 +12:00
Jack Lin
2bd1d312b8 Update BendingPlayer and related references
* Update modifiers to BendingPlayer variables
* Add getters and setters for variables
* Update references to these variables
* Fully documented the class
2015-07-15 20:10:51 +12:00
Jack Lin
8c4f76bbe9 Update all Air Abilities to reflect changes 2015-07-15 17:43:20 +12:00
Jack Lin
50cbaade71 Update BaseAbility
* Add 3 new fields:
* UniqueId
* Player
* StockAbility
* Add Final modifier to putInstance(), removeInstance()
getInstance(StockAbilities)
* Add private modifier to removeInstance()
* Implement remove() calling removeInstance()
* Created Convenience method getInstance() to be called from abilities
themselves
* Add abstract method getStockAbility()
* Add getters for Player. UniqueId
2015-07-15 17:42:34 +12:00
Jack Lin
3a7242e2d2 Update Suffocates reloadVariables() 2015-07-15 14:48:46 +12:00
Jack Lin
d91cafec9c Fix AirCombo variable names 2015-07-15 14:39:29 +12:00
Jack Lin
8c8b9149b6 Make BendingManager implement ConfigLoadable
* BendingManager now implements ConfigLoadable
* Unused plugin reference is removed
* Add BendingManager instance variable and getter
* Change config messages to not be final and made them reloadable with
reloadVariables() from ConfigLoadable
2015-07-15 14:28:53 +12:00
Jack Lin
187bf0ec98 Convert Suffocate to new system 2015-07-15 14:25:50 +12:00
Jack Lin
1d907fe134 Update Air Abilities to reflect change 2015-07-15 14:25:32 +12:00
Jack Lin
293c830cbd Change progress() to return boolean 2015-07-15 14:24:16 +12:00
Jack Lin
63f654907f Make changes to Air Abilities 2015-07-14 15:37:08 +12:00
Jack Lin
425bc5a106 Rename Ability to BaseAbility, Create interface Ability 2015-07-14 15:36:25 +12:00
Jack Lin
a3e7ece301 Update AirAbilities to support new change 2015-07-14 14:26:12 +12:00
Jack Lin
5b08890366 Add Ability, ConfigLoadable 2015-07-14 14:25:02 +12:00
Jack Lin
70ce9b8abb Format StockAbilities, Update getAbility() 2015-07-14 12:04:17 +12:00
Jack Lin
f02bf0489b Remove unneeded static variables in AirCombo 2015-07-13 21:15:06 +12:00
Jack Lin
239005a1c3 Format AbilityModule 2015-07-13 17:07:12 +12:00
OmniCypher
7f0e363400 Beta 12 2015-07-11 18:35:57 -07:00
OmniCypher
a323f67f16 Merge pull request #168 from Loonytoon1997/master
Balance Patch // Event Messages Configurable // Day & Night Messages
2015-07-11 11:01:58 -07:00
Jack Lin
6bb2ca4844 Update reloadPlugin() in GeneralMethods 2015-07-12 01:25:06 +12:00
Jack Lin
3805b2342b Move stopPlugin() to GeneralMethods 2015-07-12 01:23:56 +12:00
Jack Lin
7a1537a12e Fix config error due to e324bb 2015-07-12 00:23:11 +12:00
Jack Lin
086128f8fa Fix spacing in Updater 2015-07-12 00:16:50 +12:00
Jack Lin
4e4c4eff98 Fix problem where all configs were empty
* Configs were generated correctly but were overridden by empty ones
2015-07-11 23:48:46 +12:00
BuildTools
e3245bb849 Balance Patch // Event Messages Configurable // Day & Night Messages Configurable
- Changed defaults to be balanced.
- Added configurable event messages.
- Added configurable day & night messages.
2015-07-11 11:56:51 +01:00
OmniCypher
b8e15efa0a Fixed up Configs & Fixed Combo bugs 2015-07-11 02:07:50 -07:00
OmniCypher
6629c122d4 Bottlebending & Sandstone
Fixes various bugs with bottlebending
Colored Sandstone/Sand are compatible with earthbending
Fixed Cooldown in Earthsmash
Fixed Desc in PhaseChange
Fixed Dark Green in /b who
2015-07-09 11:05:48 -07:00
OmniCypher
3d769371c6 Merge pull request #162 from jacklin213/bugfix
Fix ErrorLogger, WaterWave, AirCombo
2015-07-08 15:42:08 -07:00
AlexTheCoder
a99fbe8bc0 The Armor Update
PlantArmor/Related:
- Add PlantArmor move
- Add playPlantbendingSound(Location loc) in WaterMethods
- Add isPlantbendable(Block block) in WaterMethods
- Add getPlantSourceBlock() in WaterMethods
EarthArmor:
- Fix incorrect cooldown configuration
- Properly add cooldown
- Fix EarthArmor + FastSwim bug
2015-07-08 08:16:06 -04:00
Jack Lin
b16a7cbb5e Fix distance location bug in AirCombo 2015-07-02 22:42:12 +12:00
Jack Lin
4e604128db Fix NPE in WaterWave 2015-07-02 22:40:22 +12:00
Jack Lin
8e6892149d Fix errorlog folder, LogFilter 2015-07-02 22:34:51 +12:00
OmniCypher
8bfd35914e 1.7.0 Beta 11 2015-06-29 18:27:53 -07:00
OmniCypher
20e64b9cbc Merge pull request #158 from jedk1/master
AirBlast functionality.
2015-06-29 18:08:49 -07:00
OmniCypher
3aca322c21 Merge pull request #150 from jacklin213/bugfix
[BUGFIX] NPE's in Flight, WaterMethods, Distance bug in FireCombo. Update Error log v2.1.0
2015-06-29 17:59:21 -07:00
OmniCypher
80c6b63206 Bug Fixes
Fixed AS NPE
Fixed WaterWave & Immobilize cooldowns
Fixed Fire Tick Config option
2015-06-29 17:51:56 -07:00
jedk1
3fdc9246e2 Updated lever and button code. 2015-06-29 20:03:56 +01:00
jedk1
168a47b503 Added back functionallity for levers and buttons, also added more wood
types.
2015-06-29 18:52:27 +01:00
Jack Lin
42c750862f Fix NPE in OctopusForm 2015-06-30 01:39:04 +12:00
Jack Lin
89ee1470e8 Attempt to fix distance error in BlockSource 2015-06-30 01:33:33 +12:00
Jack Lin
fc1f14a03f Fix NPE in IceBlast 2015-06-30 01:15:07 +12:00
Jack Lin
70fbdb2179 Update Error Logger to v2.1.0
* Remove ErrorLogFilter
* Changed Filter in PKLogHandler to LogFilter
* Removed parent logger filter
* Add a Logs folder
* Limit log size to 500kb, maximum files: 20
* Update LogFilter with proper code
* Now does not log duplicate stack traces
2015-06-30 01:03:47 +12:00
Jack Lin
57942c6f89 Fix NPE in WaterMethods 2015-06-30 01:03:41 +12:00
Jack Lin
58d963fe64 Fix NPE in ErrorLogFilter, Update Error Logger to v2.0.2 2015-06-30 01:03:34 +12:00
Jack Lin
f9f8d851e3 Override equals(). Fix NPE in Flight 2015-06-30 01:03:28 +12:00
Jack Lin
e452e70906 Fix distance bug FireCombo 2015-06-30 01:03:22 +12:00
OmniCypher
f366764cdb Merge pull request #156 from OmniCypher-/master
Bug Fixes: Healing waters, /b d combustion, AS bloodbending
2015-06-28 15:25:37 -07:00
OmniCypher
ee3a6fdf08 May have fixed AS Blood Bending bug 2015-06-28 15:22:16 -07:00
OmniCypher
bf59be3d78 Fixed Healing waters & /b d Combustion issue 2015-06-28 15:16:06 -07:00
FinnBueno
3383b6d41c Cooldowns
Cooldown on waterspout wave and on the chi combo immobilize.
WaterSpout 2 seconds. (default)
Immobilize 20 seconds. (default)
2015-06-28 23:18:32 +02:00
jedk1
22741d55ed Reapplied previous commit. 2015-06-27 15:00:34 +01:00
jedk1
b368b8244e Revert "Extended the particle display range."
This reverts commit 2e7ba02956.

undid commit.
2015-06-27 14:49:09 +01:00
jedk1
2e7ba02956 Extended the particle display range. 2015-06-27 12:01:13 +01:00
jedk1
8a191fe313 Added getPresetContents(Player player, String name) method, which
returns the contents of a preset. Useful for side plugins.
2015-06-26 16:53:17 +01:00
OmniCypher
c149b8d232 Merge pull request #149 from OmniCypher-/master
Added new peeps to /b who
2015-06-20 15:00:24 -07:00
jedk1
bf1d2beea5 Removed debug messages. 2015-06-20 16:10:20 +01:00
jedk1
c1cdbdf876 Fixed death messages bugging out properly. Hopefully fixed an error with
error log filter that was crashing server.
2015-06-20 16:05:44 +01:00
OmniCypher
b4f20fa0f1 Added new peeps to /b who 2015-06-20 00:16:38 -07:00
jedk1
38fb49d651 Merge remote-tracking branch 'upstream/master' 2015-06-19 15:59:38 +01:00
jedk1
9e374e7aa2 WaterArms Punch message. 2015-06-19 15:45:33 +01:00
OmniCypher
c5e5267c93 Merge pull request #148 from jacklin213/bugfix
Fix NPE in Flight revert() from 2e33659
2015-06-18 17:30:26 -07:00
Jack Lin
34c5f3d290 Actually Fix NPE in Flight revert() from 2e33659 2015-06-19 11:38:52 +12:00
jedk1
4cfd3872de Fixed death null pointer exception bug. 2015-06-18 01:26:22 +01:00
FinnBueno
acbb4e26e1 FireTicks and cleaning
Added a fire tick option for the following abilities:
• FireBlast(Both charged and normal)
• FireWheel and JetBlaze
• FireShield
• WallOfFire
Each ability has it’s own config option for the ticks. The burn time is
in seconds!

Also removed unused imports and removed warnings!
2015-06-17 21:23:59 +02:00
OmniCypher
eb2794b606 Merge pull request #145 from jacklin213/bugfix
Fix NPE in PKListener, onPlayerDeath when killer was null + Fixed missing Twister Permission node
2015-06-16 15:54:57 -07:00
OmniCypher
07853a06a5 Merge pull request #144 from FinnBueno/master
SandSpout Swirl + EarthMethods Sand Particle Change
2015-06-16 15:54:12 -07:00
Jack Lin
bfd313b148 Actually fix AirSwipe distance bug 2015-06-17 02:17:06 +12:00
Jack Lin
ac09940017 Fix permission node error for AirCombo 2015-06-15 14:52:18 +12:00
Jack Lin
2a1957d57d Fix NPE in PKListener, onPlayerDeath when killer was null 2015-06-15 13:07:11 +12:00
FinnBueno
f21b8df90b Sand Passive
When a sand bender stands/runs/walks/does anything on sand, he will get
a speed boost. The power amplifier can be changed in the config file.
2015-06-11 22:06:53 +02:00
FinnBueno
e974f7845a SandSpout + EarthMethods
Added a spiral to SandSpout with a config to toggle it off, and added a
boolean for red sand in .displaySandParticle();
2015-06-11 20:36:25 +02:00
jedk1
5d770d0bbd Fixed MultiAbilities having their colors reset. 2015-06-11 15:09:18 +01:00
jedk1
9a9a0ffbf0 Added event for when the plugin is reloaded via /pk reload. 2015-06-11 14:20:28 +01:00
Jack Lin
f7f9767d2f Format all classes in main package com.projectkorra.ProjectKorra 2015-06-11 02:00:28 +12:00
MistPhizzle
b33ca4a5e5 Claims can be bent in during GriefPrevention Siege 2015-06-10 04:54:14 -04:00
Jack Lin
f5fff104ed Update Error Logger version to 2.0.1 2015-06-10 20:51:20 +12:00
Jack Lin
459a3fb0a1 Update formatter with month and date 2015-06-10 20:51:14 +12:00
Jack Lin
15234e4630 Update ErrorLogFilter to only log PK related stuff 2015-06-10 20:51:08 +12:00
Jack Lin
39cc640f4a Update PKLogHandler to append files 2015-06-10 20:51:02 +12:00
Jack Lin
e5de032eb2 Add Javadocs to PKLogHandler and related classes 2015-06-10 20:50:55 +12:00
Jack Lin
273a1d823e Made class names more logical from 3b2b0e4 2015-06-10 20:50:35 +12:00
Jack Lin
56578a7f3a Update relative classes due to 5d7abb4 2015-06-10 20:50:08 +12:00
Jack Lin
5d7abb4a7b Remove logError method introduced in 7891e84 2015-06-10 20:50:01 +12:00
Jack Lin
3b2b0e403a Add PKLogHandler, PKFilter, PKErrorFilter, PKFormatter 2015-06-10 20:49:54 +12:00
MistPhizzle
354796e997 1.7.0 BETA 10 2015-06-10 04:29:40 -04:00
MistPhizzle
0b1412d5c5 Merge pull request #141 from jacklin213/master
Fix spelling of available in Updater
2015-06-10 04:26:04 -04:00
MistPhizzle
e88f56d5c2 Merge pull request #140 from jedk1/deathmsgs
Death Message Fixes
2015-06-10 04:25:52 -04:00
MistPhizzle
42f2d706ef Merge pull request #139 from jedk1/master
Bug Fixes
2015-06-10 04:25:17 -04:00
Jack Lin
d63a76f401 Fix sqlite error for presets 2015-06-10 15:24:11 +12:00
Jack Lin
8c63fb184b Add missing null check in Commands for /b display 2015-06-10 14:39:04 +12:00
Jack Lin
e7516cc414 Add leaves2 to illumination check 2015-06-10 14:13:07 +12:00
Jack Lin
8ceb8a66d4 Use uuid instead of playername in saveAbility() 2015-06-10 14:13:01 +12:00
Jack Lin
f9fe6ed7b3 Emphasized messages in Commands 2015-06-10 14:12:39 +12:00
Jack Lin
b8471051d1 Fix spelling of available in Updater 2015-06-10 10:29:56 +12:00
Jack Lin
0be20d29b3 Add missing ' in Preset.java 2015-06-10 02:06:43 +12:00
jedk1
589117a3ad Added DeathMessage reloading. 2015-06-08 20:45:20 +01:00
jedk1
0cd6f7cc64 Removed dead bushes as being water bendable. 2015-06-08 20:05:14 +01:00
jedk1
03e472a182 Did some formatting tidy ups. 2015-06-08 20:00:28 +01:00
jedk1
b5c4da89c8 Fixed waterarms glitching and getting "stuck" 2015-06-08 18:23:50 +01:00
jedk1
3d85727a9a Fixed watermanip source not regening after use. 2015-06-08 01:19:57 +01:00
jedk1
9346bf02b7 Fixed NullPointer errors and Fixed combo messages. 2015-06-08 00:32:19 +01:00
Jack Lin
f06de36121 Attemp to fix sql problem in Presets 2015-06-08 11:07:44 +12:00
jedk1
acb5a40b30 Attempted to fix wrong death messages being displayed. 2015-06-07 18:29:53 +01:00
Jack Lin
cc3049771d Change all world compare from == to .equals 2015-06-07 15:52:36 +12:00
Jack Lin
2745c8b4c4 AirSwipe compare distance fix 2015-06-07 15:26:07 +12:00
jedk1
c9fe1c5294 Fixed bottlebending not working! 2015-06-07 04:16:55 +01:00
MistPhizzle
0207bb97b0 1.7.0 BETA 9 2015-06-06 22:24:09 -04:00
MistPhizzle
206c7c54bd Merge pull request #137 from jedk1/master
Fixed WaterArms flooding and WaterManipulation bugs.
2015-06-06 22:23:01 -04:00
OmniCypher
05e7780c5e Re-added Sandspout and IceBlast fixes
New sandbending move: SandSpout
Requires the user to have the sandbending subelement.
SandSpoutis slower and lower then AirSpout and WaterSpout by default.
Requires the player to be above sand/sandstone to use (like how
waterspout relies on a water source)
Any players caught in the spout will be dealt small amounts of damage
over time and will be blinded from standing in the whirlwind of sand.
Config options:
Height - Max height the spout can achieve.
BlindnessTime - How long a player will be blinded for standing in a
spout. (in seconds)
Spout Damage - How much damage the spout does over time for standing in
it.

Slight Iceblast rework
Added default cooldown of 1.5 seconds.
Iceblast is now much less laggy and looks/acts nicer.
Added an on collision sound and effect.
2015-06-06 19:19:13 -07:00
MistPhizzle
46832a952b Merge pull request #135 from nathank33/master
Earth Dynamic Sourcing Improvements
2015-06-06 21:02:50 -04:00
jedk1
7ca8e2d10f Reduced the amount of buggy water blocks created by watermanipulation. 2015-06-07 01:33:00 +01:00
jedk1
756c5f33a8 Fixed WaterArms Flooding 2015-06-07 01:31:44 +01:00
jedk1
cd62f2a4c9 Added messages for most abilities. 2015-06-06 20:10:58 +01:00
jedk1
0d14a4264c Added config based messages. 2015-06-06 20:10:43 +01:00
jedk1
7976a2e454 Added method to get element of ability. 2015-06-06 20:08:47 +01:00
nathank33
e514ba486b Fixed BlockSource distance error 2015-06-06 10:09:45 -07:00
nathank33
c446f320f5 Improved Earth Dynamic Sourcing 2015-06-05 23:31:02 -07:00
nathank33
c56bd64be4 Added Earth Utility Methods 2015-06-05 23:30:42 -07:00
nathank33
f942d7dcc3 EarthSmash no longer uses dynamic sourcing 2015-06-05 23:30:29 -07:00
jedk1
107823711e Removed example config messages. 2015-06-06 01:10:08 +01:00
Jack Lin
318ca12cab Update ConfigManager and related classes 2015-06-06 12:01:05 +12:00
Jack Lin
18d3944192 Add ConfigType 2015-06-06 11:57:09 +12:00
jedk1
3110b8290e Added config manager to support additional config. 2015-06-06 11:39:17 +12:00
jedk1
b3731752eb Added death messages config manager. 2015-06-06 11:39:12 +12:00
jedk1
e99a9b65fe Added PlayerBendingDeathEvent. 2015-06-06 11:39:07 +12:00
jedk1
a6aa53b7a3 Added Death Message Config. 2015-06-06 11:38:56 +12:00
jedk1
5fd7ce6709 Added basic death message support. 2015-06-06 11:34:50 +12:00
jedk1
5c88a17b8a Changed damageEntity to support a string for ability name.
Added method to get last used ability/combo.
2015-06-06 11:34:44 +12:00
MistPhizzle
9954ab2c17 1.7.0 BETA 8 2015-06-04 19:48:14 -04:00
MistPhizzle
901283c31e Merge pull request #131 from jedk1/master
Added WaterArms Nerfs
2015-06-04 19:43:50 -04:00
jedk1
88498155f9 Added WaterArms Pull Multiplier Config. 2015-06-05 00:35:57 +01:00
jedk1
cff68f45c3 Revert "Added multiplier config."
This reverts commit 7bbb2fe741.
2015-06-05 00:35:13 +01:00
jedk1
7bbb2fe741 Added multiplier config. 2015-06-05 00:34:41 +01:00
jedk1
a9578d94a0 Added WaterArms Nerfs. 2015-06-05 00:30:11 +01:00
MistPhizzle
4b462ae020 Merge pull request #127 from jacklin213/master
Add Updater and /pk check command
2015-06-04 19:15:54 -04:00
MistPhizzle
1873c69419 Merge pull request #129 from jacklin213/bugfix
[BUGFIX] Fix world error in BlockSource
2015-06-04 19:13:30 -04:00
jedk1
e70b85e36b Merge remote-tracking branch 'upstream/master' 2015-06-04 23:26:18 +01:00
jedk1
6cb48bf16d Added fancy WaterSpout spiral animation. 2015-06-04 23:23:45 +01:00
Jack Lin
c0b358b248 Fix world error in BlockSource 2015-06-02 18:18:13 +12:00
Jack Lin
f0c0b829c5 Add /pk check command and permissions 2015-06-01 23:57:05 +12:00
Jack Lin
11208d6649 Add Updater 2015-06-01 23:56:05 +12:00
MistPhizzle
09cf032885 1.7.0 BETA 7 2015-05-31 22:24:15 -04:00
jedk1
689bcf7d32 Fixed MultiAbilities not working if player wasn't op. 2015-06-01 03:02:23 +01:00
jedk1
3a2b435894 Fixed logout console spam. 2015-06-01 03:01:22 +01:00
MistPhizzle
41452edc0d 1.7.0 BETA 6 2015-05-31 20:49:23 -04:00
MistPhizzle
ad4fcb4dba Fix 2015-05-31 20:43:11 -04:00
MistPhizzle
919599cace Merge pull request #123 from nathank33/master
Fixed WaterBottles after dynamic sourcing broke them
2015-05-31 20:43:01 -04:00
MistPhizzle
7862535a0b MERGE 2015-05-31 20:39:32 -04:00
jedk1
22e5158aa7 Added WaterArms config options. 2015-05-31 21:26:49 +01:00
jedk1
27f505c4d2 Corrected spelling in WaterArms description. 2015-05-31 21:26:32 +01:00
jedk1
3143334c79 Added WaterArms Spear attack. 2015-05-31 21:23:47 +01:00
jedk1
633aca108e Added WaterArms Freeze attack. 2015-05-31 21:23:35 +01:00
jedk1
5a10da3f1f Added permissions for WaterArms. 2015-05-31 21:23:21 +01:00
jedk1
ee79f70142 Finished recode and added getters and setters. Also added Grab attack. 2015-05-31 21:23:06 +01:00
jedk1
50e83f6e35 Completed Recode and added getters and setters. 2015-05-31 21:22:12 +01:00
jedk1
706ee1cd8c Added method for a chi blocker to highjump out of WaterArms grab mode. 2015-05-31 21:21:50 +01:00
jedk1
72321963be Added WaterArms sneak event to display a little note of what ability is
bound.
2015-05-31 21:20:49 +01:00
jedk1
7a4af1ef01 Added more WaterArms config options. 2015-05-31 21:20:05 +01:00
jedk1
3d01e27965 Added support for MultiAbilityManager. Makes sure that abilities can't
be bound while a MultiAbility is active.
2015-05-31 21:19:23 +01:00
nathank33
868607ed9a Fixed WaterBottles after Dynamic Sourcing broke them 2015-05-31 11:26:28 -07:00
jedk1
09575f8e9b Started Recode on WaterArms. 2015-05-31 15:19:50 +01:00
jedk1
d5c6e10feb Added WaterArms managing and stopping. 2015-05-31 15:19:32 +01:00
jedk1
6aa5947481 Added WaterArms falling block check to entitychangeblockevent. 2015-05-31 15:18:58 +01:00
jedk1
9bbd231eef Added getLeftSide and getRightSide methods to get the respective side of
a location no matter the direction it's facing.
2015-05-31 15:18:30 +01:00
jedk1
25e7eb8b39 Changed config options for WaterArms. 2015-05-31 15:17:29 +01:00
jedk1
742df175db Added WaterArms as a stock ability. 2015-05-31 15:16:58 +01:00
jedk1
66374480cf Updated/Fixed MultiAbilityAPI. 2015-05-31 15:16:36 +01:00
MistPhizzle
b41a04fd12 1.7.0 BETA 5 2015-05-30 23:37:44 -04:00
MistPhizzle
51875fb282 Blank 2015-05-30 23:36:38 -04:00
Jack Lin
cac48fd4f3 Fix bending not working due to b20c543 2015-05-31 15:34:39 +12:00
MistPhizzle
e84bf58094 1.7.0 BETA 4 2015-05-30 21:18:48 -04:00
MistPhizzle
51448beea5 Fix ClickType
oops
2015-05-30 21:17:59 -04:00
MistPhizzle
9d83375d4d Fix Conflicts 2015-05-30 21:12:06 -04:00
MistPhizzle
1129528312 Stupid Commit 2015-05-30 20:59:47 -04:00
MistPhizzle
f6f394f4c7 Players with Chi and Air will get Air boost
Fixes bug where they would get alternating speed / jump boosts
2015-05-30 20:59:46 -04:00
MistPhizzle
4f114dbe94 /bending display Bloodbending
Fixed the message that tried to get players to use nonexistant commands
2015-05-30 20:59:45 -04:00
MistPhizzle
c5e493e2b0 Add icebending to /b display 2015-05-30 20:59:44 -04:00
Jack Lin
b20c543136 Update Listener to use errorLog method 2015-05-31 12:58:03 +12:00
MistPhizzle
808915644a Merge pull request #119 from nathank33/master
Dynamic Source Selection
2015-05-30 20:26:24 -04:00
nathank33
f6b8c136ba Earth now uses dynamic source selection 2015-05-30 13:56:03 -07:00
nathank33
fca483239f Water now uses dynamic source selection 2015-05-30 13:54:54 -07:00
nathank33
c313ce8eed Renamed ClickTypes 2015-05-30 13:53:52 -07:00
nathank33
c36bd23205 Added Dynamic Source Selection 2015-05-30 13:53:31 -07:00
jedk1
45b7ee8b7a Added WaterArms to the stock abilities list 2015-05-30 14:49:23 +01:00
jedk1
f1608728d4 Added config options for WaterArms, these might need nerfing. 2015-05-30 14:48:29 +01:00
jedk1
30724904bc Added classes for MultiAbilityModules. Allows for creation of
multiabilities.
2015-05-30 03:10:19 +01:00
jedk1
3cbd93712b Added MultiAbilityManager - Manager for most methods and managers for
multiabilities.
2015-05-30 03:08:56 +01:00
jedk1
1719628d33 Added the managers for the MultiAbility 2015-05-30 03:08:11 +01:00
jedk1
bb6c333323 Added to player quit event to clean up any multi abilities the player
had active.
2015-05-30 03:07:52 +01:00
jedk1
4842970973 Added checks in bindAbility and saveAbilities to stop the method if the
player has a MultiAbility bound.
2015-05-30 03:06:44 +01:00
Jack Lin
4d3ce669ea Update related classes to use errorLog method 2015-05-27 14:57:47 +12:00
Jack Lin
468232f812 Add exception handler into Ability Managers 2015-05-27 14:57:27 +12:00
Jack Lin
85153cf895 Update error message for errorLog method 2015-05-27 14:28:47 +12:00
Jack Lin
7891e84adb Add errorLog method to log throwables/exceptions
* Add methods errorLog(Throwable) and errorLog(Throwable, Boolean) to
GeneralMethods.java
* Add documentation to both methods describing how to use them
2015-05-27 14:23:40 +12:00
MistPhizzle
cb13a38873 1.7.0 BETA 3 2015-05-25 16:22:06 -04:00
MistPhizzle
029262bb49 /bending reload now reloads Modular Abilities
Finnbon suggestion
2015-05-25 16:18:46 -04:00
MistPhizzle
e07363aabd AirBlast now opens wooden doors 2015-05-25 16:18:45 -04:00
MistPhizzle
dbd64385dd Expand Permissions
You can now require specific permissions for elements. i.e.
bending.command.choose.fire and bending.command.add.fire (Currently only
added to choose and add)

Please note: They wont be able to choose fire without the permission
node bending.command.choose and bending.command.add respectively. All
new permissions default true, but again, they will not be able to add
elements without the basic command to do so in the first place.
2015-05-25 16:18:44 -04:00
MistPhizzle
dee68b9671 PlayerChangeElementEvent
Called whenever a player's element is changed, whether it be through
Add, Remove, Choose, Permaremove.

Requests CommandSender (whoever initiates it), the Player target, the
Element, and the Result.

If remove or peraremove, element will return null.
2015-05-25 16:18:43 -04:00
MistPhizzle
bf0971bffb Admins can choose bending if permaremoved
Admins can choose a player's bending if it has been permaremoved. The
point of permaremove is so that the player can't rechoose, not the
admin.
2015-05-25 16:18:42 -04:00
MistPhizzle
51159400af /bending display [Element] Changes
- Fixed bug where you can't view abilities for other elements. (Now
checks if you just have permission, not if you can actually bind them)

- Removed sub abilities from general display. They now have their own
command (/bending display Lightning, etc, etc)
2015-05-25 16:18:42 -04:00
nathank33
dcd809b6af Moved ClickType to its own file 2015-05-25 10:18:46 -07:00
nathank33
2af027dddb Combos have individual permissions 2015-05-24 21:53:18 -07:00
nathank33
d20ab0e6e5 Formatted ComboManager 2015-05-24 19:26:42 -07:00
MistPhizzle
4b392d2a01 1.7.0 BETA 2 2015-05-22 16:20:09 -04:00
MistPhizzle
a45ffb6753 Asynchronous Database Interaction
Should increase performance.

Huge thanks to Sothatsit --- Had to merge it manually
2015-05-19 12:20:45 -04:00
AlexTheCoder
b2bdd1b6fa HUMONGOUS API CLEANUP
- Created individual method classes for each element
- Moved appropriate methods from main Methods class into element Method
classes
- Created many javadocs
- Removed a deprecated method
- Changed Methods to GeneralMethods
2015-05-15 00:24:12 -04:00
MistPhizzle
18dcedff83 1.7.0 BETA 1 2015-05-13 10:06:11 -04:00
MistPhizzle
0940091f56 Merge pull request #112 from Alex-The-Coder/Lightning-API-Improvements
Allowed external developers access to arcs
2015-05-13 10:01:40 -04:00
MistPhizzle
79315d5f3a Merge pull request #111 from Alex-The-Coder/Lightning-Aesthetics
Lightning Aesthetic Enhancement
2015-05-13 10:01:34 -04:00
Jack Lin
2ccef0aecb Add saved toggling per server session 2015-04-21 13:00:58 +12:00
MistPhizzle
625d7014c1 1.6.0 2015-04-19 18:27:10 -04:00
MistPhizzle
72ca8e3fd9 1.6.0 BETA 20 2015-04-19 18:08:38 -04:00
MistPhizzle
bb617c90c8 Fix /bending who not showing staff 2015-04-19 18:07:04 -04:00
AlexTheCoder
a1e30b81b6 Lightning Aesthetic Enhancement
- Added kewl lightning charge up animation
- Small code cleanup in Commands.java
2015-04-17 22:47:08 -04:00
AlexTheCoder
470ef8d891 Allowed external developers access to arcs
Gave external developers a way to get the arcs from lightning
2015-04-17 22:05:43 -04:00
MistPhizzle
61fc509d7d 1.6.0 BETA 19 2015-04-12 20:15:16 -04:00
MistPhizzle
ad81b29399 /korra debug now displays Items 2015-04-12 20:13:10 -04:00
MistPhizzle
3370a67ffc PreciousStones Changes
Players can now bend in their own claims or claims they are allowed in
2015-04-12 20:13:09 -04:00
MistPhizzle
cc00f515a0 Remove old staff from plugin 2015-04-12 20:13:08 -04:00
MistPhizzle
f3ff5fa536 /bending version displays info on PK Items 2015-04-12 20:13:08 -04:00
MistPhizzle
dbb1acc278 Add Coolade and Shunky 2015-04-12 20:13:07 -04:00
MistPhizzle
7f569d67bb Add Kiam's UUID 2015-04-12 20:13:06 -04:00
MistPhizzle
c0f3f5b470 /bending who uses UUIDs for Staff
- vidcom now displays as Concept Designer / Community Moderator
- Kiam should be a Concept Designer
- Hit_Manx now displayed as Wiki Contributor
2015-04-12 20:13:05 -04:00
MistPhizzle
100451d4f6 Merge pull request #110 from jacklin213/bugfix
BugFixes
2015-04-12 20:12:54 -04:00
Jack Lin
d3cfaf327a Fix NPE in FlightAbility
Caused by lines 30-33 calling remove(player) which calls flight.remove()
when flight == null
2015-04-11 12:00:28 +12:00
Jack Lin
e471809049 Fix deprecation from 9f969f1, small clean up 2015-04-10 12:55:23 +12:00
Jack Lin
9f969f19f2 Finish Update for getTargetBlock 2015-04-06 15:14:50 +12:00
Jack Lin
454c1bcdc0 Update to 1.8.3 method for getTargetBlock 2015-04-06 15:10:21 +12:00
MistPhizzle
931891c463 1.6.0 BETA 18 2015-04-05 20:36:07 -04:00
MistPhizzle
9f58aeda01 Merge Pull Request #102 from Carbogen 2015-04-05 20:14:01 -04:00
MistPhizzle
30aa3a8606 Merge pull request #100 from HeyAwesomePeople/patch-1
Updated Commands.java
2015-04-05 20:07:31 -04:00
MistPhizzle
068d8dfa3d Merge pull request #103 from jacklin213/bugfix
Bugfixs
2015-04-05 20:05:04 -04:00
OmniCypher
71e2171056 Fixes and Additions
Fixes:
Recalibrated Colored Particles to 1.8.3 (fixing lightning)
Moved OmniCypher to Dev list (finally)
Additions:
playLightningParticles():
Callable method in Methods class for dev's to easily display Lightning
Particles.
displayColoredParticle():
Callable method in Methods class to easily create and display and passed
in hexadecimal RGB value. Handles multiple particle types.
displayParticleVector()
Callable method in Methods class to easily create and display particles
which will smoothly translate to relative coordinates over time. Handles
multiple particle types.
2015-03-26 22:01:47 -07:00
MistPhizzle
c3876a8f18 1.6.0 BETA 17 2015-03-15 11:33:09 -04:00
MistPhizzle
f303f28abf Merge pull request #106 from Alex-The-Coder/CooldownChangeEvent-Edits
Cooldown Modifications
2015-03-15 11:27:05 -04:00
AlexTheCoder
a8490f02e4 Avoiding potential bugs 2015-03-14 05:10:22 -04:00
AlexTheCoder
3ead8469cc Cooldown Modifications
AvatarState Cooldown Modifications:
- Converted the AvatarState to use the same BPlayer cooldown manager as
all the other abilities

CooldownChangeEvent Modifications:
- Make cooldown changes cancellable so as to increase API functionality
2015-03-14 04:13:27 -04:00
AlexTheCoder
853aec2b5b Spring Cleaning!
Cleaned up the Code:
- Removed all unused imports
- Added suppress warning annotations to all warnings
2015-03-14 02:10:25 -04:00
MistPhizzle
1446dcc1d4 1.6.0 BETA 16 2015-03-08 12:45:09 -04:00
Jack Lin
d56380a5e3 Fix NPE in OctopusForm 2015-02-19 10:11:10 +13:00
Jack Lin
2e336595c0 Fix NPE caused by revert() in Flight 2015-02-19 10:10:55 +13:00
Jack Lin
a34bdbaa62 Fix incorrect world check FireShield 2015-02-17 21:54:44 +13:00
nathank33
6d3a48b189 Lightning Merge Conflict 2015-02-15 22:43:40 -08:00
Jack Lin
1a405d296e Add world checks EarthSmash 2015-02-16 19:08:07 +13:00
Jack Lin
386904e300 Add world check AirSwipe 2015-02-16 19:07:57 +13:00
Jack Lin
ce7838f618 Fix NPE in Methods for isChiBlocked() 2015-02-16 19:01:23 +13:00
Jack Lin
e9827fd499 Add world checks FireShield 2015-02-16 18:26:49 +13:00
Jack Lin
bb9dc95dd7 Add world check AirShield 2015-02-16 18:25:05 +13:00
Jack Lin
a6213f6f66 Fix WaterManipulation NPE 2015-02-16 18:24:55 +13:00
Jack Lin
6fc808fd71 Attempt NPE fix FireCombo
getTopBlock() could return null. You cannot getLocation() of null
therefore generating NPE
2015-02-16 18:24:36 +13:00
Jack Lin
ec1cfff771 Fix NPE in Flight 2015-02-16 17:37:08 +13:00
MistPhizzle
fc5646e4f9 1.6.0 BETA 15 2015-02-08 10:50:08 -05:00
HeyAwesomePeople
0236b2072e Updated Commands.java
Line 792 was causing SQLException: "Before start of result set". Fixed by placing the call to result set in the for loop, which insures that the string calling of "uuid" will work.
2015-02-07 21:02:18 -08:00
Brendan Wilson
7131f516bb Implemented a custom addon Combo API
Reworked my old ComboModuleAPI and built it right into ProjectKorra
Core. This version supports /pk h <element>combo messages and will
append the addon-combo's description and instructions to the messages
sent. I also reworked the way the combos are coded to make them very
similar to ordinary addon abilities.
2015-02-07 17:01:22 -05:00
Brendan Wilson
da94a97538 Altered the HVCEvent listener
Added a check for damage > 0, so that if not the plugin will not even
damage the entity, preventing the red flash and knockback receiving 0
damage would cause.
2015-02-07 14:26:10 -05:00
Brendan Wilson
792bfa70ca Added a configuration option for HCD
HorizontalCollisionDamage will not activate if the corresponding
configuration node is set to false.

Also changed the Bloodbending-at-any-time message in /pk who for better
looks.
2015-02-07 14:22:47 -05:00
Brendan Wilson
6bc5d6ade0 Fixed duplicate instances occuring in the HCS 2015-02-06 11:20:37 -05:00
Brendan Wilson
fa77e46c3e Fixed a typo in HorizontalVelocityChangeEvent
`getDistanceTravelled()` was renamed to `getDistanceTraveled()` to
respect proper English spelling.
2015-02-05 17:56:54 -05:00
Brendan Wilson
b67d3d2e0a Revert "Revert "Modified the HorizontalCollision damage calculation.""
This reverts commit 31cbac3666.
2015-02-05 17:42:53 -05:00
Brendan Wilson
31cbac3666 Revert "Modified the HorizontalCollision damage calculation."
This reverts commit 675200ccd1.
2015-02-05 17:38:41 -05:00
Brendan Wilson
675200ccd1 Modified the HorizontalCollision damage calculation.
Instead of solely relying on delta velocity, the equation now
incorporates a configurable minimum distance to give damage and also
gives the distance travelled a say.
2015-02-05 17:38:21 -05:00
Brendan Wilson
a8794eab6b Made a few changes to the Wall Damage System
Airblast will no longer crash when it gets to invoking a
HorizontalVelocityTracker.
The HorizontalVelocityTracker now cancels if the entity comes in contact
with water.
The HorizontalVelocityChangeEvent listener in PKListener now only works
if the entity's ID is NOT the same as the instigator's.
2015-02-05 13:43:04 -05:00
MistPhizzle
43a560d912 1.6.0 BETA 14 2015-02-04 22:40:53 -05:00
MistPhizzle
b252fa98d8 Merge pull request #96 from jedk1/master
Quick Database name change fix
2015-02-04 22:37:35 -05:00
Brendan Wilson
84b6eee8ad Added check in Bloodbending
Made it so that daytime bloodbenders can bloodbend other bloodbenders so
long as they can't also bloodbend during the day.
2015-02-04 18:15:26 -05:00
Brendan Wilson
d63db2e235 Merge branch 'master' of https://github.com/ProjectKorra/ProjectKorra
Conflicts:
	src/com/projectkorra/ProjectKorra/Methods.java
	src/com/projectkorra/ProjectKorra/firebending/Lightning.java
2015-02-04 17:25:51 -05:00
Brendan Wilson
973c39eec3 Fixed an incorrect if statement in Methods
It checked if a player HAD their bending toggled in order to resist
Bloodbending.
2015-02-04 17:16:48 -05:00
jedk1
e9b4c851e4 Added log for name changes.
Added line so it logs name change updates to console.
2015-02-04 17:16:20 +00:00
jedk1
18f5655d2d Added log message for name changes. 2015-02-04 17:15:45 +00:00
jedk1
960e3a5415 Changed 2 lines to fix the name change update. 2015-02-04 16:52:33 +00:00
Brendan Wilson
2ff4484394 Fixed some errors with wall damage. 2015-02-03 21:22:30 -05:00
Brendan Wilson
bc135c6f12 Added a Bloodbending at anytime permission
Title says it all
2015-02-03 18:17:25 -05:00
Brendan Wilson
9628b31ada Fixed Torrent API Reachability 2015-02-02 19:06:21 -05:00
Brendan Wilson
ad66632bf3 Modified BloodBending's aiming
BloodBending no longer throws an entity in an incorrect direction if the
entity's position hasn't updated after you moved right before you
clicked.
2015-02-02 17:50:07 -05:00
Brendan Wilson
03484854d4 Revert "Removed fireblast furnace ignition"
This reverts commit 1945040515.

Conflicts:
	.idea/workspace.xml
2015-02-02 17:26:50 -05:00
Brendan Wilson
046d1fd0f5 Optimized Bloodbending a bit
If you were to bloodbend an entity initially close to you, the distance
between you and that entity while bloodbending would be the same. This
made throwing difficult as if you were to hit the entity (because it's
within arm range) the move wouldn't work. I set the distance value to 6,
so that when you Bloodbend an entity the distance between it and
yourself is always 6 unless you point at a wall or the floor.
2015-02-02 17:18:43 -05:00
Brendan Wilson
8ac15b4710 Added configuration option for WaterSpout particles
Default to FALSE, a server admin can choose whether or not their server
has waterspout particles.
2015-02-02 17:02:39 -05:00
Brendan Wilson
3f3f75b90d Fixed a bug with Horizontal Velocities
Fixed Bug: Entities would also take damage when accelerating really
fast. This was fixed to work only when a) the entity is DECELERATING and
b) when there is a non-air block within 2 blocks of the entity.
2015-02-02 16:23:10 -05:00
Brendan Wilson
e9e07f4270 WALL DAMAGE
Added a method of tracking wall damage on entities. This is currently
used only for Airblast and Bloodbending, but includes Airburst as it is,
to my understanding, an array of Airblasts.
2015-02-02 14:37:13 -05:00
MistPhizzle
9e8a8376f4 1.6.0 BETA 13 2015-02-01 18:57:35 -05:00