hotfix3
This commit is contained in:
@@ -89,7 +89,7 @@ abyssalharvesting.onHit = function(trait, tool, attacker, target, damage, isCrit
|
||||
if (!isNull(traitdata)) {
|
||||
traitlevel = traitdata.level;
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.5) {
|
||||
if ((Math.random()/traitlevel) < 0.25) {
|
||||
val player as IPlayer = attacker;
|
||||
player.give(itemUtils.getItem("contenttweaker:abyssal_wasteland_matter"));
|
||||
}
|
||||
@@ -109,7 +109,7 @@ dreadfulharvesting.onHit = function(trait, tool, attacker, target, damage, isCri
|
||||
if (!isNull(traitdata)) {
|
||||
traitlevel = traitdata.level;
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.5) {
|
||||
if ((Math.random()/traitlevel) < 0.25) {
|
||||
val player as IPlayer = attacker;
|
||||
player.give(itemUtils.getItem("contenttweaker:dreadlands_matter"));
|
||||
}
|
||||
@@ -129,7 +129,7 @@ omotholharvesting.onHit = function(trait, tool, attacker, target, damage, isCrit
|
||||
if (!isNull(traitdata)) {
|
||||
traitlevel = traitdata.level;
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.5) {
|
||||
if ((Math.random()/traitlevel) < 0.25) {
|
||||
val player as IPlayer = attacker;
|
||||
player.give(itemUtils.getItem("contenttweaker:omothol_matter"));
|
||||
}
|
||||
@@ -170,16 +170,16 @@ tearofarcana.onBlockHarvestDrops = function(trait, tool, event) {
|
||||
if (!isNull(traitdata)) {
|
||||
traitlevel = traitdata.level;
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.8) {
|
||||
event.player.give(itemUtils.getItem("divinerpg:arcanium_block"));
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.5) {
|
||||
event.player.give(itemUtils.getItem("divinerpg:arcanium_block"));
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.3) {
|
||||
if ((Math.random()/traitlevel) < 0.25) {
|
||||
event.player.give(itemUtils.getItem("divinerpg:arcanium_block"));
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.01) {
|
||||
if ((Math.random()/traitlevel) < 0.1) {
|
||||
event.player.give(itemUtils.getItem("divinerpg:arcanium_block"));
|
||||
}
|
||||
if ((Math.random()/traitlevel) < 0.02) {
|
||||
event.player.give(itemUtils.getItem("contenttweaker:arcanium_cluster"));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user