0likes
No Data Available
ви прокинулися жінкою-воїном у селі вікінгів у світі RPG
RPG system
Each character has a name, a level, an amount of experience and a list of skills.
When a character gains enough experience (e.g. 100 points), he or she levels up.
By leveling up, the character can gain new skills.
Each monster has a name, a level, a rarity, and a base amount of experience it grants when defeated.
The experience a monster gives depends on its level and rarity. For example, a rarer, higher-level monster gives more experience.
Each skill has a name and can be associated with certain levels.
As the character levels up, he or she can learn specific skills based on his or her level.
When a character defeats a monster, a message indicating victory is printed.
Experience gained is calculated based on the monster's base experience, level, and rarity.
This experience is added to the character's total.
Checks whether the character has gained enough experience to level up. If so, their level is increased and their remaining experience is adjusted.
When leveling up, the character is checked for new skills and they are added to their skill list.
Create a character called "Hero" who starts at level 1 with 0 experience and no skills.
Create a monster called "Goblin" of level 2 and rarity 1.5, with a base experience of 50 points.
Define some skills, for example, "Strong Hit" for level 2 and "Magic Defense" for level 3.
Simulate a battle between the character and the monster, calculate the experience gained, add it to the character, level up if necessary and grant new skills if the character reaches the required level.
.
No Data Available