Hyperlink Combat System

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next



  • Section RETREAT RETREAT RUN AWAY
        
    Check going:
        If CombatActive is true:
            Now d20 is a random number between 1 and 20;
            Let RetreatPLikley be the Evasion of the player plus Dodge Bonus of the player;
            If RetreatPLikley is at least d20 or d20 is 20:
                increase FightsLost by 1;
                Combat Reset System;
                Say "You manage to run away... [line break][line break][bold type](Press any key to continue)[roman type][line break][line break]";
                wait for any key;
                Level Up Checker; [ If you get sent to this line by an error - READ THE INSTRUCTIONS! ]
            Otherwise:
                Say "You fail to run away!";
                Now the Global Attacker is Reset Dummy;
                reject the player's command;