Skip to content

Commit

Permalink
update EnableCounterPermit.yml
Browse files Browse the repository at this point in the history
* fix `location`'s defaultValue
* fix summary typo
  • Loading branch information
that-hatter authored Oct 28, 2024
1 parent e01f9fa commit 52a7d36
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions api/functions/Card/EnableCounterPermit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: EnableCounterPermit
namespace: Card
description: Enables the card to hold a counter that requires permissions. Refer to the [counter guide](https://projectignis.github.io/scrapi-book/guides/general/counter.html) for details on counter permissions.
summary: Allows a card to hold a counter that need permissions.
summary: Allows a card to hold a counter that needs permissions.
status:
index: stable
parameters:
Expand All @@ -14,8 +14,7 @@ parameters:
description: The type of the counter.
- name: location
type: [ int ]
description: Composite [Location](/api/enums/Location) in which the card will be able to hold the counters.
# can't use the defaultValue field to represent the value that differs based on the card's type
description: Composite [Location](/api/enums/Location) in which the card will be able to hold the counters. Defaults to [`LOCATION_MZONE`](/api/constants/Location/LOCATION_MZONE) for monster cards, `0` otherwise.
required: false
defaultValue: |-
[`LOCATION_MZONE`](/api/constants/Location/LOCATION_MZONE) for monster cards, `0` otherwise.
tags: [ counter-related ]

0 comments on commit 52a7d36

Please sign in to comment.