User Tools

Site Tools


commands:stats:defense

Defense


Defense is one of the four stats in Discord Dungeons. It reduces the amount of damage received by an enemy mob or player.

Players can assign their unassigned attribute points to defense by entering: #!assign defense <amount>

Stat increases in a nutshell

Every X in defenseEffect
10-1 Damage taken from enemies

Codes

//User damage taken, defense calculation\\
userLoose -= Math.floor(users[user]["stats"]["defense"]/10);

Discussion

Graru1graru1, 2016/05/05 05:09

Every 10 points in Defense decreases the damage the enemy deal by 1.

You could leave a comment if you were logged in.
commands/stats/defense.txt · Last modified: 2016/12/17 08:22 by i_have_a_cat