DAMAGE ODAMAGE MDAMAGE WDAMAGE

From 4Dimensions
Jump to: navigation, search

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