The Prototype Cloning Spell
Creating exact duplicates of arcane constructs.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Prototype
ARCANUM SCHOOL: Transmutation // Cloning
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// EIFFEL PATTERN //
deferred class
ARCANE_CLONEABLE
feature -- Duplication
duplicate: ARCANE_CLONEABLE
deferred
ensure
is_clone: Result /= Current
is_identical: Result.is_equal(Current)
end
end
Using deep and shallow cloning pacts, the Prototype pattern allows magi to instantly replicate existing magical phenomena without repeating the expensive creation rituals.
Runic Tags:
#creational
#prototype
#cloning
#eiffel