This is a task to author game code for the GitHub repository Spellsource, an open source, community authored card game.
Your objective is to write the JSON code for the Spellsource card: "(5) Deal [0] damage. (Increases for every card you've drawn this game)".
First, think about the LISP-like JSON programming language used by Spellsource. Think ultra-deeply about the way card authors express these values in Spellsource specifically. Align the request to the available components of the JSON API. Then write the card.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
To create the Spellsource card JSON code for "(5) Deal [0] damage. (Increases for every card you've drawn this game)", let's break down the components and understand how they can be represented in the LISP-like JSON structure used by Spellsource.
Mana Cost: The card has a mana cost of 5, which is denoted as (5) in the card text. In Spellsource's JSON API, this would likely be represented under a key such as mana_cost.
Damage: The card deals damage, specified as [0] which implies a dynamic value. This dynamic value is described as increasing for every card drawn in the game.
Dynamic Damage Increase: The increase in damage based on the number of cards drawn suggests a need for a modifier or a dynamic value that scales. This could be achieved through a conditional or a modifier in the card's JSON.
Given the structure and expressive needs, here's a possible JSON representation:
json
{
"name": "Dynamic Damage Dealer",
"mana_cost": 5,
"effects": [
{
"type": "deal_damage",
"amount": {
"type": "expression",
"expression": "draw_count * 1"
}
}
],
"description": "Deal damage equal to the number of cards drawn this game."
}
However, to more accurately reflect the "[0] damage" and its implication of starting at 0 and increasing, we might consider an alternative structure that explicitly starts at 0 and scales:
effects is a list of effects the card has, in this case, dealing damage.
deal_damage specifies the type of effect.
amount details how much damage is dealt, using a modifier to calculate the final damage.
base_value of 0 represents the starting damage.
modifiers adjust the base value; here, it adds the number of cards drawn (draw_count) multiplied by 1.
This JSON structure aligns with the expressive capabilities of Spellsource's card JSON API, allowing for dynamic calculation of damage based on the game state (in this case, the number of cards drawn). Adjustments might be necessary based on the exact specifications and available fields in the Spellsource JSON schema.