skillsecondary_petspawn

So I tried to create a skill modifier that would act to increase the number of spawn limit. I know its weird, since you can simply edit it in skill_spawnpet, but w/e. :rolleyes:

Now let’s say that I want the modifier’s max level to be 3.
If I set the spawn object to 3, does that mean the modifier could only spawn up to level 3 of the pet, regardless of its original level in skill_spawnpet?

Also another question ; what does the spawn object weights do?

skillsecondary_petspawn doesn’t work afaik

There are no modifiers to increase pet count.

Spawn object weights, I’m not sure I haven’t used it yet, but if it’s the same as ItemWeights, then what it means is you can put more than one pet in each of the fields, then give them weights. What this would do is, on cast it would randomly choose one of the entries based on their weights.

For example;
You have a spell that can spawn a random skeleton
Spawn1 = Frost Revenant
Weight1 = 100
Spawn2 = Flame Revenant
Weight2 = 100
Spawn3 = Warlock
Weight3 = 50
Spawn4 = Skeleton Knight
Weight4 = 250

What this means is when you cast the spell (assuming you can only have 1 summon at a time), it will try to determine which skeleton to summon. You have a total weight of 500, 250/500 = skeleton knight summon, so 50% of the time it will spawn him. 200/500 = Revenant, so 40% of the time it will summon a revenant, 20% of the time it will be a flame revenant. And finally, 50/500 = Warlock, so only 10% of the time will you get that summon.

That is assuming the weights work, I haven’t tried them yet, as it is a new feature of 1.0.0.7, one of the unmentioned patchnotes…

welp too bad.

Either way, thanks for the answers.