forked from zheplusplus/sgs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fffca4
commit 89160d2
Showing
5 changed files
with
66 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from ext.src.skills import bequeathed_strategy, merciless, dragon_heart, \ | ||
martial_saint, prodigy, horsemanship, fury_pith, \ | ||
heavenly_scent | ||
|
||
class Character: | ||
def __init__(self, name, character_skills): | ||
self.name = name | ||
self.skills = character_skills | ||
|
||
def select(self, player): | ||
player.character_name = self.name | ||
for s in self.skills: s.add_to(player) | ||
|
||
GUO_JIA = Character('Guo Jia', [bequeathed_strategy]) | ||
ZHANG_CHUNHUA = Character('Zhang Chunhua', [merciless]) | ||
|
||
ZHAO_YUN = Character('Zhao Yun', [dragon_heart]) | ||
GUAN_YU = Character('Guan Yu', [martial_saint]) | ||
HUANG_YUEYING = Character('Huang Yueying', [prodigy]) | ||
MA_CHAO = Character('Ma Chao', [horsemanship]) | ||
WEI_YAN = Character('Wei Yan', [fury_pith]) | ||
|
||
JUNIOR_QIAO = Character('Junior Qiao', [heavenly_scent]) | ||
|
||
MA_CHAO_SP = Character('Ma Chao SP', [horsemanship]) | ||
PAND_DE = Character('Pang De', [horsemanship]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters