Skip to content
Extraits de code Groupes Projets
Valider cea5d519 rédigé par ElTata's avatar ElTata
Parcourir les fichiers

classes wip:

- Fight module became Action
- there is 3 actions available : fight/mystic/steal
- everywhere there was initially a fight, now one of these 3 is chosen
- the choice is random, ponderated with stats of player
- for each action, classes have one method for atk and one for defense
- actions are atk of attacker vs defense of defenser (same base calcul, but with stats
linked to the action)
- fight action -> attacker reduce/increase TTL if win/lose (critic: defenser increase TTL)
- mystic action -> attacker exchange TTL with defender (critic: lose even more TTL with no impact on defenser)
- steal action -> steal an item if victory (may be a worst item than ours) or decrease item capacity (if lose) (critic: steal the best item of defender)
- the atk/def of base classe use all stats in a balanced and cyclic way
- itemsum is modified by str stat (used on every action)
- level of item found is modified by wis stat
- (almost) all TTL modifications are affected by cha stat
- diverse info commands prints more info, errors fixed
- other stuff, probably...
parent 15d8a6ec
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Chargement en cours
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter