Steve Jackson Games Forums

Steve Jackson Games Forums (https://forums.sjgames.com/index.php)
-   The Fantasy Trip: House Rules (https://forums.sjgames.com/forumdisplay.php?f=101)
-   -   Racial attribute limits (https://forums.sjgames.com/showthread.php?t=160177)

hcobb 10-16-2018 11:43 AM

Re: Racial attribute limits
 
I'm planning to revamp the squad generator this weekend to focus on jobs and assign a leader figure for each squad.

http://www.hcobb.com/tft/squad.php

platimus 10-16-2018 12:59 PM

Re: Racial attribute limits
 
Squad generator seems to have a preference for wizards. I tried generating "a few" for Goblins and Orcs and many of the results had multiple wizards.

Pseudo-code suggestion:
Code:

Type = Rand(3)
if Type = 1 then GenerateWizard(), else GenerateFighter()

If that's basically what your code is already doing, you might bump "3" up to a higher number (maybe "6").

Also, sometimes it created just one character. Sometimes it created six. I would let the drop-down quantity be hard numbers.

It might also be more useful for generating random encounters if the user could input an attribute-point total (for the average attribute-point total of the party to encounter them). Let PT = attrib-total input x num-in-squad. When an NPC is generated, deduct its attrib-total from PT. If this results in negative PT, throw-away that NPC and quit. Else, keep generating until PT = 0 or less.

hcobb 10-16-2018 01:28 PM

Re: Racial attribute limits
 
The current system only checks a lot of restrictions after it has finished generating the character. So Giant scholars are rolled up and discarded.

I'm going to smarten up hero generation next deep dive.


All times are GMT -6. The time now is 12:13 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.