Additions #107
@ -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