From cfe65a9613dafda5cf05dbd249d62837b8e6754d Mon Sep 17 00:00:00 2001 From: Seefo Date: Tue, 6 May 2014 14:04:20 -0400 Subject: [PATCH] Fixed crystal name after tuning --- scripts/radial/item/tunable.py | 1 + src/services/LootService.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/radial/item/tunable.py b/scripts/radial/item/tunable.py index 22aa117d..78b65b15 100644 --- a/scripts/radial/item/tunable.py +++ b/scripts/radial/item/tunable.py @@ -54,6 +54,7 @@ def handleSUI(owner, window, eventType, returnList): main.NGECore.getInstance().lootService.tuneProcess(tunableObject) time.sleep(0.5) + tunableObject.setCustomName2( "\\#00FF00" + tunableObject.getTrueName() + " (tuned)") owner.sendSystemMessage('@jedi_spam:crystal_tune_success',1) return \ No newline at end of file diff --git a/src/services/LootService.java b/src/services/LootService.java index 5e64d1af..06c21012 100644 --- a/src/services/LootService.java +++ b/src/services/LootService.java @@ -884,7 +884,7 @@ public class LootService implements INetworkDispatch { // tunableObject.setIntAttribute("@obj_attr_n:componentbonushigh", finalMaxDmg); tunableObject.setIntAttribute("@obj_attr_n:mindamage", finalMinDmg); tunableObject.setIntAttribute("@obj_attr_n:maxdamage", finalMaxDmg); - ((TangibleObject) tunableObject).setCustomName2(tunableObjectName + " (tuned)"); + //((TangibleObject) tunableObject).setCustomName2(tunableObjectName + " (tuned)"); } private void setWeaponStat(WeaponObject weapon, String statName, String minValue, String maxValue){