Classes:PowerInfiniteAmmo
Jump to navigation
Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Infinite ammunitions power | |||
---|---|---|---|
Actor type | Power | Game | (ZDoom) |
DoomEd Number | None | Class Name | PowerInfiniteAmmo |
Classes: Inventory→Powerup→PowerInfiniteAmmo
PowerInfiniteAmmo is an internal class. An item of this class is placed in the player's inventory while InfiniteAmmo is active. This powerup lets you fire any weapon without expending ammunitions, until the powerup has expired.
Like all other Powerups, items of this class are never used directly. Instead you have to create a new item that inherits from PowerupGiver to give it to the player.
DECORATE definition
ACTOR PowerInfiniteAmmo : Powerup native { Powerup.Duration -30 }