Class: Valanga::Music::Collete
- Inherits:
-
Base
- Object
- Base
- Valanga::Music::Collete
show all
- Defined in:
- lib/valanga/music/collete.rb
Constant Summary
collapse
- COLLETE_KEY =
%w(
rank
score
achievement_rate
miss_count
play_count
)
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#basic ⇒ Object
12
13
14
15
16
17
18
|
# File 'lib/valanga/music/collete.rb', line 12
def basic
if has_special?
MusicAttribute.new(create_attr(6))
else
MusicAttribute.new(create_attr(5))
end
end
|
#hard ⇒ Object
28
29
30
31
32
33
34
|
# File 'lib/valanga/music/collete.rb', line 28
def hard
if has_special?
MusicAttribute.new(create_attr(8))
else
MusicAttribute.new(create_attr(7))
end
end
|
#medium ⇒ Object
20
21
22
23
24
25
26
|
# File 'lib/valanga/music/collete.rb', line 20
def medium
if has_special?
MusicAttribute.new(create_attr(7))
else
MusicAttribute.new(create_attr(6))
end
end
|