Skip to content

Commit

Permalink
Initial commit - version 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
CozmycDev committed Jul 18, 2024
0 parents commit 6555ff9
Show file tree
Hide file tree
Showing 5 changed files with 702 additions and 0 deletions.
46 changes: 46 additions & 0 deletions README.md
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
53 changes: 53 additions & 0 deletions pom.xml
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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package net.doodcraft.cozmyc.bloodshock;

enum AbilityState {
START,
CLICKED,
STOP
}
Loading

0 comments on commit 6555ff9

Please sign in to comment.