Commit graph

1132 commits

Author SHA1 Message Date
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
MistPhizzle
68309215ed Merge pull request #94 from nathank33/master
Suffocation Rework and Bug Fixes
2015-02-01 18:54:47 -05:00
nathank33
3d01b3fd05 LavaFlow: RemoveAll bug fix, Code cleanup 2015-02-01 11:16:50 -08:00
nathank33
326d37f28a LavaFlow: Moved everything to instance variables, and cleaned up
Lightning: Code cleanup
2015-02-01 11:16:18 -08:00
Brendan Wilson
20e02b130e Made Combustion's player and location visible
Combustion's `player` and `location` variables are now `public` so that
they can be accessed from the API.
2015-02-01 09:40:04 -05:00
Brendan Wilson
fa2072227c Added ways to cancel instances through the API
For Fireball and Torrent.
2015-02-01 09:27:42 -05:00
nathank33
82614d0ea3 MetalClips: Advanced permissions are not OP default 2015-01-31 23:34:30 -08:00
nathank33
63a294baf7 WorldGuard Fix: An if statement was incorrect 2015-01-31 21:38:15 -08:00
nathank33
1da91706da New Ability: Suffocate 2015-01-31 21:37:28 -08:00
nathank33
85c9c86743 Methods, BlockCache: BlockCache now considers ability names 2015-01-31 21:30:59 -08:00
Brendan Wilson
4948afea6f Made AirBurst and AirBlast API-trackable moves.
The title says it all.
2015-01-31 15:58:12 -05:00
Brendan Wilson
f0dbfb1f71 Made the following abilities usable with the API
For each of these abilities I've added a way to get every instance's
location, allowing developers such as myself to create counter attacks
and blocks, etc. I've used and tested this with IceWall and it works
perfectly.
2015-01-31 14:50:17 -05:00
Brendan Wilson
e8c892ab67 Merge branch 'master' of https://github.com/ProjectKorra/ProjectKorra
Conflicts:
	src/com/projectkorra/ProjectKorra/Methods.java
2015-01-31 10:46:08 -05:00
Brendan Wilson
1945040515 Removed fireblast furnace ignition
Also changed torrent's launchblocks ArrayList to public.
2015-01-31 10:38:56 -05:00
nathank33
aaa4e59505 Efficiency: Fixed a problem with ChiBendingManager that was causing lag 2015-01-30 20:46:16 -08:00
nathank33
92db7e86f1 Made the canFly method less sensitive 2015-01-30 19:14:23 -08:00
nathank33
6548de6581 Flight: Hovering Glitch Fix and Code Cleanup 2015-01-30 19:13:50 -08:00
nathank33
8b6ede61c6 Extraction: Fixed Dupe Bug
http://projectkorra.com/forum/threads/extraction-dupe-glitch.1905/
2015-01-30 18:20:43 -08:00
nathank33
e2ec2d26e3 Lightning: Added Documentation 2015-01-30 17:43:31 -08:00
nathank33
e75f270d7e Lightning: Removed the cache since isRegionProtected has it's own cache 2015-01-30 17:24:06 -08:00
nathank33
913ab45872 Combos now check for specific elements 2015-01-29 23:46:21 -08:00
nathank33
1d3ded62f6 EarthSmash: Fixed an error when checking distances 2015-01-29 23:45:57 -08:00
MistPhizzle
eca8436db0 Merge pull request #90 from jacklin213/api
Stops ProjectKorra from not working due to broken custom abilities
2015-01-24 20:27:50 -05:00
MistPhizzle
c71301f2dc 1.6.0 BETA 12 2015-01-22 19:41:55 -05:00
MistPhizzle
36df22c107 Merge pull request #91 from nathank33/master
Performance Block Cache, AirBlast bug fix, Lightning Water Arc Fix
2015-01-22 19:40:09 -05:00
Brendan Wilson
e66aa4224a Fireblast now ignites furnace blocks.
Fireblast can be used to add burning ticks to a furnace.
2015-01-21 15:03:10 -05:00
Brendan Wilson
c5cbe8b92d FireBlast ignites furnaces.
Added test code to ignite furnaces with FireBlast.
2015-01-21 14:46:34 -05:00
nathank33
9a02098119 Updated the BlockCache to use less BukkitRunnables 2015-01-21 00:12:05 -08:00
nathank33
4c4e1f1c65 isRegionProtected block cache, fixed RPG NOT DETECTED message 2015-01-18 21:27:41 -08:00
nathank33
709b5f76cb Fixed Lightning not arcing in water, added a cache to speed up processing 2015-01-18 21:26:12 -08:00
nathank33
bede932459 AirBlast fixed a crash causing bug when a user shoots straight down 2015-01-18 16:13:49 -08:00
nathank33
d6baea87b9 Octopus: Added an AttackRange variable 2015-01-18 16:13:23 -08:00
Jack Lin
641c7847ae Removed AbstractMethodError stacktrace 2015-01-18 22:57:06 +13:00
Jack Lin
de0b638a82 Apply fix to API, AbstractMethodError 2015-01-18 22:49:26 +13:00
Jack Lin
3e9d568d40 Fix NPE found in FireBurst and Lightning 2015-01-18 18:44:52 +13:00
MistPhizzle
db0c691892 Merge pull request #86 from jacklin213/bugfix
Update Database, FireStream and Deprecated WG method
2015-01-17 20:50:52 -05:00
MistPhizzle
1203995a11 1.6.0 BETA 11 2015-01-17 14:07:14 -05:00
MistPhizzle
a588c85037 Removed TagAPI Support
TagAPI breaks with 1.8 and the developer is no longer updating it.
2015-01-17 12:45:27 -05:00
MistPhizzle
6bbc19913d Fix GriefPrevention Dependency 2015-01-17 12:37:09 -05:00
MistPhizzle
0c80670c3f Fix Conflicts with /b bind and /b display 2015-01-17 12:31:02 -05:00
Brendan Wilson
3b6f775ccd Fixed some permission problems
Problem was: an earthbender (without lavabending perms) could display
and bind lavabending abilities.

Solution: Add a check if the player has the permissions; created boolean
canBind() and added it to hasPermisison().

Also fixed worldguard bug with WG 6.0 Beta 4.
2015-01-17 10:56:24 -05:00
Jack Lin
891981dafa Update plugin to force stop on DB error 2015-01-17 21:41:04 +13:00
Jack Lin
3156cf547d Updated deprecated WG method 2015-01-17 14:58:37 +13:00
Jack Lin
4b513d4b45 Added missing Materials to FireStream 2015-01-17 14:49:14 +13:00
MistPhizzle
dc9135dcfc 1.6.0 BETA 10 2015-01-16 17:59:24 -05:00
MistPhizzle
5987efb80d Merge pull request #83 from nathank33/master
Fixed some issues with Lightning
2015-01-16 17:57:36 -05:00
MistPhizzle
d27768f873 Fixed /b display not working properly. 2015-01-16 17:56:31 -05:00
MistPhizzle
7e6b967512 Merge pull request #85 from Carbogen/master
Added missing things to ChiCombos
2015-01-16 17:56:24 -05:00
Brendan Wilson
83367f4e50 Added missing things to ChiCombos
Added configuration entries for ChiCombo.
Added Help Message for ChiCombo.
Implemented configuration variables in SwiftKick & QuickStrike.
Added new abilities into plugin.yml.
Made jumping mandatory for SwiftKick.
2015-01-16 16:44:00 -05:00
MistPhizzle
a71264f2f3 1.6.0 BETA 9 2015-01-16 16:01:02 -05:00
MistPhizzle
958a99a1aa Fix Classpath 2015-01-16 15:59:56 -05:00