mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 13:01:03 +00:00
371712c53a
- fixed emission of the self pointer in FxVMFunctionCall. I did not realize that the self expression only sets up a register for the value, not pushing it onto the stack.
38 lines
547 B
Text
38 lines
547 B
Text
|
|
// Oracle -------------------------------------------------------------------
|
|
|
|
class Oracle : Actor
|
|
{
|
|
Default
|
|
{
|
|
Health 1;
|
|
Radius 15;
|
|
Height 56;
|
|
Monster;
|
|
+NOTDMATCH
|
|
+NOBLOOD
|
|
+NEVERRESPAWN
|
|
DamageFactor "Fire", 0.5;
|
|
DamageFactor "SpectralLow", 0;
|
|
MaxDropoffHeight 32;
|
|
Tag "$TAG_ORACLE";
|
|
DropItem "Meat";
|
|
}
|
|
|
|
native void A_WakeOracleSpectre ();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
ORCL A -1;
|
|
Stop;
|
|
Death:
|
|
ORCL BCDEFGHIJK 5;
|
|
ORCL L 5 A_NoBlocking;
|
|
ORCL M 5;
|
|
ORCL N 5 A_WakeOracleSpectre;
|
|
ORCL OP 5;
|
|
ORCL Q -1;
|
|
Stop;
|
|
}
|
|
}
|