forked from DiamondDagger590/McRPG
-
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.
Merge pull request DiamondDagger590#89 from Eunoians/blood
1.16.2
- Loading branch information
Showing
74 changed files
with
2,707 additions
and
430 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
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
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/Comradery.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.UnlockedAbilities; | ||
|
||
public class Comradery extends BaseAbility{ | ||
|
||
public Comradery(boolean isToggled, int currentTier) { | ||
super(UnlockedAbilities.COMRADERY, isToggled, currentTier); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/DivineFur.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.UnlockedAbilities; | ||
|
||
public class DivineFur extends BaseAbility{ | ||
|
||
public DivineFur(boolean isToggled, int currentTier) { | ||
super(UnlockedAbilities.DIVINE_FUR, isToggled, currentTier); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/FuryOfCerberus.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.UnlockedAbilities; | ||
|
||
public class FuryOfCerberus extends BaseAbility{ | ||
|
||
public FuryOfCerberus(boolean isToggled, int currentTier) { | ||
super(UnlockedAbilities.FURY_OF_CERBERUS, isToggled, currentTier); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/Gore.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.DefaultAbilities; | ||
|
||
public class Gore extends BaseAbility{ | ||
|
||
public Gore(boolean isToggled) { | ||
super(DefaultAbilities.GORE, isToggled, 0, true); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/LinkedFangs.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.UnlockedAbilities; | ||
|
||
public class LinkedFangs extends BaseAbility{ | ||
|
||
public LinkedFangs(boolean isToggled, int currentTier) { | ||
super(UnlockedAbilities.LINKED_FANGS, isToggled, currentTier); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/PETAsWrath.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.UnlockedAbilities; | ||
|
||
public class PETAsWrath extends BaseAbility{ | ||
|
||
public PETAsWrath(boolean isToggled, int currentTier) { | ||
super(UnlockedAbilities.PETAS_WRATH, isToggled, currentTier); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/us/eunoians/mcrpg/abilities/taming/SharpenedFangs.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,11 @@ | ||
package us.eunoians.mcrpg.abilities.taming; | ||
|
||
import us.eunoians.mcrpg.abilities.BaseAbility; | ||
import us.eunoians.mcrpg.types.UnlockedAbilities; | ||
|
||
public class SharpenedFangs extends BaseAbility{ | ||
|
||
public SharpenedFangs(boolean isToggled, int currentTier) { | ||
super(UnlockedAbilities.SHARPENED_FANGS, isToggled, currentTier); | ||
} | ||
} |
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
19 changes: 19 additions & 0 deletions
19
src/main/java/us/eunoians/mcrpg/api/events/mcrpg/taming/ComraderyEvent.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,19 @@ | ||
package us.eunoians.mcrpg.api.events.mcrpg.taming; | ||
|
||
import lombok.Getter; | ||
import org.bukkit.entity.Wolf; | ||
import us.eunoians.mcrpg.abilities.taming.Comradery; | ||
import us.eunoians.mcrpg.api.events.mcrpg.AbilityActivateEvent; | ||
import us.eunoians.mcrpg.players.McRPGPlayer; | ||
import us.eunoians.mcrpg.types.AbilityEventType; | ||
|
||
public class ComraderyEvent extends AbilityActivateEvent{ | ||
|
||
@Getter | ||
private Wolf wolf; | ||
|
||
public ComraderyEvent(McRPGPlayer mcRPGPlayer, Comradery comradery, Wolf wolf){ | ||
super(comradery, mcRPGPlayer, AbilityEventType.COMBAT); | ||
this.wolf = wolf; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/main/java/us/eunoians/mcrpg/api/events/mcrpg/taming/DivineFurEvent.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,24 @@ | ||
package us.eunoians.mcrpg.api.events.mcrpg.taming; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.bukkit.event.entity.EntityDamageEvent; | ||
import us.eunoians.mcrpg.abilities.taming.DivineFur; | ||
import us.eunoians.mcrpg.api.events.mcrpg.AbilityActivateEvent; | ||
import us.eunoians.mcrpg.players.McRPGPlayer; | ||
import us.eunoians.mcrpg.types.AbilityEventType; | ||
|
||
public class DivineFurEvent extends AbilityActivateEvent{ | ||
|
||
@Getter | ||
private EntityDamageEvent.DamageCause damageCause; | ||
|
||
@Getter @Setter | ||
private double percentProtected; | ||
|
||
public DivineFurEvent(McRPGPlayer mcRPGPlayer, DivineFur divineFur, EntityDamageEvent.DamageCause damageCause, double percentProtected){ | ||
super(divineFur, mcRPGPlayer, AbilityEventType.RECREATIONAL); | ||
this.damageCause = damageCause; | ||
this.percentProtected = percentProtected; | ||
} | ||
} |
Oops, something went wrong.