Use damage distribution numbers

This commit is contained in:
Cmdr McDonald
2017-01-15 17:10:46 +00:00
parent 1e5f66e528
commit 5bbc6e1cbe
7 changed files with 44 additions and 43 deletions

View File

@@ -650,10 +650,10 @@ export default class Module {
}
/**
* Get the damage type for this module, taking in to account modifications
* @return {string} the damage types for this module; any combination of E T and K
* Get the damage distribution for this module, taking in to account modifications
* @return {string} the damage distribution for this module
*/
getDamageType() {
return this.getModValue('type') || this.type;
getDamageDist() {
return this.getModValue('damagedist') || this.damagedist;
}
}