mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 16:29:39 +00:00
More trajectory changes
This commit is contained in:
1 parent
77325428fa
commit
6ea7d0ac7d
16 files changed
+224
-159
No files matched your search
@@ -68,11 +68,11 @@ public class EntityAbilityOrb extends EntityAbilityProjectile {
|
||||
double x, double y, double z, float orbSize,
|
||||
EnergyDisplayData display, EnergyCombatData combat,
|
||||
EnergyHomingData homing, EnergyLightningData lightning,
|
||||
EnergyLifespanData lifespan) {
|
||||
EnergyLifespanData lifespan, EnergyTrajectoryData trajectory) {
|
||||
super(world);
|
||||
|
||||
// Initialize base properties
|
||||
initProjectile(owner, target, x, y, z, orbSize, display, combat, lightning, lifespan);
|
||||
initProjectile(owner, target, x, y, z, orbSize, display, combat, lightning, lifespan, trajectory);
|
||||
|
||||
this.homingData = homing;
|
||||
|
||||
@@ -273,6 +273,10 @@ public class EntityAbilityOrb extends EntityAbilityProjectile {
|
||||
this.posZ += motionZ;
|
||||
}
|
||||
|
||||
private void updateTrajectory() {
|
||||
|
||||
}
|
||||
|
||||
private void updateHoming() {
|
||||
if (!isHoming()) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user