- init python:
- class Character:
- def __init__(self, name, who_color="#fff", health=100, stamina=100, magic=100,
- strength=1, agility=1, perception=1, intellect=1,
- endurance=1, charisma=1, willpower=1, luck=1,
- alignment='Neutral', race='Human',
- fame=1, stealth=1, crafting='Neophyte', dodge=1):
- self.name = name
- self.health = health # Health Points = Basic Health + (5 * strength)
- self.stamina = stamina # Stamina Points = Basic Stamina + (2 * agility)
- self.magic = magic # Magic Points = Basic Magic + (10 * intellect)
- self.strength = strength # Increase Melee Damage & Health & Skill Tree Unlocks
- self.agility = agility # Increase Stamina & Dodge & Skill Tree Unlocks
- self.perception = perception # Increase Hit Rate & Skill Tree Unlocks
- self.intellect = intellect # Increase Magic Damage & Magic Points & Skill Tree Unlocks
- self.endurance = endurance # Decrease Taken Melee Damage & Skill Tree Unlocks
- self.charisma = charisma # Unlocks Dialogue Options & Skill Tree Unlocks
- self.willpower = willpower # Decrease Taken Magic Damage & Skill Tree Unlocks
- self.luck = luck # Increase Crit Chance
- self.alignment = alignment # Ethical Stance of Character
- self.race = race # Race of Character
- self.fame = fame # Fame of Character - Required For Some Actions
- self.stealth = stealth # Stealth of Character - Required For Some Actions
- self.crafting = crafting # Crafting Abilities - Ranks [Neophyte, Prospect, Skilled, Artisan, Maestro, Eminent, Virtuoso]
- self.dodge = dodge # Change To Dodge Attack
- ### Races
- # [Human, High Elves, Elves, Half-Elves, Dark Elves,
- # Drakorim(Dragons), Astralis(Godly), Umbraxis(Stealth), Eventides(Intelligent, Stealth),
- # Somnus(Willpower)]
- ###
- if self.race == 'Elf':
- self.perception += 2
- self.luck += 2
- self.magic += 10
- elif self.race == 'High Elf':
- self.intellect += 3
- self.magic += 20
- self.charisma += 3
- elif self.race == 'Half-Elf':
- self.charisma += 2
- self.magic += 5
- elif self.race == 'Dark Elf':
- self.agility += 3
- self.perception += 2
- elif self.race == 'Drakorim':
- self.strength += 8
- self.endurance += 8
- self.magic += 30
- self.health += 100
- elif self.race == 'Astralis':
- self.intellect += 5
- self.magic += 50
- self.willpower += 5
- elif self.race == 'Umbraxis':
- self.agility += 2
- self.perception += 3
- self.stealth += 5
- elif self.race == 'Eventides':
- self.intellect += 3
- self.perception += 3
- self.stealth += 3
- elif self.race == 'Somnus':
- self.willpower += 5
- self.magic += 10
- @property
- def Health(self):
- return self.health + (5 * self.strength)
- @property
- def Stamina(self):
- return self.stamina + (2 * self.agility)
- @property
- def Magic(self):
- return self.magic + (10 * self.intellect)
- def AddStrength(self, amount):
- self.strength += amount
- def AddAgility(self, amount):
- self.agility += amount
- def AddPerception(self, amount):
- self.perception += amount
- def AddIntellect(self, amount):
- self.intellect += amount
- def AddEndurance(self, amount):
- self.endurance += amount
- def AddCharisma(self, amount):
- self.charisma += amount
- def AddWillpower(self, amount):
- self.willpower += amount
- def AddLuck(self, amount):
- self.luck += amount
- init:
- # region Female Names & Colors
- # Main Character
- define pName = "Henry"
- define pColor = "#2684ff"
- # Humans
- define emilyName = "Emily"
- define emilyColor = "#2684ff"
- define lucyName = "Lucy"
- define lucyColor = "#2684ff"
- # High Elves
- define kiraName = "Kira"
- define kiraColor = "#2684ff"
- define viviaName = "Vivia"
- define viviaColor = "#2684ff"
- # Elves
- define ariaName = "Aria"
- define ariaColor = "#2684ff"
- define soraName = "Sora"
- define soraColor = "#2684ff"
- # Half Elves
- define alinaName = "Alina"
- define alinaColor = "#2684ff"
- define laylaName = "Layla"
- define laylaColor = "#2684ff"
- # Dark Elves
- define lilithName = "Lilith"
- define lilithColor = "#2684ff"
- define zephyraName = "Zephyra"
- define zephyraColor = "#2684ff"
- # Drakorim
- define emberName = "Ember"
- define emberColor = "#2684ff"
- define vesperaName = "Vespera"
- define vesperaColor = "#2684ff"
- # Astralis
- define auroraName = "Aurora"
- define auroraColor = "#2684ff"
- define lyraName = "Lyra"
- define lyraColor = "#2684ff"
- # Umbraxis
- define rhaiName = "Rhai"
- define rhaiColor = "#2684ff"
- define elhriName = "Elhri"
- define elhriColor = "#2684ff"
- # Eventides
- define phaeraName = "Phaera"
- define phaeraColor = "#2684ff"
- define nyxiName = "Nyxi"
- define nyxiColor = "#2684ff"
- # Somnus
- define reireiName = "Rei Rei"
- define reireiColor = "#2684ff"
- define miraName = "Mira"
- define miraColor = "#2684ff"
- # endregion
- #region Define characters using the defined names and colors
- # Main Character - Player
- define Player = Character(name="[pName]", who_color=pColor, health=100, stamina=100, magic=10,
- strength=10, agility=8, perception=5, intellect=5,
- endurance=5, charisma=1, willpower=1, luck=0,
- alignment='Neutral', race='Human',
- fame=1, stealth=2, crafting='Neophyte', dodge=1)
- # Humans
- define Emily = Character(name="[emilyName]", who_color=emilyColor, health=110, stamina=110, magic=90,
- strength=8, agility=8, perception=5, intellect=5,
- endurance=5, charisma=3, willpower=3, luck=2,
- alignment='Neutral', race='Human',
- fame=1, stealth=2, crafting='Neophyte', dodge=2)
- define Lucy = Character(name="[lucyName]", who_color=lucyColor, health=105, stamina=105, magic=95,
- strength=7, agility=7, perception=4, intellect=4,
- endurance=4, charisma=3, willpower=3, luck=2,
- alignment='Neutral', race='Human',
- fame=1, stealth=2, crafting='Neophyte', dodge=2)
- # High Elves
- define Kira = Character(name="[kiraName]", who_color=kiraColor, health=100, stamina=115, magic=120,
- strength=7, agility=10, perception=8, intellect=8,
- endurance=4, charisma=5, willpower=5, luck=4,
- alignment='Neutral', race='High Elf',
- fame=2, stealth=4, crafting='Artisan', dodge=4)
- define Vivia = Character(name="[viviaName]", who_color=viviaColor, health=95, stamina=110, magic=115,
- strength=6, agility=9, perception=7, intellect=7,
- endurance=4, charisma=5, willpower=5, luck=4,
- alignment='Neutral', race='High Elf',
- fame=2, stealth=4, crafting='Artisan', dodge=4)
- # Elves
- define Aria = Character(name="[ariaName]", who_color=ariaColor, health=100, stamina=110, magic=110,
- strength=6, agility=9, perception=7, intellect=7,
- endurance=4, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Elf',
- fame=1, stealth=3, crafting='Skilled', dodge=3)
- define Sora = Character(name="[soraName]", who_color=soraColor, health=95, stamina=105, magic=105,
- strength=5, agility=8, perception=6, intellect=6,
- endurance=3, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Elf',
- fame=1, stealth=3, crafting='Skilled', dodge=3)
- # Half-Elves
- define Alina = Character(name="[alinaName]", who_color=alinaColor, health=105, stamina=115, magic=100,
- strength=7, agility=9, perception=6, intellect=6,
- endurance=4, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Half-Elf',
- fame=1, stealth=3, crafting='Skilled', dodge=3)
- define Layla = Character(name="[laylaName]", who_color=laylaColor, health=100, stamina=110, magic=95,
- strength=6, agility=8, perception=5, intellect=5,
- endurance=3, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Half-Elf',
- fame=1, stealth=3, crafting='Skilled', dodge=3)
- # Dark Elves
- define Lilith = Character(name="[lilithName]", who_color=lilithColor, health=95, stamina=105, magic=110,
- strength=6, agility=8, perception=7, intellect=7,
- endurance=3, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Dark Elf',
- fame=1, stealth=3, crafting='Skilled', dodge=3)
- define Zephyra = Character(name="[zephyraName]", who_color=zephyraColor, health=90, stamina=100, magic=105,
- strength=5, agility=7, perception=6, intellect=6,
- endurance=3, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Dark Elf',
- fame=1, stealth=3, crafting='Skilled', dodge=3)
- # Drakorim (Dragons)
- define Ember = Character(name="[emberName]", who_color=emberColor, health=150, stamina=120, magic=150,
- strength=12, agility=6, perception=5, intellect=8,
- endurance=10, charisma=3, willpower=5, luck=2,
- alignment='Neutral', race='Drakorim',
- fame=3, stealth=1, crafting='Prospect', dodge=1)
- define Vespera = Character(name="[vesperaName]", who_color=vesperaColor, health=145, stamina=115, magic=145,
- strength=11, agility=5, perception=4, intellect=7,
- endurance=9, charisma=3, willpower=4, luck=2,
- alignment='Neutral', race='Drakorim',
- fame=3, stealth=1, crafting='Prospect', dodge=1)
- # Astralis (Godly beings)
- define Aurora = Character(name="[auroraName]", who_color=auroraColor, health=110, stamina=120, magic=180,
- strength=8, agility=7, perception=8, intellect=12,
- endurance=5, charisma=4, willpower=8, luck=4,
- alignment='Neutral', race='Astralis',
- fame=5, stealth=1, crafting='Maestro', dodge=2)
- define Lyra = Character(name="[lyraName]", who_color=lyraColor, health=105, stamina=115, magic=175,
- strength=7, agility=6, perception=7, intellect=11,
- endurance=4, charisma=4, willpower=7, luck=3,
- alignment='Neutral', race='Astralis',
- fame=4, stealth=1, crafting='Skilled', dodge=2)
- # Umbraxis (Stealthy beings)
- define Rhai = Character(name="[rhaiName]", who_color=rhaiColor, health=100, stamina=110, magic=100,
- strength=7, agility=9, perception=8, intellect=6,
- endurance=4, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Umbraxis',
- fame=2, stealth=5, crafting='Artisan', dodge=3)
- define Elhri = Character(name="[elhriName]", who_color=elhriColor, health=95, stamina=105, magic=95,
- strength=6, agility=8, perception=7, intellect=5,
- endurance=3, charisma=4, willpower=4, luck=2,
- alignment='Neutral', race='Umbraxis',
- fame=1, stealth=4, crafting='Prospect', dodge=2)
- # Eventides (Intelligent, Stealthy beings)
- define Phaera = Character(name="[phaeraName]", who_color=phaeraColor, health=100, stamina=115, magic=110,
- strength=7, agility=9, perception=9, intellect=8,
- endurance=4, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Eventides',
- fame=2, stealth=4, crafting='Skilled', dodge=3)
- define Nyxi = Character(name="[nyxiName]", who_color=nyxiColor, health=95, stamina=110, magic=105,
- strength=6, agility=8, perception=8, intellect=7,
- endurance=3, charisma=4, willpower=4, luck=3,
- alignment='Neutral', race='Eventides',
- fame=2, stealth=4, crafting='Skilled', dodge=3)
- # Somnus (Strong-willed beings)
- define ReiRei = Character(name="[reireiName]", who_color=reireiColor, health=105, stamina=120, magic=120,
- strength=8, agility=8, perception=7, intellect=7,
- endurance=4, charisma=3, willpower=8, luck=3,
- alignment='Neutral', race='Somnus',
- fame=3, stealth=2, crafting='Skilled', dodge=2)
- define Mira = Character(name="[miraName]", who_color=miraColor, health=100, stamina=115, magic=115,
- strength=7, agility=7, perception=6, intellect=6,
- endurance=3, charisma=3, willpower=7, luck=2,
- alignment='Neutral', race='Somnus',
- fame=2, stealth=2, crafting='Skilled', dodge=2)
- # endregion
[text] Chara
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: