only trigger wiggle on damage / ko, fixes wiggle issue also
This commit is contained in:
parent
d307241f75
commit
ecc6eebdbb
@ -65,7 +65,10 @@ class ConstructAvatar extends Component {
|
|||||||
const { animSource, animTarget, resolution, construct, account } = this.props;
|
const { animSource, animTarget, resolution, construct, account } = this.props;
|
||||||
// a different text object and text construct
|
// a different text object and text construct
|
||||||
if (resolution && resolution !== prevProps.resolution && resolution.event[1].construct === construct.id) {
|
if (resolution && resolution !== prevProps.resolution && resolution.event[1].construct === construct.id) {
|
||||||
return wiggle(construct.id, this.idle);
|
const type = resolution.event[0];
|
||||||
|
// only trigger the wiggle on damage and ko events rather than spam it on everything
|
||||||
|
// also stops wiggle triggering when invert effect is applied
|
||||||
|
if (['Damage', 'Ko'].includes(type)) return wiggle(construct.id, this.idle);
|
||||||
}
|
}
|
||||||
|
|
||||||
// different source object and source construct
|
// different source object and source construct
|
||||||
|
|||||||
@ -1,9 +1,5 @@
|
|||||||
# FIXME
|
# FIXME
|
||||||
game ready not auto starting resolve phase
|
game ready not auto starting resolve phase
|
||||||
|
|
||||||
sleep heal
|
|
||||||
invert animation - too slow
|
|
||||||
slay animation still looks a bit weird
|
slay animation still looks a bit weird
|
||||||
electric / electrocute anim order some issue
|
|
||||||
triaged / decayed / siphoned / electrocute effect removal with purify / purge
|
triaged / decayed / siphoned / electrocute effect removal with purify / purge
|
||||||
inverted green damage ??
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user