forked from GitHub-Mirrors/foundry-sw5e
Revert back to hp instead of hull/shld for compatibility
Left the dice separated out since hit die are controlled by character level.
This commit is contained in:
parent
d0eae64241
commit
0607152f51
3 changed files with 33 additions and 25 deletions
|
@ -319,6 +319,11 @@ export default class Actor5e extends Actor {
|
|||
// Proficiency
|
||||
data.attributes.prof = Math.floor((Math.max(data.details.tier, 1) + 7) / 4);
|
||||
|
||||
// Link hull to hp and shields to temp hp
|
||||
data.attributes.hull.value = data.attributes.hp.value;
|
||||
data.attributes.hull.max = data.attributes.hp.max;
|
||||
data.attributes.shld.value = data.attributes.hp.temp;
|
||||
data.attributes.shld.max = data.attributes.hp.tempmax;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue