From ZDoom Wiki
Jump to navigation Jump to search
For more information on this article, visit the A_Punch page on the Doom Wiki.


(no parameters)

Doom's standard fist attack. This checks whether the player has the Berserk pack by looking for the presence of a PowerStrength item in the inventory. Damage is 2x 1d10, multiplied again by 10 when berserk.

You can implement A_Punch using A_CustomPunch. You can find an example of how to do this on that action's page (near the bottom).


This example is taken from Doom's Fist weapon.

    PUNG B 4
    PUNG C 4 A_Punch
    PUNG D 5
    PUNG C 4
    PUNG B 5 A_ReFire
    goto Ready