Added Eightball "2 second hold" feature from Unreal Bible.

Added Stinger projectile bounce from 0.866 and below.
Added Stinger damage charge&explosion from Unreal Bible.
This commit is contained in:
Marisa the Magician 2019-09-07 14:44:56 +02:00
commit 46ebde2750
8 changed files with 309 additions and 7 deletions

View file

@ -577,13 +577,26 @@ Class Eightball : UnrealWeapon
EBLL LMNOPQRSTUVWXYZ[ 1;
EBLL Z 0;
EBLI A 0;
EBLI A 1 A_JumpIf(invoker.special1>=6,2);
EBLI A 1
{
if ( invoker.special1 >= 6 )
{
if ( sting_ehold )
{
invoker.special2 = 70;
return ResolveState("LoadHold");
}
else return ResolveState("Release");
}
return ResolveState(null);
}
EBLI A 0 A_LoadedRefire("Loading");
Goto Release;
EBLI A 2;
LoadHold:
EBLI C 2;
EBLI C 0 A_LoadedRefire("LoadHold");
EBLI A 2;
LoadHoldL:
EBLI C 1 A_JumpIf(--invoker.special2<0,"Release");
EBLI C 0 A_LoadedRefire("LoadHoldL");
Goto Release;
Release:
EBLF A 0 A_FireRockets(invoker.special1);