Gestion armes naturelles sur defense
All checks were successful
Release Creation / build (release) Successful in 1m51s
All checks were successful
Release Creation / build (release) Successful in 1m51s
This commit is contained in:
parent
14f324360d
commit
03366fdf26
@ -123,10 +123,10 @@ export class RdDItemArme extends Item {
|
||||
if (defCategory == 'bouclier') {
|
||||
return 'norm'
|
||||
}
|
||||
if (armeAttaque.system.competence.toLowerCase().match(/(fléau)/)) {
|
||||
if (armeAttaque?.system?.competence?.toLowerCase().match(/(fléau)/)) {
|
||||
return ''
|
||||
}
|
||||
if (armeParade.system.tir) {
|
||||
if (armeParade.system?.tir) {
|
||||
return ''
|
||||
}
|
||||
const attCategory = RdDItemArme.getCategorieParade(armeAttaque)
|
||||
|
Loading…
x
Reference in New Issue
Block a user