mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Fixed crystal name after tuning
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user