Table of Contents
Class for adding a custom Permanent/Item Artifact to the Rogue Legends mode
public abstract class ModItemArtifact : BTD_Mod_Helper.Api.Legends.ModArtifact<ItemArtifactData, ItemArtifactModel>
Inheritance System.Object ModContent NamedModContent ModArtifact BTD_Mod_Helper.Api.Legends.ModArtifact<Il2CppAssets.Scripts.Data.Artifacts.ItemArtifactData,Il2CppAssets.Scripts.Models.Artifacts.ItemArtifactModel> ModItemArtifact
Creates the ArtifactModelBase derived model for this Artifact
protected sealed override ItemArtifactModel CreateArtifactModel(int tier, int index);
tier
System.Int32
0 for Common, 1 for Rare, 2 for Legendary
index
System.Int32
Artifact index
Il2CppAssets.Scripts.Models.Artifacts.ItemArtifactModel
Created Artifact Model
Gets the id this should use for the given index
public sealed override string GetId(int tier);
tier
System.Int32
System.String
The ID to use
The baseId of the Insta Monkey that this Artifact should add to your party for the given tier. Setting this will
handle adding to the Artifact description
public virtual string InstaMonkey(int tier);
tier
System.Int32
artifact tier 0,1,2
System.String
tower base id
The baseId of the Insta Monkey that this Artifact should add to your party for the given tier. Setting this will
handle adding to the Artifact description
public virtual int[] InstaTiers(int tier);
tier
System.Int32
artifact tier 0,1,2
System.Int32[]
3 length array of tiers [top, middle, bottom]