✨ ARCANUM RUNE DIFFICULTY: Adept Creational

Echo Prototype

Clone existing spell configurations rather than reciting them from scratch.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Prototype
ARCANUM SCHOOL: Illusion // Cloning
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
# The Prototype base configuration
BASE_SPELL_POWER := 100
BASE_SPELL_ASPECT := Neutral

# Clone 1: The Fireball (mutating the prototype)
fireball_POWER := $(shell echo $$(($(BASE_SPELL_POWER) * 2)))
fireball_ASPECT := Fire

# Clone 2: The Frost Nova (mutating the prototype)
frost_nova_POWER := $(shell echo $$(($(BASE_SPELL_POWER) / 2)))
frost_nova_ASPECT := Frost

.PHONY: cast_%
cast_%:
	@echo "Casting $*!"
	@echo "Power: $($*_POWER)"
	@echo "Aspect: $($*_ASPECT)"
Runic Tags: #makefile #creational #prototype #variables