mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 14:14:48 +00:00
Add Ignore I-Frames to Abilities
This commit is contained in:
1 parent
f969b9f540
commit
22135344e8
3 files changed
+17
-6
No files matched your search
@@ -136,6 +136,17 @@ public interface IAbility extends IAbilityAction {
|
||||
*/
|
||||
void setInterruptible(boolean interruptible);
|
||||
|
||||
/**
|
||||
* Check if this ability ignores target invulnerability frames (hurt resistance).
|
||||
*/
|
||||
boolean isIgnoreIFrames();
|
||||
|
||||
/**
|
||||
* Set whether this ability ignores target invulnerability frames (hurt resistance).
|
||||
* @param ignore Whether to ignore invulnerability frames.
|
||||
*/
|
||||
void setIgnoreIFrames(boolean ignore);
|
||||
|
||||
/**
|
||||
* Get the lock movement type for this ability.
|
||||
*
|
||||
|
||||
@@ -24,12 +24,6 @@ public interface IAbilityHazard extends IAbilityZone {
|
||||
/** @param interval Damage interval in ticks. */
|
||||
void setDamageInterval(int interval);
|
||||
|
||||
/** @return Whether damage ignores entity invulnerability frames. */
|
||||
boolean isIgnoreInvulnFrames();
|
||||
|
||||
/** @param ignore Whether to ignore invulnerability frames. */
|
||||
void setIgnoreInvulnFrames(boolean ignore);
|
||||
|
||||
/** @return Whether the hazard also damages the caster. */
|
||||
boolean isAffectsCaster();
|
||||
|
||||
|
||||
@@ -87,4 +87,10 @@ public interface IEnergyAbility<T extends Entity> extends IEntity<T> {
|
||||
|
||||
/** @return Charge progress as a fraction (0.0-1.0). */
|
||||
float getChargeProgress();
|
||||
|
||||
/** @return Whether this entity ignores target invulnerability frames when dealing damage. */
|
||||
boolean isIgnoreIFrames();
|
||||
|
||||
/** @param ignore Whether this entity should ignore target invulnerability frames when dealing damage. */
|
||||
void setIgnoreIFrames(boolean ignore);
|
||||
}
|
||||
Reference in new issue
Block a user