DeadLanderB¶
BattleControl.GetEXP special logic¶
This enemy is part of the set of the enemies that yields a different clamping on the rewarded amount of exp given their scaled exp field when they die (processed by CheckDead).
If all of these conditions are fufilled, the rewarded amount of exp is clamped to 20 instead of 15 like most other enemies:
- flags 613 is false (RUIGEE is inactive)
partylevelis less than 27 (not yet at max rank)- Flags 166 is false (not during an EX mode B.O.S.S session)
HardMode changes¶
HardMode being true does the following changes:
- In the aerial slam attack, the frametime of the ForceMove call before the DoDamage call changes to 25.0 fram 32.0
Move selection¶
2 moves are possible:
- A single target vomit attack that hits twice
- A party wide aerial slam attack
The decision of which move to use is based on the following odds:
| Move | Odds |
|---|---|
| 1 | 50% |
| 2 | 50% |
Move 1 - Vomit attack¶
A single target vomit attack that hits twice.
nonphyscal set to true¶
This move always sets nonphyscal to true which affects the effects of the FrostBite, SpikeBod and PoisonTouch medal if equipped on the target.
DoDamage calls¶
| # | Conditions | attacker | target | damageammount | property | overrides | block |
|---|---|---|---|---|---|---|---|
| 1 | Always happen 2 times | This enemy | playertargetID after GetSingleTarget |
3 | Poison | null | commandsuccess |
Logic sequence¶
- GetSingleTarget called
- Camera moves to look near this enemy
- animstate set to 100
bobspeedset to 0.0- ShakeSprite called with 0.1 intensity and 90.0 frametimer
DLBetaChargesound plays- Yield for a second
- Yield for 0.5 seconds
DLBetaDingsound plays- animstate set to 101
DLBetaVomitsound plays- A new sprite object is created childed to
spriteusing theSprites/Entities/deadlanderaindex 57 sprite (vomit) positioned at (-0.8, 0.5, -0.1) with a scale of (0.015 * the distance between this enemy andplayertargetentity, 0.0, 1.0) playertargetentityanimstate set to 11 (Hurt)spritegets an AimConstraint added with an aimVector of (0.0, 1.0, 1.0), a constraintActive of true, a rotationOffset of (0.0, 87.0, -50.0) and a source constraint added with 1.0 weight andplayertargetentitysourceTransform- FlipSpriteBool called on the vomit sprite without x, with y every 3.0 frames during -1.0 frames (infinite)
- Camera moves to look near the midpoint between this enemy and
playertargetentity - The vomit sprite has GradualScale called to change the scale to (0.015 * the distance between this enemy and
playertargetentity, 1.0, 1.0) with 5.0 frametime without destroy - Yield for 0.1 seconds
- Yield for 0.1 seconds
- Done 2 times:
- If
commandsuccessis true (blocking),playertargetentityanimstate is set to 24 (Block) - DoDamage 1 call happens
- Yield for 0.5 seconds
playertargetentityanimstate set to 11 (Hurt)- Yield for 0.25 seconds
- If
- The vomit sprite has GradualScale called to change the scale to (0.015 * the distance between this enemy and
playertargetentity, 0.0, 1.0) with 30.0 frametime without destroy - Yield for 0.5 seconds
- The FlipSpriteBool coroutine is stopped
- Yield a frame
- The vomit sprite gets destroyed
- The AimConstraint on
spritegets destroyed spriteangles reset to Vector3.zero- animstate set to 102
- Yield for 0.5 seconds
bobspeedset tostartbs
Move 2 - Slam attack¶
A party wide aerial slam attack.
PartyDamage¶
| # | Conditions | caller | damage | property | block | jumpheight | spinammount | jumpevenonblock | overrides |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Always happen | This enemy | 5 | null | commandsuccess |
0.0 | Vector3.zero | false | null |
Logic sequence¶
DLFlyOversound playsbobspeedset to 0.0- Camera moves to look near (-4.5, 1.5, 1.25)
- ForceMove to
partymiddle+ 5.0 in y with 70.0 frametime using 100 as movestate and 103 as stopstate DLBetaSpikesound plays- Yield for 0.5 seconds
heightincreased by 0.5- animstate set to 103
- Yield all frames until
forcemovingis done - ShakeSprite called with 0.1 intensity and 90.0 frametimer
- Yield for 0.5 seconds
Fall2sound playsstartscaleset to 1.25x- Yield for a frame
- z
spinset to 15.0 - ForceMove to
partymiddle+ (0.0, 0.0 -spritelocal y position + 0.75, -0.2) with 32.0 frametime (25.0 instead if hardmode is true) using 103 as movestate and 103 as stopstate - animstate set to 103
- Yield all frames until
forcemovingis done Thud3sound playsspinzeroed out- ShakeScreen called with an ammount of 0.1 and 0.75 time
impactsmokeparticles plays atpartymiddle- PartyDamage 1 plays
startscaleset to (1.25, 0.75, 1.0)spritelocal scale set tostartscalespriteangles reset to Vector3.zerospritegets a SpriteBounce added SetUp with a freq of 0.75 and spd of 0.5- A Gradual call starts on the SpriteBounce with a freq of 0.0, 0.0 spd and 45.0 frametime
- Yield for 1 second
- The SpriteBounce is destroyed
- position set to
partymiddle startscalereset to 1.0xspritescale reset to 1.0xheightset to its value before this actionbobspeedset tostartbsDLBetaFlyBacksound plays