#Is it possible to copy value from other property in KV file?

1 messages · Page 1 of 1 (latest)

primal crane
#
        {
                "duration"
                {
                    "value"                "5 6 7"
                    "special_bonus_scepter" "+10"
                }
                "duration_scepter"
                {
                    "value"        "$duration"
                    "RequiresScepter"        "1"
                }
        }```

I want to duration_scepter be the same as duration, and manipulate it by ```special_bonus_scepter``` Or I have to use MODIFIER_PROPERTY_OVERRIDE_ABILITY_SPECIAL_VALUE for that ?
static sentinel
#

Not possible to do this with lua items, but why are you determining duration with and without scepter where the duration is supposed to be the same?

#

That's not how you do this

#

You can completely remove the duration_scepter honestly

#

Note how they (Valve) don't have damage and damage_scepter

neon fractal
#

actually might be %key_name%, idk been way too long

static sentinel
#

I'm almost certain it doesn't work for lua abilities and items. I remember testing it a long time ago, and I'm not seeing instances like that in any of the KVs.

primal crane
#

@static sentinel I would remove this duration_scepter at all, but this is omni build-in standard ultimate, and if I remove this it will take it anyway.