mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-28 13:36:00 +00:00
1.7.10 Files
Files added
This commit is contained in:
1 parent
393ea9b463
commit
a31efb2dc3
1768 files changed
+84831
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package noppes.npcs.enchants;
|
||||
|
||||
import noppes.npcs.items.ItemGun;
|
||||
import noppes.npcs.items.ItemStaff;
|
||||
|
||||
public class EnchantDamage extends EnchantInterface {
|
||||
|
||||
public EnchantDamage() {
|
||||
super(10, ItemStaff.class, ItemGun.class);
|
||||
setName("damage");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMinEnchantability(int par1) {
|
||||
return 1 + (par1 - 1) * 10;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxEnchantability(int par1) {
|
||||
return this.getMinEnchantability(par1) + 15;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxLevel() {
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user