IceDrill¶
This is a MultiSkillMove with Beetle and Moth and as such, it is assumed that the attacker is either one and it also means that post-action won't consume their actor turns like normal.
DoCommand calls¶
| # | Conditions | timer | commandtype | data |
|---|---|---|---|---|
| 1 | None | 250.0 | SequentialKeys | {6.0} |
| 2 | DoCommand 1 set combo to a value higher than 2 |
60.0 | PressKeyTimer | {Random integer (cast to float) between 4 and 6 (Confirm, Cancel or Switch input)} |
DoDamage calls¶
| # | Conditions | attacker | target | damageammount | property | overrides | block |
|---|---|---|---|---|---|---|---|
| 1_a | DoCommand 1 set combo to a value higher than 2, done 3 times |
null | availabletargets[target] |
GetMultiDamage for Beetle and Moth / 2.0 * barfill rounded to nearest (to nearest even if ending in .5) + 1 |
Pierce | empty array | false |
| 1_b | Either one of the following happened:
|
null | availabletargets[target] |
1 | null | empty array | false |
| 2 | DoCommand 2 set commandsuccess to true |
null | availabletargets[target] |
GetMultiDamage for Beetle and Moth / 2.0 * barfill rounded to nearest (to nearest even if ending in .5) + 2 |
null | empty array | false |
Additional flip logic¶
DoDamage 1_a doesn't have a Flip property, but the action comes with custom logic that does a reduced version of what the property does and it is also done 3 times, each being done right after DoDamage 1_a call. It only concerns the conditions management and the basestate set in case of a Topple.
Flip is called on the target enemy party member. This method features the same flip handling logic than the damage pipeline, but with 3 key differences:
- It doesn't have any logic about the damage effects (it doesn't apply here)
- It doesn't feature a DropItem call if the enemy party member was holding an item
- It doesn't feature setting
isdefendingto false meaning it will not break their guarding
The rest (including the toppling management and the Flipped condition infliction) are the same.
Logic seqeunce¶
- Both
BeetleandMothhave LockRigid(false) called on them withflipandoverrideflipset to true BeetleMoveTowards (-2.95, 0.0, -1.45) at 2.0x speedMothMoveTowards (-4.25, 0.0, -2.0) at 2.0x speed- Yield until
BeetleandMoth'sforcemoveare done - Both
BeetleandMothhaveflipset to true andoverrideflipset to false - Camera moves slowly to the midpoint between the attacker and the
targetenemy party member Mothanimstate set to 108Prefabs/AnimSpecific/mothbattlesphereinstantiated rooted atMoth's position + (-0.75, 1.55, 0.0) with 90.0 angle in xPrefabs/Objects/SingleSphereinstantiated childed to thePrefabs/AnimSpecific/mothbattlespherewith a local position of Vector3.zero and a MeshRenderer's materiral.color of pure white with half transparencyPrefabs/AnimSpecific/mothbattlespheremoves via an ArcMovement to its position + (2.0, -5.0, 0.0) with 3.0 height over the course of 40.0 frametimePrefabs/AnimSpecific/mothbattlespheredestroyed in 2.0 secondsDigsound playscheckingdeadset to a new KabbuDig call onBeetle- Yield until
checkingdeadis done - Yield for 0.5 seconds
- LockRigid(true) called on
Beetle Beetlemoves towards (MainManager.MoveTowards) thetargetenemy party member + -0.1 in z over 75.0 frametime with smooth- DoCommand 1 call happens
- Yield for 1.0 seconds
- Yield until
doingactionis false commandsuccessis set to whether or notcombois higher than 2 (the command is considered succeeded for this specific action if it is)DigPopsound playsDirtExplodeparticles plays at thetargetenemy party member position- ShakeScreen for 0.1 ammount for 0.75 time with dontreset
- If
commandsuccessis true:WaspDrillsound plays on loopPrefabs/Objects/IceDrillinstantiated rooted at thetargetenemy party member + -5.0 in y with -90.0 angle in xPrefabs/Objects/IceDrillmoves towards (MainManager.MoveTowards) thetargetenemy party member over the course of 10.0 frametime with local (this will smoothly reveal the object from the ground)Mothanimstate set to 101Prefabs/Objects/IceDrillz scale set to 0.75- Camera moves to look at the
targetenemy party member + 2.0 in y Mothanimstate set to 108Prefabs/Objects/IceDrillgets a SpinAround added with anitselfof (0.0, 0.0, -1.5 *combo)Beetleis set to not bediggingBeetley position decreases by 3.0- If the
targetenemy party member's weight is less than 100.0:- LockRigid(true) called on them
- Their y
spinis set to 2.5 *combo
targetenemy party member getsoverrideanimandoverridejumpset to truetargetenemy party member animstate set to 11 (Hurt)- The following is done 3 times:
- If the
targetenemy party member's weight is less than 100.0, they will move to 1.5 in y via an ArcMovement with 4.0 height over 40.0 frametime with theirongroundset to false ShieldHitsound plays with 0.65 volume- DoDamage 1_a call happens
- Flip is called on the
targetenemy party member (see the section above for more details) - If this is the last (third) iteration, DoCommand 2 call happens
Mothanimstate set to 104- Yield for 0.5 seconds
- Yield for 0.1 seconds
- If the
- Yield until
doingactionis false Beetle'sspritelocal position set to Vector3.zerotargetenemy party member'sspinzeroed outWaspDrillsound stopped- If
commandsuccessis true (set by DoCommand 2):BigHitsound playsOverworldIcesound plays at 0.9 pitchDirtExplodeparticles plays at thetargetenemy party membermothicenormalparticles plays atPrefabs/Objects/IceDrill+ 2.0 in y with a uniform scale of 2.5xIceShatterparticles plays atPrefabs/Objects/IceDrill+ 2.0 in y with a uniform scale of 2.5xPrefabs/Objects/IceDrilldestroyed- ShakeScreen with an ammount of 0.2 for 0.85 time with dontreset
Beetle's yspinset to 30.0Beetle'soverrideflipset to falseBeetleanimstate set to 119- If the
targetenemy party member's weight is less than 100.0, they will move to 0.0 in y via an ArcMovement with 7.5 height over 60.0 frametime with theirongroundset to false - DoDamage 2 call happens
Beetlemoves to its initial position before this action + Vector3.up via an ArcMovement with a height of 10.0 over 60.0 frametime- Yield for 1.0 seconds
- FlipAngle(true) called on
Beetle - Camera reset to default slowly
Beetle'sspritelocal position set to Vector3.zero- If
commmandsuccessis false (meaning DoCommand 1 setcomboto 2 or lower OR DoCommand 2 setcommandsuccessto false):Mothanimstate set to 109 if DoCommand 1 didn't setcomboto higher than 2DirtExplodeparticles plays at thetargetenemy party member- If
Prefabs/Objects/IceDrillexists:IceShatterparticles plays where it is + 1.0 in y- It is destroyed
- DoDamage 1_b call happens
Beetlemoves to its initial position before this action via an ArcMovement with a height of 10.0 over 60.0 frametimeBeetleanimstate set to 11 (Hurt)- Yield for 1.0 seconds
- Both
BeetleandMothhave the following happen to them:- MoveTowards their initial position before this action at 2.0x speed with a stopstate of 13 (
BattleIdle) overrideflipset to trueoverrideanimset to falsespinzeroed out- LockRigid(false) called on them
- MoveTowards their initial position before this action at 2.0x speed with a stopstate of 13 (
- Yield until
BeetleandMoth'sforcemoveare done - Both
BeetleandMothhave the following happen to them:overrideanimset to falseflipset to true- position set to initial position before this action
- LockRigid(false) called on
targetenemy party member targetenemy party member'soverrideanimset to false- MultiSkillMove is called with 1 and 2 (normally
BeetleandMoth)