v0.1.8
This commit is contained in:
@@ -149,21 +149,6 @@ export class VermineCharacterSheet extends VermineActorSheet {
|
||||
// Rollable abilities.
|
||||
html.find('.rollable').click(this._onRoll.bind(this));
|
||||
|
||||
// Rollable abilities.
|
||||
html.find('input[name="system.identity.age"]').change(ev => {
|
||||
const age = parseInt(ev.target.value,10);
|
||||
let ageType = "2";
|
||||
|
||||
Object.keys(CONFIG.VERMINE.AgeTypes).forEach((type) => {
|
||||
if(age >= parseInt(CONFIG.VERMINE.AgeTypes[type].beginning,10)){
|
||||
ageType = type;
|
||||
}
|
||||
});
|
||||
|
||||
this.actor.update({ 'system.identity.ageType': ageType });
|
||||
|
||||
});
|
||||
|
||||
// Choose Totem
|
||||
html.find('.chooseTotem').click(this._onTotemButton.bind(this));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user