Merge pull request #278 from madsboddum/weapon_procname

Fixed static item weapon proc effect not displaying a proper text
This commit is contained in:
Josh Larson
2020-11-28 18:04:19 -05:00
committed by GitHub

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