Limit stomp/hammer shockwave vertical movement so they no longer hug the floor.
This commit is contained in:
parent
4bcee65ace
commit
46c25250a4
2 changed files with 6 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r949 \cu(Mon 4 Sep 14:08:18 CEST 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r949 \cu(2023-09-04 14:08:18)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r950 \cu(Mon 4 Sep 14:21:31 CEST 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r950 \cu(2023-09-04 14:21:31)\c-";
|
||||
|
|
|
|||
|
|
@ -227,7 +227,8 @@ Class DemolitionistRadiusShockwave : Actor
|
|||
Spawn:
|
||||
XZW1 A 1
|
||||
{
|
||||
SetZ(floorz);
|
||||
double diffz = clamp(floorz-pos.z,-speed,speed);
|
||||
SetZ(pos.z+diffz);
|
||||
pitch = min(85,(pitch+2)*1.05);
|
||||
if ( !Random[ExploS](0,3) )
|
||||
{
|
||||
|
|
@ -249,7 +250,8 @@ Class DemolitionistRadiusShockwave : Actor
|
|||
Death:
|
||||
XZW1 A 1
|
||||
{
|
||||
SetZ(floorz);
|
||||
double diffz = clamp(floorz-pos.z,-speed,speed);
|
||||
SetZ(pos.z+diffz);
|
||||
A_FadeOut(.05);
|
||||
A_SetScale(scale.x*1.1,scale.y*.97);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue