Difference between revisions of "DAMAGE ODAMAGE MDAMAGE WDAMAGE"
From 4Dimensions
(Created page with "'''%DAMAGE% ODAMAGE MDAMAGE WDAMAGE''' Category:Help Files %DAMAGE% ODAMAGE MDAMAGE WDAMAGE %DAMAGE% ODAMAGE MDAMAGE WDAMAGE %DAMAGE% ODAMAGE MDAMAGE WDAMAGE %damage% ...") |
(Bot: Automated import of articles *** existing text overwritten ***) |
||
Line 1: | Line 1: | ||
− | ''' | + | '''DAMAGE ODAMAGE MDAMAGE WDAMAGE''' |
[[Category:Help Files]] | [[Category:Help Files]] | ||
Line 7: | Line 7: | ||
%DAMAGE% ODAMAGE MDAMAGE WDAMAGE | %DAMAGE% ODAMAGE MDAMAGE WDAMAGE | ||
+ | |||
+ | |||
%damage% %victim% amount | %damage% %victim% amount | ||
+ | |||
+ | |||
Cause amount points of damage to victim. The amount can be negative, to | Cause amount points of damage to victim. The amount can be negative, to | ||
create a healing effect. | create a healing effect. | ||
+ | |||
+ | |||
%damage% %actor% -20 - cause 20 points of healing | %damage% %actor% -20 - cause 20 points of healing | ||
Line 19: | Line 25: | ||
%damage% %actor% %random.20% - cause 1-20 points damage randomly | %damage% %actor% %random.20% - cause 1-20 points damage randomly | ||
+ | |||
+ | |||
eval stunned %actor.hitp% - evaluate all hitpoints and then damage | eval stunned %actor.hitp% - evaluate all hitpoints and then damage | ||
%damage% %actor% %stunned% - leaving the player stunned, but will recover | %damage% %actor% %stunned% - leaving the player stunned, but will recover | ||
+ | |||
+ | |||
eval num_hitp %actor.hitp%/2 - calculate half of hitpoints and then damage | eval num_hitp %actor.hitp%/2 - calculate half of hitpoints and then damage | ||
Line 28: | Line 38: | ||
%damage% %actor% %num_hitp% | %damage% %actor% %num_hitp% | ||
− | |||
− | TSTAT 3008 | + | |
+ | Example: {cRTSTAT 16 | ||
+ | |||
+ | TSTAT 3008{c0 | ||
+ | |||
+ | |||
See Also: [[DEATH]] | See Also: [[DEATH]] |
Latest revision as of 04:00, 26 January 2016
DAMAGE ODAMAGE MDAMAGE WDAMAGE
%DAMAGE% ODAMAGE MDAMAGE WDAMAGE
%DAMAGE% ODAMAGE MDAMAGE WDAMAGE
%DAMAGE% ODAMAGE MDAMAGE WDAMAGE
%damage% %victim% amount
Cause amount points of damage to victim. The amount can be negative, to
create a healing effect.
%damage% %actor% -20 - cause 20 points of healing
%damage% %actor% 20 - cause 20 points damage
%damage% %actor% %random.20% - cause 1-20 points damage randomly
eval stunned %actor.hitp% - evaluate all hitpoints and then damage
%damage% %actor% %stunned% - leaving the player stunned, but will recover
eval num_hitp %actor.hitp%/2 - calculate half of hitpoints and then damage
%damage% %actor% %num_hitp%
Example: {cRTSTAT 16
TSTAT 3008{c0
See Also: DEATH