Skip to content
Extraits de code Groupes Projets
  • ElTata's avatar
    cea5d519
    classes wip: · cea5d519
    ElTata a rédigé
    - 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...
    cea5d519
    Historique
    classes wip:
    ElTata a rédigé
    - 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...