Skip to content

Class: ManaCost

The mana cost of a card or ability.

URI: mtgo:ManaCost

 classDiagram
    class ManaCost
      Mana <|-- ManaCost
      Cost <|-- ManaCost

      ManaCost : color
      ManaCost : hybrid
      ManaCost : id
      ManaCost : intersection
      ManaCost : phyrexian
      ManaCost : snow
      ManaCost : union
      ManaCost : value
      ManaCost : variable_cost

Inheritance

Slots

Name Cardinality and Range Description Inheritance
color 1..*
Color
The color of a card Mana
snow 0..1
xsd:boolean
A snow mana cost can be paid with a snow source, regardless of its color Mana
phyrexian 0..1
xsd:boolean
A phyrexian mana cost can be paid with either 2 life or 1 mana of its compone... Mana
hybrid 0..1
xsd:boolean
A hybrid mana cost can be paid with 1 mana of either of its component colors Mana
value 0..1
xsd:integer
The numeric part of a quantitative value Cost
intersection 0..1
Cost
A conjunction of two objects (a and b) Cost
union 0..1
Cost
A disjunction of two objects (a or b) Cost
variable_cost 0..1
xsd:boolean
Whether a cost is variable Cost
id 1..1
xsd:anyURI
A unique identifier for a thing Thing

Usages

used by used in type used
Card mana_cost range ManaCost
Sorcery mana_cost range ManaCost
Instant mana_cost range ManaCost
Enchantment mana_cost range ManaCost
Artifact mana_cost range ManaCost
Creature mana_cost range ManaCost
Land mana_cost range ManaCost
AbilityCollection mana_costs range ManaCost

See Also

Identifier and Mapping Information

Schema Source

  • from schema: https://cmdoret.net/mtg_ontology/

Mappings

Mapping Type Mapped Value
self mtgo:ManaCost
native mtgo:ManaCost

LinkML Source

Direct

name: ManaCost
description: The mana cost of a card or ability.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:Mana_cost
rank: 1000
is_a: Cost
mixins:
- Mana
class_uri: mtgo:ManaCost

Induced

name: ManaCost
description: The mana cost of a card or ability.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:Mana_cost
rank: 1000
is_a: Cost
mixins:
- Mana
attributes:
  color:
    name: color
    description: The color of a card.
    from_schema: https://cmdoret.net/mtg_ontology/
    rank: 1000
    slot_uri: mtgo:color
    multivalued: true
    alias: color
    owner: ManaCost
    domain_of:
    - Token
    - Card
    - Mana
    range: Color
    required: true
  snow:
    name: snow
    description: A snow mana cost can be paid with a snow source, regardless of its
      color.
    from_schema: https://cmdoret.net/mtg_ontology/
    see_also:
    - mtg:snow
    rank: 1000
    slot_uri: mtgo:snow
    alias: snow
    owner: ManaCost
    domain_of:
    - Mana
    range: boolean
  phyrexian:
    name: phyrexian
    description: A phyrexian mana cost can be paid with either 2 life or 1 mana of
      its component color(s).
    from_schema: https://cmdoret.net/mtg_ontology/
    see_also:
    - mtg:phyrexian_mana
    rank: 1000
    slot_uri: mtgo:phyrexian
    alias: phyrexian
    owner: ManaCost
    domain_of:
    - Mana
    range: boolean
  hybrid:
    name: hybrid
    description: A hybrid mana cost can be paid with 1 mana of either of its component
      colors.
    from_schema: https://cmdoret.net/mtg_ontology/
    see_also:
    - mtg:hybrid_mana
    rank: 1000
    slot_uri: mtgo:hybrid
    alias: hybrid
    owner: ManaCost
    domain_of:
    - Mana
    range: boolean
  value:
    name: value
    description: The numeric part of a quantitative value.
    from_schema: https://cmdoret.net/mtg_ontology/
    rank: 1000
    slot_uri: mtgo:value
    alias: value
    owner: ManaCost
    domain_of:
    - Cost
    - ValueSpecification
    range: integer
  intersection:
    name: intersection
    description: A conjunction of two objects (a and b).
    from_schema: https://cmdoret.net/mtg_ontology/
    rank: 1000
    alias: intersection
    owner: ManaCost
    domain_of:
    - Cost
    - Specification
    - Cost
    - Specification
    - Cost
    - Specification
    - Cost
    - Specification
    - Cost
    - Specification
    symmetric: true
    range: Cost
  union:
    name: union
    description: A disjunction of two objects (a or b).
    from_schema: https://cmdoret.net/mtg_ontology/
    rank: 1000
    alias: union
    owner: ManaCost
    domain_of:
    - Cost
    - Specification
    - Cost
    - Specification
    - Cost
    - Specification
    - Cost
    - Specification
    - Cost
    - Specification
    symmetric: true
    range: Cost
  variable_cost:
    name: variable_cost
    description: Whether a cost is variable. Denoted as X on cards.
    from_schema: https://cmdoret.net/mtg_ontology/
    see_also:
    - mtg:x
    rank: 1000
    is_a: variable
    slot_uri: mtgo:variable_cost
    alias: variable_cost
    owner: ManaCost
    domain_of:
    - Cost
    range: boolean
  id:
    name: id
    description: A unique identifier for a thing
    from_schema: https://cmdoret.net/mtg_ontology/
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    alias: id
    owner: ManaCost
    domain_of:
    - NamedThing
    - Thing
    range: uriorcurie
class_uri: mtgo:ManaCost