|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Weredragon
|
Actor type
|
Monster
|
Game
|
(Heretic)
|
DoomEd Number
|
70
|
Class Name
|
Beast
|
Spawn ID
|
3
|
Identifier
|
T_BEAST
|
Classes: Beast
The Weredragon is a reasonably tough monster exclusive to the registered version of Heretic, appearing as soon as E2M1. It has a powerful ranged attack: a spitted fireball that leaves a trail of smoke. It sometimes drop ethereal crossbows when slain.
ACTOR Beast
{
Health 220
Radius 32
Height 74
Mass 200
Speed 14
Painchance 100
Monster
+FLOORCLIP
SeeSound "beast/sight"
AttackSound "beast/attack"
PainSound "beast/pain"
DeathSound "beast/death"
ActiveSound "beast/active"
Obituary "$OB_BEAST"
DropItem "CrossbowAmmo", 84, 10
States
{
Spawn:
BEAS AB 10 A_Look
Loop
See:
BEAS ABCDEF 3 A_Chase
Loop
Missile:
BEAS H 10 A_FaceTarget
BEAS I 10 A_CustomComboAttack("BeastBall", 32, random[BeastAttack](1,8)*3, "beast/attack")
Goto See
Pain:
BEAS G 3
BEAS G 3 A_Pain
Goto See
Death:
BEAS R 6
BEAS S 6 A_Scream
BEAS TUV 6
BEAS W 6 A_NoBlocking
BEAS XY 6
BEAS Z -1
Stop
XDeath:
BEAS J 5
BEAS K 6 A_Scream
BEAS L 5
BEAS M 6
BEAS N 5
BEAS O 6 A_NoBlocking
BEAS P 5
BEAS Q -1
Stop
}
}