Shirafune
Engaged Member
- Jun 6, 2017
- 2,311
- 3,386
Yes. The whole function pushes enemies to validEnemyTypes (like putting names in a Hat).
Then it randomly takes one enemy from validEnemyTypes. That Enemy is the Visitor you get.
If you only put Pervert goblin in validEnemyTypes, you only get pervert goblins.
What my mods i written earlier do was letting the Game draw one Enemy from the Hat but after it i compare it to a list.
If that random enemy is present in a pervert list, i return a pervert goblin, else we know that its a normal enemy and return normal goblin instead. Somehow that doesnt work on your end...

Done that and this is my thing now, attached my js so you can check if I did it correctly I suppose, thanks!