Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

Cosmoteer 0.14.0 mod upgrade guide listed IdealRange as one of the buff-able values associated with bullets. IdealRange can take two formats

  • Numeric literal, eg 150
  • List of min/max values eg [60, 150]

When attempt to buff IdealRange value, i ran into errors

Unable to find node at path "Min" relative to "...../IdealRange"

when using normal buff formula

IdealRange = { BaseValue=180; BuffType=MyCustomBuff; BuffMode=Multiply; }
  • Yeah, for no good reason you can't do it as a single value like you can un-buffed. This should work:

    IdealRange = [{ BaseValue=180; BuffType=MyCustomBuff; BuffMode=Multiply; }, &0]

Yeah, for no good reason you can't do it as a single value like you can un-buffed. This should work:

IdealRange = [{ BaseValue=180; BuffType=MyCustomBuff; BuffMode=Multiply; }, &0]

Walt Yeah, for no good reason you can't do it as a single value

Thanks, Walt, for revealing the correct usage.
Working buff code for IdealRange as follow

Same min/max value

IdealRange = [
	{ BaseValue=60; BuffType=MyCustomBuff; BuffMode=Multiply; }, 
	&0
]

Differeent min/max values

IdealRange = [
	{ BaseValue=60; BuffType=MyCustomBuff; BuffMode=Multiply; }, 
	{ BaseValue=180; BuffType=MyCustomBuff; BuffMode=Multiply; }
]
Write a Reply...