v0.4.0: weapon gen bugfix
This commit is contained in:
parent
4a2b421fd0
commit
39512b167e
|
@ -125,15 +125,5 @@ public class MeleeWeapon extends Weapon {
|
||||||
}
|
}
|
||||||
return price;
|
return price;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Item random() {
|
|
||||||
super.random();
|
|
||||||
|
|
||||||
if (Random.Int( 10 + level() ) == 0) {
|
|
||||||
enchant();
|
|
||||||
}
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user