mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-01-15 23:05:45 -05:00
Fixed static item weapon proc effect not displaying a proper text
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user