Recent Changes - Search:

User Documentation

Developer Documentation

ToDo

Other

PmWiki ?

edit SideBar

Doc /

GameplayRules


Gameplay rules

This page describes some of the basic "rules" used by FreedroidRPG to determine certain aspects of gameplay.


Character Attributes

Health

Introduction

Health points (HP) are displayed as a red bar in the lower-right corner of the game, and represent the maximum amount of damage that Tux can receive before he dies. Each time Tux is hit, the game calculates how much health to take away. (This number may be affected by the armor rules.)

Health points are automatically recovered over time at the rate of 0.2 per second.

Maximum Health Points

To ensure that Tux never gets an absurd amount of health, Tux is restricted to a maximum amount of health points.

Referred to as HPMAX, Tux's maximum amount of health points is calculated based on a Level to Physique ratio. When determining this amount, the following calculation is performed: HPMAX = 20 + 5 * level + 2 * physique (found in /src/character.c).

Some examples of HPMAX values:

LevelPhysique=Health Points
12065
52595
1030130
1535165
2040200

Experience

Introduction

As Tux advances throughout the game, he will gain "experience" (XP). Experience for the current level is displayed as a brownish bar in the lower-left corner of the game. Actions that yield XP include such things as killing bots and completing quests.

Maximum Level

Tux begins the game at level 0. The maximum level that Tux can reached is not limited. It only depends on the maximum value of the experience counter (4294967296) and it equal to 2930 (calculated value). This value may vary between platform.

Leveling up

Once Tux kills enough bots or completes enough quests, he will Level Up. Upon levelling up, Tux's maximum HP increases by 5, and he gains 5 Training Points. These Training Points may be used to advance Tux's stats, or to improve proficiency in a chosen combat strategy from one of the specialty trainers around the world.

For Tux to advance levels, a specific amount of experienced is required that's increased each Tux's level. When determining this amount, the following calculation is performed: exp_required = 500 * (level^2 + 1) (found in /src/character.c).

This table displays experience requirements for 30 first levels:

LevelExperienceLevelExperience
1100016128500
2250017145000
3500018162500
4850019181000
51300020200500
61850021221000
72500022242500
83250023265000
94100024288500
105050025313000
116100026338500
127250027365000
138500028392500
149850029421000
1511300030450500
Edit - History - Print - Recent Changes - Search
Page last modified on Mon, 20 May 13 13:12:18 +0000