Hyperlink Combat System

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Definitions
    CombatActive is a truth state that varies. CombatActive is false.
    EnemyCombatants is a number that varies.
    Crit is a number that varies.
    GlobalFoeInitiative is a number that varies.
    The Global Attacker is a person that varies.
    The Target is a thing that varies.
    Pack Target is a thing that varies.
    [let count of exits be the number of viable directions;]
    [ | [o]Special Attack[x] | [o]Magic[x] ]
    This is the set Combat Prompt rule:
        let count of exits be the number of viable directions;
        now the command prompt is ">>" (A);
        
        [If the Global Attacker is the player:
            now the command prompt is "[o]Attack[x] | | [o]Inventory[x] | [o]Exits[x][Paragraph Break]>>" (A);
        Otherwise:
            now the command prompt is ">>" (B);]