completed attackpart.clone() which was missing some elements
This commit is contained in:
parent
26f3512372
commit
8a89007304
@ -138,6 +138,10 @@ public class attackPart {
|
|||||||
this.knockbackOnHit = aP.getKnockbackOnHit();
|
this.knockbackOnHit = aP.getKnockbackOnHit();
|
||||||
this.knockbackOnBlock = aP.getKnockbackOnBlock();
|
this.knockbackOnBlock = aP.getKnockbackOnBlock();
|
||||||
this.damage = aP.getDamage();
|
this.damage = aP.getDamage();
|
||||||
|
this.isLow = aP.isLow();
|
||||||
|
this.isOverHead = aP.isOverHead();
|
||||||
|
this.knocksDown = aP.knocksDown();
|
||||||
|
if(this.frames.length >= 1) {this.frames[this.frames.length -1].setLastFrameOfHit(true);}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isHasHit() {
|
public boolean isHasHit() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user