Skip to content
Java library that generates a Smite Team Comp on demand.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
Lists
gradle/wrapper
src
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

STG-Lib

pipeline status

A Java library that can be used to generate a random Smite team with random builds for the game Smite by Hi-Rez Studios.

Usage Examples

Create the Generator Object:

import com.baconatornoveg.stglib.*;

public static void main(String[] args) {
    SmiteTeamGenerator stg = new SmiteTeamGenerator();
    stg.getLists(false); // Fetches the latest lists. Must be called before any other stg methods.
}

Generate a team and output to console:

int teamSize = 4;
boolean forceOffensive = true;
boolean forceDefensive = true;
boolean forceBalanced = false;
Team generatedTeam = stg.generateTeam(4, forceOffensive, forceDefensive, forceBalanced);
System.out.println(generatedTeam.toString());

The forceOffensive, forceDefensive, and forceBalanced flags can control how the generator builds the team.

You can’t perform that action at this time.