2016-10-18 13:15:06 +00:00
|
|
|
|
|
|
|
// Cleric Boss (Traductus) --------------------------------------------------
|
|
|
|
|
|
|
|
class ClericBoss : Actor
|
|
|
|
{
|
|
|
|
Default
|
|
|
|
{
|
|
|
|
Health 800;
|
|
|
|
PainChance 50;
|
|
|
|
Speed 25;
|
|
|
|
Radius 16;
|
|
|
|
Height 64;
|
|
|
|
Monster;
|
|
|
|
+FLOORCLIP +TELESTOMP
|
|
|
|
+DONTMORPH
|
|
|
|
PainSound "PlayerClericPain";
|
|
|
|
DeathSound "PlayerClericCrazyDeath";
|
2018-11-24 12:37:01 +00:00
|
|
|
Obituary "$OB_CBOSS";
|
|
|
|
Tag "$FN_CBOSS";
|
2016-10-18 13:15:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
CLER A 2;
|
|
|
|
CLER A 3 A_ClassBossHealth;
|
|
|
|
CLER A 5 A_Look;
|
|
|
|
Wait;
|
|
|
|
See:
|
|
|
|
CLER ABCD 4 A_FastChase;
|
|
|
|
Loop;
|
|
|
|
Pain:
|
|
|
|
CLER H 4;
|
|
|
|
CLER H 4 A_Pain;
|
|
|
|
Goto See;
|
|
|
|
Melee:
|
|
|
|
Missile:
|
|
|
|
CLER EF 8 A_FaceTarget;
|
|
|
|
CLER G 10 A_ClericAttack;
|
|
|
|
Goto See;
|
|
|
|
Death:
|
|
|
|
CLER I 6;
|
|
|
|
CLER K 6 A_Scream;
|
|
|
|
CLER LL 6;
|
|
|
|
CLER M 6 A_NoBlocking;
|
|
|
|
CLER NOP 6;
|
|
|
|
CLER Q -1;
|
|
|
|
Stop;
|
|
|
|
XDeath:
|
|
|
|
CLER R 5 A_Scream;
|
|
|
|
CLER S 5;
|
|
|
|
CLER T 5 A_NoBlocking;
|
|
|
|
CLER UVWXYZ 5;
|
|
|
|
CLER [ -1;
|
|
|
|
Stop;
|
|
|
|
Ice:
|
|
|
|
CLER \ 5 A_FreezeDeath;
|
|
|
|
CLER \ 1 A_FreezeDeathChunks;
|
|
|
|
Wait;
|
|
|
|
Burn:
|
2020-01-04 13:15:32 +00:00
|
|
|
CLER C 5 Bright A_StartSound("PlayerClericBurnDeath");
|
2016-10-18 13:15:06 +00:00
|
|
|
FDTH D 4 Bright ;
|
|
|
|
FDTH G 5 Bright ;
|
|
|
|
FDTH H 4 Bright A_Scream;
|
|
|
|
FDTH I 5 Bright ;
|
|
|
|
FDTH J 4 Bright ;
|
|
|
|
FDTH K 5 Bright ;
|
|
|
|
FDTH L 4 Bright ;
|
|
|
|
FDTH M 5 Bright ;
|
|
|
|
FDTH N 4 Bright ;
|
|
|
|
FDTH O 5 Bright ;
|
|
|
|
FDTH P 4 Bright ;
|
|
|
|
FDTH Q 5 Bright ;
|
|
|
|
FDTH R 4 Bright ;
|
|
|
|
FDTH S 5 Bright A_NoBlocking;
|
|
|
|
FDTH T 4 Bright ;
|
|
|
|
FDTH U 5 Bright ;
|
|
|
|
FDTH V 4 Bright ;
|
|
|
|
Stop;
|
|
|
|
}
|
2016-11-26 12:18:48 +00:00
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
//
|
|
|
|
// A_ClericAttack
|
|
|
|
//
|
|
|
|
//============================================================================
|
|
|
|
|
|
|
|
void A_ClericAttack()
|
|
|
|
{
|
|
|
|
if (!target) return;
|
|
|
|
|
|
|
|
Actor missile = SpawnMissileZ (pos.z + 40., target, "HolyMissile");
|
|
|
|
if (missile != null) missile.tracer = null; // No initial target
|
2020-01-04 13:15:32 +00:00
|
|
|
A_StartSound ("HolySymbolFire", CHAN_WEAPON);
|
2016-11-26 12:18:48 +00:00
|
|
|
}
|
2016-10-18 13:15:06 +00:00
|
|
|
}
|