# Coverage for thb/meta/characters/tewi.py : 92%

## 19 statements 17 run 2 missing 0 excluded 0 partial

Hot-keys on this page

r m x p toggle line displays

j k next/prev highlighted chunk

0 (zero) top of page

1 (one) first highlighted chunk

1# -*- coding: utf-8 -*-

2

3# -- stdlib --

4# -- third party --

5# -- own --

6 from thb import characters

7 from thb.meta.common import ui_meta

8

9# -- code --

10

11

12@ui_meta(characters.tewi.Luck)

13 class Luck:

14 # Skill

15 name = '幸运'

16 description = '|B锁定技|r，每当你失去最后的手牌时，你摸两张牌。'

17

18

19@ui_meta(characters.tewi.LuckDrawCards)

20 class LuckDrawCards:

21 def effect_string(self, act):

22 return '|G【%s】|r觉得手上没有牌就输了，于是又摸了2张牌。' % (

23 act.source.ui_meta.name,

24 )

25

26 def sound_effect(self, act):

27 return 'thb-cv-tewi_lucky'

28

29

30@ui_meta(characters.tewi.Tewi)

31 class Tewi:

32 # Character

33 name = '因幡帝'

34 title = '幸运的腹黑兔子'

35 illustrator = '和茶'

36 cv = '北斗夜'

37

38 port_image = 'thb-portrait-tewi'

39 figure_image = 'thb-figure-tewi'

40 miss_sound_effect = 'thb-cv-tewi_miss'

41

42 notes = '|RKOF模式不可用|r'