Add converter for disease incubation/duration units
This commit is contained in:
parent
e1e52ca2be
commit
46b47a5b24
@ -662,6 +662,10 @@ Hooks.once('init', () => {
|
|||||||
// Auto-translate duration
|
// Auto-translate duration
|
||||||
"spells_duration_range_target_damage": (value) => {
|
"spells_duration_range_target_damage": (value) => {
|
||||||
return WFRP4FrTranslation.processSpellContent(value);
|
return WFRP4FrTranslation.processSpellContent(value);
|
||||||
|
},
|
||||||
|
// Auto-translate disease duration units
|
||||||
|
"disease_duration_unit": (unit) => {
|
||||||
|
return game.i18n.localize(unit).capitalize();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user