✨ ARCANUM RUNE DIFFICULTY: Apprentice Behavioral

The Spectral Strategy

Swap out the poltergeist's method of attack on the fly—be it rapid-fire phantom clicks or slow, terrifying keystrokes.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Strategy
ARCANUM SCHOOL: Enchantment // Tactical Manifestation
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
class HauntingStrategy {
    Execute() {
        throw Error("Not implemented")
    }
}

class ClickFrenzyStrategy extends HauntingStrategy {
    Execute() {
        Loop 5 {
            Click()
            Sleep(50)
        }
    }
}

class CreepyTypingStrategy extends HauntingStrategy {
    Execute() {
        SetKeyDelay(200)
        Send("You are not alone...")
        SetKeyDelay(10)
    }
}

class Manifestation {
    __New(strategy) {
        this.strategy := strategy
    }
    SetStrategy(strategy) {
        this.strategy := strategy
    }
    Unleash() {
        this.strategy.Execute()
    }
}

attack := Manifestation(ClickFrenzyStrategy())
attack.Unleash()

attack.SetStrategy(CreepyTypingStrategy())
attack.Unleash()
Runic Tags: #autohotkey #strategy #automation #poltergeist