public class AssayingRiftEffect extends java.lang.Object implements OnFireEffectPlugin, OnHitEffectPlugin, EveryFrameWeaponEffectPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
AssayingRiftEffect.AssayingRiftCount |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ASSAYING_RIFT |
static float |
HEAL_AMOUNT |
static java.lang.String |
HUNGERING_RIFT_HEAL_MOD_HUMAN_SHIPS |
static java.lang.String |
HUNGERING_RIFT_HEAL_MULT_STAT |
static int |
MAX_RIFTS
One Hungering Rift weapon can produce up to 5 or so rifts at a time if they're fired non-stop and don't hit anything early.
|
| Constructor and Description |
|---|
AssayingRiftEffect() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount,
CombatEngineAPI engine,
WeaponAPI weapon)
Called before this frame's operations for the weapon - turning, firing, etc.
|
static float |
getHealMult(ShipAPI toHeal) |
void |
onFire(DamagingProjectileAPI projectile,
WeaponAPI weapon,
CombatEngineAPI engine) |
void |
onHit(DamagingProjectileAPI projectile,
CombatEntityAPI target,
org.lwjgl.util.vector.Vector2f point,
boolean shieldHit,
ApplyDamageResultAPI damageResult,
CombatEngineAPI engine) |
public static java.lang.String HUNGERING_RIFT_HEAL_MULT_STAT
public static java.lang.String HUNGERING_RIFT_HEAL_MOD_HUMAN_SHIPS
public static float HEAL_AMOUNT
public static java.lang.String ASSAYING_RIFT
public static int MAX_RIFTS
public AssayingRiftEffect()
public void advance(float amount, CombatEngineAPI engine, WeaponAPI weapon)
EveryFrameWeaponEffectPluginadvance in interface EveryFrameWeaponEffectPluginpublic void onHit(DamagingProjectileAPI projectile, CombatEntityAPI target, org.lwjgl.util.vector.Vector2f point, boolean shieldHit, ApplyDamageResultAPI damageResult, CombatEngineAPI engine)
onHit in interface OnHitEffectPluginpublic static float getHealMult(ShipAPI toHeal)
public void onFire(DamagingProjectileAPI projectile, WeaponAPI weapon, CombatEngineAPI engine)
onFire in interface OnFireEffectPlugin