Managev9/v10 + search button
This commit is contained in:
parent
fdbfbf0350
commit
2c015d8f8f
@ -15,7 +15,7 @@ const __statBuild = [
|
||||
//{ modules: ["vehiclehull"], field: "pc", itemfield: "vms", subfield: "avgnrg" },
|
||||
//{ modules: ["powercoremodule"], field: "pc", itemfield: "nrg", subfield: "avgnrg" },
|
||||
{ modules: ["vehiclehull", "mobilitymodule"], itemfield: "man", field: "man", additionnal1: "turningarc45" },
|
||||
{ modules: ["powercoremodule"], field: "pc", itemfield: "pc", additionnal1: "curnrg", additionnal2: "maxnrg" },
|
||||
{ modules: ["powercoremodule"], field: "pc", itemfield: "pc" },
|
||||
{ modules: ["mobilitymodule"], field: "mr", itemfield: "mr" },
|
||||
{ modules: ["propulsionmodule"], field: "ad", itemfield: "ad" },
|
||||
{ modules: ["combatmodule"], field: "fc", itemfield: "fc" },
|
||||
@ -2369,6 +2369,13 @@ export class PegasusActor extends Actor {
|
||||
return false
|
||||
}
|
||||
}
|
||||
// NRG max management
|
||||
if (item.type == "powercoremodule" ) {
|
||||
if (this.system.statistics.pc.maxnrg != item.system.nrg ) {
|
||||
this.update( {'system.statistics.pc.maxnrg': item.system.nrg })
|
||||
}
|
||||
}
|
||||
|
||||
// Cargo management
|
||||
if (__isVehicleCargo[item.type]) {
|
||||
let capacity = this.getCurrentCargoCapacity()
|
||||
|
@ -540,7 +540,7 @@
|
||||
<span class="item-field-label-medium">{{weapon.system.location}}</span>
|
||||
<span class="item-field-label-short">{{weapon.system.dmg}}</span>
|
||||
<span class="item-field-label-medium">{{weapon.system.aoe}}</span>
|
||||
<span class="item-field-label-medium">{{weapon.system.turrent}}</span>
|
||||
<span class="item-field-label-medium">{{weapon.system.turret}}</span>
|
||||
<span class="item-field-label-short">{{weapon.system.nrg}}</span>
|
||||
|
||||
<span class="item-field-label-short">
|
||||
|
Loading…
Reference in New Issue
Block a user