Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Card-Forge/forge
/ add
Method
add
forge-game/src/main/java/forge/game/cost/Cost.java:980–982 ·
view source on GitHub ↗
(Cost cost1)
Source
from the content-addressed store, hash-verified
978
}
979
980
public
Cost add(Cost cost1) {
981
return
add(cost1, true);
982
}
983
public
Cost add(Cost cost1, boolean mergeAdditional) {
984
return
add(cost1, mergeAdditional, null);
985
}
Callers
11
getAttackCost
Method · 0.95
getBlockCost
Method · 0.95
adjust
Method · 0.95
mergeTo
Method · 0.95
copyWithManaCostReplaced
Method · 0.95
buildFusedAbility
Method · 0.95
getTotalWardCost
Method · 0.95
chooseNumberForKeywordCost
Method · 0.95
chooseOptionalCosts
Method · 0.95
canPlaySpellWithoutBuyback
Method · 0.95
checkApiLogic
Method · 0.95
Calls
15
getCostMana
Method · 0.95
getMana
Method · 0.95
getXMin
Method · 0.95
addManaCost
Method · 0.95
isExiledCreatureCost
Method · 0.95
isEnchantedCreatureCost
Method · 0.95
toManaCost
Method · 0.95
getMaxWaterbend
Method · 0.95
sort
Method · 0.95
getCostParts
Method · 0.80
isZero
Method · 0.80
convertAmount
Method · 0.80
Tested by
no test coverage detected