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