miron / NeonCore

Terminal based Cyberpunk Tabletop RPG with Nostr as database and openAI API compatible commands
3 stars 1 forks source link

Charismatic Impact #29

Open miron opened 1 year ago

miron commented 1 year ago
class Character:
    # Other methods and fields go here

    def charismatic_impact(self, target):
        """
        Applies the bonus from the "Charismatic Impact" ability to any skill check
        made against the specified target character.
        """
        if target.stats["COOL"] >= 5:
            # Apply the bonus here
            pass
player = Character(...)
enemy = Character(...)

# Use the "Charismatic Impact" ability
player.charismatic_impact(enemy)