Skip to content

Instantly share code, notes, and snippets.

Created December 13, 2014 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a60a54875d26356b3156 to your computer and use it in GitHub Desktop.
Save anonymous/a60a54875d26356b3156 to your computer and use it in GitHub Desktop.
CombatProfile Template
package scripts.MassFighter.Profiles;
import com.runemate.game.api.hybrid.location.Area;
import com.runemate.game.api.hybrid.location.navigation.basic.PredefinedPath;
import scripts.MassFighter.CombatProfile;
import java.util.List;
public class ExampleProfile extends CombatProfile {
@Override
public String[] getNpcNames() {
return new String[]{"Bob", "Dick", "Harry"};
}
@Override
public String[] getLootNames() {
return new String[]{"Green partyhat", "White partyhat", "Bones"};
}
@Override
public List<Area> getFightAreas() {
// Using a tool like MaxiAreaBuilder, generate the areas you want to fight in
return null;
}
@Override
public Area getBankArea() {
// The area of the appropriate bank/deposit box/chest
// don't worry too much about this
return null;
}
@Override
public PredefinedPath getBankPath() {
// If the bank is in an odd place, a predefined path to it could be beneficial
return null;
}
@Override
public String toString() {
return "A description of this profile";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment