Add secret difficulty for a dragon.

Remove 2x speed mult from hardest skill(s) (causes glitches).
Allow moths to still attack while following the lamp.
(Still do not know what causes moths to print "asin domain error" to terminal).
This commit is contained in:
Mari the Deer 2023-10-16 13:58:36 +02:00
commit f78b747ff7
7 changed files with 71 additions and 31 deletions

View file

@ -232,7 +232,12 @@ Class LampMoth : Actor
Loop;
See.Entranced: // follow the lamp
XZW1 B 0 A_JumpIf(!isEntranced(),"Spawn");
XZW1 BC 1 A_FollowLamp();
XZW1 BC 1
{
A_FollowLamp();
// allow moths to still target enemies while following the lamp, but only if they get really close
A_LookEx(LOF_NOSOUNDCHECK|LOF_NOJUMP,maxseedist:150);
}
Loop;
Melee:
XZW1 B 0 A_Scrape();