Fix spells
This commit is contained in:
parent
e43be2c832
commit
9b938429f7
@ -27,9 +27,9 @@ class ActorWfrp4e_fr extends ActorWfrp4e {
|
||||
}
|
||||
}
|
||||
if (formula.includes("yard") )
|
||||
formula = formula.replace(ch.concat('yard'), "mètre" );
|
||||
formula = formula.replace('yard', "mètre" );
|
||||
if (formula.includes("yds") )
|
||||
formula = formula.replace(ch.concat('yds'), "m." );
|
||||
formula = formula.replace('yds', "m." );
|
||||
// To evaluate multiplication, replace x with *
|
||||
formula = formula.replace('x', '*');
|
||||
|
||||
@ -117,9 +117,9 @@ class ActorWfrp4e_fr extends ActorWfrp4e {
|
||||
formula = formula.replace("force mentale", actorData.data.characteristics["wp"].value);
|
||||
}
|
||||
if (formula.includes("yard") )
|
||||
formula = formula.replace(ch.concat('yard'), "mètre" );
|
||||
formula = formula.replace('yard', "mètre" );
|
||||
if (formula.includes("yds") )
|
||||
formula = formula.replace(ch.concat('yds'), "m." );
|
||||
formula = formula.replace('yds', "m." );
|
||||
// Iterate through remaining characteristics
|
||||
for(let ch in actorData.data.characteristics)
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "WH4-fr-translation",
|
||||
"title": "Traduction du module WH4 en Français.",
|
||||
"description": "La traduction du module WH4.",
|
||||
"version": "0.54",
|
||||
"version": "0.55",
|
||||
"minimumCoreVersion" : "0.5.1",
|
||||
"compatibleCoreVersion": "0.5.5",
|
||||
"author": "LeRatierBretonnien",
|
||||
|
Loading…
Reference in New Issue
Block a user