Fixed crystal name after tuning

This commit is contained in:
Seefo
2014-05-06 14:04:20 -04:00
parent 5f23d6b716
commit cfe65a9613
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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){