1 | View Code Duplication | # Armaduras adicionales a la principal |
|
0 ignored issues
–
show
Duplication
introduced
by
![]() |
|||
2 | 1 | class Proteccion < Item |
|
3 | 1 | def name |
|
4 | proteccion(id)['name'] |
||
5 | end |
||
6 | |||
7 | 1 | def defensa |
|
8 | proteccion(id)['defensa'] |
||
9 | end |
||
10 | |||
11 | 1 | def fits |
|
12 | proteccion(id)['fits'] |
||
13 | end |
||
14 | |||
15 | 1 | def categoria |
|
16 | proteccion(id)['categoria'] |
||
17 | end |
||
18 | |||
19 | 1 | def precio |
|
20 | proteccion(id)['precio'] |
||
21 | end |
||
22 | end |
||
23 |