r259 bugfixes and patches. We still have some work to do here.
This commit is contained in:
parent
303e6d9739
commit
06d924c5bc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -642,7 +642,7 @@ public class Main extends JavaPlugin
|
|||||||
Enchanter_job.setJobName("Enchanter");
|
Enchanter_job.setJobName("Enchanter");
|
||||||
Enchanter_job.setJobDescription("An enchanter's job is to enchant items in order to make them more powerful and useful for everyday tasks.");
|
Enchanter_job.setJobDescription("An enchanter's job is to enchant items in order to make them more powerful and useful for everyday tasks.");
|
||||||
Enchanter_job.setAction(0, "ENCHANT");
|
Enchanter_job.setAction(0, "ENCHANT");
|
||||||
Enchanter_job.setExp(50, 40, 8, 1.08);
|
Enchanter_job.setExp(90, 50, 15, 1.08);
|
||||||
Enchanter_job.addExtraData("Each level of enchantment multiplies your income and exp gain exponentially.");
|
Enchanter_job.addExtraData("Each level of enchantment multiplies your income and exp gain exponentially.");
|
||||||
Enchanter_job.addExtraData("Ex. If PROTECTION gives $0.08 and 4XP, PROTECTION III would give you x9 exp and money: $0.72 and 36XP.");
|
Enchanter_job.addExtraData("Ex. If PROTECTION gives $0.08 and 4XP, PROTECTION III would give you x9 exp and money: $0.72 and 36XP.");
|
||||||
Enchanter_job.addExtraData("");
|
Enchanter_job.addExtraData("");
|
||||||
|
@ -11,6 +11,7 @@ import java.util.List;
|
|||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
import org.bukkit.plugin.Plugin;
|
||||||
import org.bukkit.potion.PotionEffect;
|
import org.bukkit.potion.PotionEffect;
|
||||||
import org.bukkit.potion.PotionEffectType;
|
import org.bukkit.potion.PotionEffectType;
|
||||||
|
|
||||||
@ -149,9 +150,9 @@ public class PlayerBuffData {
|
|||||||
} catch (ConcurrentModificationException ex_e) {
|
} catch (ConcurrentModificationException ex_e) {
|
||||||
Bukkit.getLogger().warning("Potion Effect Collection not accessible while finalizing player speed.");
|
Bukkit.getLogger().warning("Potion Effect Collection not accessible while finalizing player speed.");
|
||||||
}
|
}
|
||||||
if (/*!hasabsorption && */this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat4")>0) {
|
if (!hasabsorption && this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat4")>0) {
|
||||||
p.removePotionEffect(PotionEffectType.ABSORPTION);
|
p.removePotionEffect(PotionEffectType.ABSORPTION);
|
||||||
p.addPotionEffect(new PotionEffect(PotionEffectType.ABSORPTION,3610,this.plugin.getStatBonus(3, this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat4")/3)/4-1));
|
p.addPotionEffect(new PotionEffect(PotionEffectType.ABSORPTION,3590,this.plugin.getStatBonus(3, this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat4")/3)/4-1));
|
||||||
//p.sendMessage("Absorption level is "+(this.plugin.getStatBonus(3, this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat4")/4)/4-1));
|
//p.sendMessage("Absorption level is "+(this.plugin.getStatBonus(3, this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat4")/4)/4-1));
|
||||||
}
|
}
|
||||||
if (this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat2")>0) {
|
if (this.plugin.getAccountsConfig().getInt(p.getName()+".stats.stat2")>0) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user