Português (BR)
uesp-eso-build-wrapper / isCpNodePurchaseable
Function: isCpNodePurchaseable()
isCpNodePurchaseable(
abilityId,nodes,graph,getPoints):boolean
Convenience single-node check. Prefer createCpGate / computePurchaseableNodes when checking more than one node, since this recomputes the whole flood-fill per call.
Parameters
abilityId
number
nodes
readonly CpGateNode[]
graph
Readonly<Record<number, number[]>>
getPoints
(abilityId) => number
Returns
boolean