forked from MagicBane/Server
Debug code removed.
This commit is contained in:
@@ -12,7 +12,6 @@ package engine.powers.poweractions;
|
||||
import engine.Enum;
|
||||
import engine.Enum.ModType;
|
||||
import engine.Enum.SourceType;
|
||||
import engine.gameManager.ChatManager;
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.DispatchMessage;
|
||||
@@ -200,12 +199,6 @@ public class TransferStatPowerAction extends AbstractPowerAction {
|
||||
// get range between min and max
|
||||
float range = max - min;
|
||||
|
||||
//debug for spell damage and atr
|
||||
if (pc.getDebug(16)) {
|
||||
String smsg = "Damage: " + (int) Math.abs(min) + " - " + (int) Math.abs(max);
|
||||
ChatManager.chatSystemInfo(pc, smsg);
|
||||
}
|
||||
|
||||
// Damage is calculated twice to average a more central point
|
||||
damage = ThreadLocalRandom.current().nextFloat() * range;
|
||||
damage = (damage + (ThreadLocalRandom.current().nextFloat() * range)) / 2;
|
||||
|
||||
Reference in New Issue
Block a user