forked from public/foundryvtt-reve-de-dragon
Compute initiative
This commit is contained in:
@ -75,7 +75,15 @@ export class RdDActorSheet extends ActorSheet {
|
||||
if (melee.name == arme.data.competence )
|
||||
arme.data.niveau = melee.data.niveau
|
||||
}
|
||||
}
|
||||
for ( const tir of data.competenceByCategory.tir ) {
|
||||
if (tir.name == arme.data.competence )
|
||||
arme.data.niveau = tir.data.niveau
|
||||
}
|
||||
for ( const lancer of data.competenceByCategory.lancer ) {
|
||||
if (lancer.name == arme.data.competence )
|
||||
arme.data.niveau = lancer.data.niveau
|
||||
}
|
||||
}
|
||||
|
||||
// To avoid armour and so on...
|
||||
data.data.armes_seules = duplicate( this._checkNull(data.itemsByType['arme']));
|
||||
|
Reference in New Issue
Block a user