Re-trying JITPack
This commit is contained in:
@@ -34,6 +34,7 @@ public class MoveLightningAbility extends Ability{
|
||||
public float bulletAngle = 0f, bulletSpread = 0f;
|
||||
|
||||
public Effect shootEffect = Fx.sparkShoot;
|
||||
public boolean parentizeEffects;
|
||||
public Sound shootSound = Sounds.spark;
|
||||
|
||||
protected float side = 1f;
|
||||
@@ -67,7 +68,7 @@ public class MoveLightningAbility extends Ability{
|
||||
if(Mathf.chance(Time.delta * chance * scl)){
|
||||
float x = unit.x + Angles.trnsx(unit.rotation, offset, width * side), y = unit.y + Angles.trnsy(unit.rotation, offset, width * side);
|
||||
|
||||
shootEffect.at(x, y, unit.rotation, color);
|
||||
shootEffect.at(x, y, unit.rotation, color, parentizeEffects ? unit : null);
|
||||
shootSound.at(unit);
|
||||
|
||||
if(length > 0){
|
||||
|
||||
Reference in New Issue
Block a user