Beetle's basic attack¶
DoCommand calls¶
| # | Conditions | timer | commandtype | data |
|---|---|---|---|---|
| 1 | None | 20.0 | HoldKeyCountdown | {4.0, 1.0} |
DoDamage calls¶
| # | Conditions | attacker | target | damageammount | property | overrides | block |
|---|---|---|---|---|---|---|---|
| 1_a | DoCommand 1 set commandsuccess to true |
Beetle's player party member |
availabletargets[target] |
Beetle's atk unclamped |
Flip | null | false |
| 1_b | DoCommand 1 set commandsuccess to false while DoublePain is unequipped and HARDEST isn't active |
Beetle's player party member |
availabletargets[target] |
Beetle's atk clamped from 0 to 1. NOTE: This incorrectly removes influences of negative atk values |
Flip | {FailSound} | false |
| 1_c | DoCommand 1 set commandsuccess to false while DoublePain is equipped or HARDEST is active |
Beetle's player party member |
availabletargets[target] |
Beetle's atk / 2 floored, unclamped. NOTE: This incorrectly increases atk when it is negative. Additionally, it can also result in a higher value than 1_b's damageammount if the atk value is high enough which is unexpected |
null | {FailSound} | false |
Logic sequence¶
- If in
demomode, CreateHelpBox is called with id 1 - Camera is moved to look at targetentity
- targetentity gets
overridejumpset to true BeetleMoveTowards in front of the enemy (calculated based on itssizeorfreezesize)- Yield until
Beetleis done with itsforcemove - Camera zooms in slightly
Beetleanimstate set to 103- DoCommand 1 call happens
- Yield until
doingactionis false - Camera zooms out slightly
- If
commandsuccess(the action command succeeded):- DoDamage 1_a call happens
Beetleanimstate set to 104- BounceEnemy for the targetentity with bounce of 0 and multiplier of 1.0
- yield until the BounceEnemy is done
- 0.15 seconds yield
- Otherwise (the action command failed)
- If flags 614 is false (HARDEST is inactive) and
DoublePainmedal is unequipped, DoDamage 1_b call happens - Otherwise (on hard mode or HARDEST), DoDamage 1_c call happens
Beetlegetsoverridejumpandoverrideanimset to trueBeetlejumps with an animstate of 106 and a slight -zspin- 0.3 seconds yielded
Beetleanimstate set to 105 with a very slight +zspin- Yield until
Beetleisonground Beetleanimstate set to 107Prefabs/Particles/deathsmokelowinstantated and destroyed in 1.0 seconds- Frame yield
Beetlex/z angles reset to 0.0 andspinzeroed out- 0.45 seconds yield
- If flags 614 is false (HARDEST is inactive) and
- targetentity gets
overrideanimset to false Beetlegetsoverridejumpandoverrideanimset to falseBeetlespin is zeroed out- targetentity gets
overridejumpset to false