-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6555ff9
Showing
5 changed files
with
702 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# BloodShock Ability for ProjectKorra | ||
|
||
This is an addon ability for the [ProjectKorra](https://projectkorra.com/) plugin for Spigot Minecraft servers. Ability concept by [LuxaelNi](https://github.com/LuxaelNivra). | ||
|
||
## Description | ||
|
||
**BloodShock** is a Blood ability that allows waterbenders to bend the blood of every entity around them at once. This overpowered ability lets you control their movements, and/or you can toss them all away from you. | ||
|
||
### Features | ||
|
||
- **AoE Bloodbending**: Bloodbend multiple opponents at the same time! | ||
- **Control Movements**: Make your opponents jump around or do the cha cha slide, involuntarily! | ||
- **Toss**: Toss them all away with a configurable strength. | ||
- **Bloodbending Configuration**: Uses the global Bloodbending configuration `Abilities.Water.Bloodbending`, to respect day time rules, full moon, etc. | ||
|
||
## Instructions | ||
|
||
- **Activation**: During the right conditions for bloodbending, hold Shift to activate. Left Click to raise enemies into the air. Release Shift to toss them all away. | ||
|
||
## Installation | ||
|
||
1. Download the latest `bloodshock.jar` file from [releases](https://github.com/CozmycDev/PK-BloodShock/releases). | ||
2. Place the latest `bloodshock.jar` file in the `./plugins/ProjectKorra/Abilities` directory. | ||
3. Restart your server or reload the ProjectKorra plugin with `/b reload` to enable the ability. | ||
|
||
## Compatibility | ||
|
||
- **Minecraft Version**: Tested and working on MC 1.20.4. | ||
- **ProjectKorra Version**: Tested and working on PK 1.11.2 and 1.11.3. Might support earlier versions too. | ||
|
||
## Configuration | ||
|
||
The ability can be configured in the ProjectKorra `config.yml` file under `ExtraAbilities.Cozmyc.BloodShock`: | ||
|
||
```yaml | ||
ExtraAbilities: | ||
Cozmyc: | ||
BloodShock: | ||
ControlMovements: true # whether you can control entities movements while holding shift and before clicking | ||
Cooldown: 5000 # milliseconds | ||
Duration: 6000 | ||
LiftHeight: 2.5 | ||
LaunchPower: 2.0 | ||
LaunchHeight: 0.7 | ||
Range: 10 | ||
UseBloodbendingAbilityConfig: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>net.doodcraft.cozmyc</groupId> | ||
<artifactId>bloodshock</artifactId> | ||
<version>1.0.5</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>BloodShock</name> | ||
|
||
<properties> | ||
<java.version>1.8</java.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<repositories> | ||
<repository> | ||
<id>spigotmc-repo</id> | ||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.spigotmc</groupId> | ||
<artifactId>spigot-api</artifactId> | ||
<version>LATEST</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.projectkorra</groupId> | ||
<artifactId>projectkorra</artifactId> | ||
<version>1.11.3</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
7 changes: 7 additions & 0 deletions
7
src/main/java/net/doodcraft/cozmyc/bloodshock/AbilityState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package net.doodcraft.cozmyc.bloodshock; | ||
|
||
enum AbilityState { | ||
START, | ||
CLICKED, | ||
STOP | ||
} |
Oops, something went wrong.