Editing A SargAttack12
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This codepointer exists since July 29 2014. It causes a melee range hitscan attack similar to player's punch and the same as the demon attacks from old Doom versions (e.g. 1.2). As such, unlike [[Scratch]], [[SargAttack]] and others, it can accidentally hit other creatures than the intended target, especially when the target is partially invisible. It's subjected to the same limitations as other hitscan attacks and it cannot, for example, hit archvile raised "ghosts". | This codepointer exists since July 29 2014. It causes a melee range hitscan attack similar to player's punch and the same as the demon attacks from old Doom versions (e.g. 1.2). As such, unlike [[Scratch]], [[SargAttack]] and others, it can accidentally hit other creatures than the intended target, especially when the target is partially invisible. It's subjected to the same limitations as other hitscan attacks and it cannot, for example, hit archvile raised "ghosts". | ||
In addition to the old Doom behaviour, this codepointer is parameterized: | In addition to the old Doom behaviour, this codepointer is parameterized: | ||
* ''mod'', damage modulus. Default: 10; | * args1: ''mod'', damage modulus. Default: 10; | ||
* ''mul'', damage multiplier. Default: 4 | * args2: ''mul'', damage multiplier. Default: 4. | ||
The damage is random and the formula is this: random(1..''mod'') * ''mul''. Leaving the parameters default will make it inflict 4-40 damage on each hit, like the demon. | The damage is random and the formula is this: random(1..''mod'') * ''mul''. Leaving the parameters default will make it inflict 4-40 damage on each hit, like the demon. | ||
:Back to [[List of codepointers]] | :Back to [[List of codepointers]] | ||
[[Category:Codepointers]] | [[Category:Codepointers]] |