mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-27 06:02:18 +00:00
8a7671ad8b
- renamed APowerMorph::Player to avoid accidental confusion with AActor::player, which in scripting is the same due to case insensitvity. - renamed save key for above variable.
30 lines
450 B
Text
30 lines
450 B
Text
class MorphProjectile : Actor native
|
|
{
|
|
|
|
native Class<PlayerPawn> PlayerClass;
|
|
native Class<Actor> MonsterClass, MorphFlash, UnMorphFlash;
|
|
native int Duration, MorphStyle;
|
|
|
|
Default
|
|
{
|
|
Damage 1;
|
|
Projectile;
|
|
-ACTIVATEIMPACT
|
|
-ACTIVATEPCROSS
|
|
}
|
|
}
|
|
|
|
class MorphedMonster : Actor native
|
|
{
|
|
native Actor UnmorphedMe;
|
|
native int UnmorphTime, MorphStyle;
|
|
native Class<Actor> MorphExitFlash;
|
|
|
|
Default
|
|
{
|
|
Monster;
|
|
-COUNTKILL
|
|
+FLOORCLIP
|
|
}
|
|
}
|
|
|