mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-08 22:11:09 +00:00
62ffe7e4e2
- Fixed: Heretic and Hexen completely skip all normal Z processing on mobjs with FLOATBOB set. To emulate that, we need to add NOGRAVITY to everything with that flag set.
41 lines
701 B
Text
41 lines
701 B
Text
|
|
// Silver Shield (Shield1) --------------------------------------------------
|
|
|
|
Actor SilverShield : BasicArmorPickup 85
|
|
{
|
|
Game Heretic
|
|
SpawnID 68
|
|
+FLOATBOB
|
|
+NOGRAVITY
|
|
Inventory.Pickupmessage "$TXT_ITEMSHIELD1"
|
|
Inventory.Icon "SHLDA0"
|
|
Armor.Savepercent 50
|
|
Armor.Saveamount 100
|
|
States
|
|
{
|
|
Spawn:
|
|
SHLD A -1
|
|
stop
|
|
}
|
|
}
|
|
|
|
// Enchanted shield (Shield2) -----------------------------------------------
|
|
|
|
Actor EnchantedShield : BasicArmorPickup 31
|
|
{
|
|
Game Heretic
|
|
SpawnID 69
|
|
+FLOATBOB
|
|
+NOGRAVITY
|
|
Inventory.Pickupmessage "$TXT_ITEMSHIELD2"
|
|
Inventory.Icon "SHD2A0"
|
|
Armor.Savepercent 75
|
|
Armor.Saveamount 200
|
|
States
|
|
{
|
|
Spawn:
|
|
SHD2 A -1
|
|
stop
|
|
}
|
|
}
|
|
|