mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
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.
This commit is contained in:
parent
d63db2e235
commit
84b6eee8ad
3 changed files with 20 additions and 4 deletions
|
@ -161,9 +161,24 @@ Abilities:
|
|||
Suffocate:
|
||||
Enabled: true
|
||||
Description: "This ability is one of the most dangerous abilities an Airbender possesses. To use, simply look at an entity and hold shift. The entity will begin taking damage as you extract the air from their lungs. Any bender caught in this sphere will only be able to use basic moves, such as AirSwipe, WaterManipulation, FireBlast, or EarthBlast. An entity can be knocked out of the sphere by certain bending arts, and your attention will be disrupted if you are hit by bending."
|
||||
Range: 15
|
||||
Damage: 2
|
||||
ChargeTime: 1000
|
||||
Cooldown: 0
|
||||
DamageInitialDelay: 2
|
||||
DamageInterval: 1
|
||||
SlowPotency: 1
|
||||
SlowDelay: 0.5
|
||||
SlowInterval: 1.25
|
||||
BlindPotentcy: 30
|
||||
BlindDelay: 2
|
||||
BlindInterval: 1.5
|
||||
CanBeUsedOnUndeadMobs: true
|
||||
Range: 5
|
||||
Damage: 0.5
|
||||
RequireConstantAim: true
|
||||
RequireConstantAimRadius: 5
|
||||
AnimationRadius: 2.0
|
||||
AnimationParticleAmount: 2
|
||||
AnimationSpeed: 1.0
|
||||
Tornado:
|
||||
Enabled: true
|
||||
Description: "To use, simply sneak (default: shift). This will create a swirling vortex at the targeted location. Any creature or object caught in the vortex will be launched up and out in some random direction. If another player gets caught in the vortex, the launching effect is minimal. Tornado can also be used to transport the user. If the user gets caught in his/her own tornado, his/her movements are much more manageable. Provided the user doesn't fall out of the vortex, it will take him to a maximum height and move him in the general direction he/she is looking. Skilled airbenders can scale anything with this ability."
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: ProjectKorra
|
||||
author: ProjectKorra
|
||||
version: 1.6.0 BETA 12
|
||||
version: 1.6.0 BETA 13
|
||||
main: com.projectkorra.ProjectKorra.ProjectKorra
|
||||
softdepend: [PreciousStones, WorldGuard, WorldEdit, Factions, MassiveCore, GriefPrevention, Towny, NoCheatPlus, LWC]
|
||||
commands:
|
||||
|
|
|
@ -84,6 +84,7 @@ public class Bloodbending {
|
|||
if (target instanceof Player) {
|
||||
if (Methods.canBend(((Player) target).getName(), "Bloodbending")
|
||||
|| AvatarState.isAvatarState((Player) target))
|
||||
if(!Methods.isDay(target.getWorld()) || Methods.canBloodbendAtAnytime((Player) target))
|
||||
return;
|
||||
}
|
||||
if (!canBeUsedOnUndead && isUndead(target)) {
|
||||
|
|
Loading…
Reference in a new issue