phreddrickk
Active member
Code:
> js numericModifier(Familiar.get("Leprechaun"), "Leprechaun", 1, Item.get("none"))
Returned: 0.0
> js numericModifier(Familiar.get("Cornbeefadon"), "Leprechaun", 1, Item.get("none"))
Returned: 0.0
> js numericModifier(Familiar.get("Robortender"), "Leprechaun", 1, Item.get("none"))
Returned: 1.0
> js numericModifier(Familiar.get("Hobo Monkey"), "Leprechaun", 1, Item.get("none"))
Returned: 1.25
> js numericModifier(Familiar.get("Baby Sandworm"), "Sombrero", 1, Item.get("none"))
Returned: 0.0
At first, I wasn't sure if I was using the modifier in an inappropriate context, or if something had gone awry, but the last example makes me pretty convinced that this is unintended behavior--the wiki specifically lists the Baby Sandworm as an example of a familiar that should return 1.0 for Sombrero.
If this is intended behavior, please let me know and I'll disappear with my tail between my legs.
EDIT: to be clear, it is returning an accurate value for the Robortender and the Hobo Monkey, those were just meant to show that it doesnt' categorically return 0.
EDIT 2: Further investigation suggests that this is probably intended behavior. Whoops!
Last edited: