Calculator:Combat/Death Ward

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search
Templates
Templates used
Calculator:Template/Combat/Death_Ward
template  = Calculator:Template/Combat/Death_Ward
form      = deathWardCalcForm
result    = deathWardCalcResult

param     = hpgroup|Player life point values||group|currenthp,maxhp
param     = currenthp|Player's current life points|9000|int|1-32767
param     = maxhp|Player's maximum life points|10100|int|1-32767

param     = damagegroup|Base damage value(s)||group|damagetoggle,damagetaken,damagetakenLow,damagetakenHigh
param     = damagetoggle|Select output||buttonselect|Single,Range|Single=damagetaken;Range=damagetakenLow,damagetakenHigh
param     = damagetaken|Base damage taken|9000|int|1-32767
param     = damagetakenLow|Base damage taken (lower bound)|8000|int|1-32767
param     = damagetakenHigh|Base damage taken (upper bound)|10000|int|1-32767
 
param     = plotgroup|Plot Options||group|outputType
param     = outputType|Select output|Percent damage reduction|buttonselect|Percent damage reduction,Life points remaining
This text will disappear if the form is loaded properly.
This text will disappear if the form is submitted.
Template documentation
This documentation is transcluded from Calculator:Combat/Death Ward/doc. [edit] [history] [purge]

Description

This calculator calculates the damage taken with the Death Ward relic power active. In addition, it also returns the life points taken after the damage and the percent damage reduction.

Player's current life points

This box is used to enter the player's current life points. Accepted values are integers from [1, 32767].

Player's maximum life points

This box is used to enter the player's maximum life points. Accepted values are integers from [1, 32767].

Select output

Choice of returning values for a single hit of damage or a bounded range of damage.

Base Damage Taken

This box is used to enter the base damage taken before the relic power's effect is taken into account. Accepted values are integers from [1, 32767].

Base Damage Taken (lower bound)

This box is used to enter the lower bound of base damage taken before the relic power's effect is taken into account. Accepted values are integers from [1, 32767].

Base Damage Taken (upper bound)

This box is used to enter the upper bound of base damage taken before the relic power's effect is taken into account. Accepted values are integers from [1, 32767].

Select output

Returns either the percent damage reduction or the amount of life points remaining.