-
Notifications
You must be signed in to change notification settings - Fork 0
/
Abilities.py
56 lines (36 loc) · 1.59 KB
/
Abilities.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# coding: utf-8
from Ability import Ability, _abilities
def get_ability(ability : str) -> Ability:
return _abilities[ability]
Ability("Alive", "Able to sustain life")
Ability("Dead", "Too injured to sustain life")
Ability("Undead", "Animated by necromancy")
Ability("Target Attack (Piercing)", "", True,
target_health_point='target_piercing')
Ability("Target Attack (Normal)", "", True,
target_health_point='target_normal')
Ability("Attack", "", True,
list_attack_modes='register_weapon',
prepare_attack='prepare_attack',
execute_attack='execute_attack',)
Ability("Normal Attack", "Performs a normal attack",
base_attack=[
'base_attack_abilities_default',
'add_attack_point_normal'])
Ability("Piercing Attack", "Performs a piercing attack",
base_attack=[
'base_attack_abilities_default',
'add_attack_point_piercing'])
Ability("Bonus Damage", "Adds an extra point of damage",
augment_attack='add_attack_point_copy')
Ability("Resist Damage (Point)", "",
resist_damage_point='resist_damage')
Ability("Resist Damage (Tableau)", "",
resist_damage_tableau='resist_damage')
Ability("Body Type", "Represents a part or quality of the body")
Ability("Mental Type", "Represents a part or quality of the mind")
Ability("Magic Type", "Represents a supernatural effect or capability")
Ability("Equipment Type", "Represents a piece of equipment")
Ability("Armour Type", "Represents a piece of armour")
Ability("Weapon Type", "Represents a weapon")
Ability("Shield Type", "Represents a shield")