Fixed static item weapon proc effect not displaying a proper text

This commit is contained in:
Ziggy
2020-11-28 22:14:53 +01:00
parent ca58f2d7a2
commit 5ccd37c381

View File

@@ -35,7 +35,6 @@ import com.projectswg.holocore.resources.support.objects.swg.tangible.TangibleOb
import com.projectswg.holocore.resources.support.objects.swg.weapon.WeaponObject
import com.projectswg.holocore.services.gameplay.jedi.LightsaberCrystalService
import java.util.*
import kotlin.math.floor
object StaticItemCreator {
@@ -150,7 +149,7 @@ object StaticItemCreator {
if (info.procEffect.isNotEmpty())
// Not all weapons have a proc effect
obj.addAttribute("proc_name", info.procEffect)
obj.addAttribute("proc_name", "@ui_buff:${info.procEffect}")
// TODO set DPS