blob: fa27b5dbd843b7bd213e7dd5d5c866b2e9363c89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package jp.plusplus.fbs.alchemy.characteristic;
/**
* Created by plusplus_F on 2015/09/24.
*/
public class CharacteristicWeight extends CharacteristicBase {
public CharacteristicWeight(){
setUnlocalizedName("fbs.weight");
}
public float getMPScale(){
int v=getValue();
if(v==0) return 0.75f;
if(v==1) return 1.25f;
return 1.f;
}
@Override
public Type getType() {
return Type.WEIGHT;
}
}
|