Commit graph

802 commits

Author SHA1 Message Date
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
MistPhizzle
dea1d28ffd Merge pull request #93 from Carbogen/master
Added Wall Damage and made some abilities detectable through the API
2015-02-04 22:37:27 -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
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
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
221addf0fb Added .classpath to .gitignore 2015-01-31 10:40:38 -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
MistPhizzle
d5feed9c79 Merge pull request #89 from jacklin213/bugfix
Fix NPE found in FireBurst and Lightning
2015-01-22 19:37:55 -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