public void addStrifeKind(string strifeKindName) { StrifeKind tempStrifeKind = new StrifeKind("nullName"); tempStrifeKind.strifeKindName = strifeKindName; strifeKinds.Add(strifeKindName, tempStrifeKind); }
public void changeSpecibus(StrifeKind kind) { if (strifePortfolio.Exists(x => x == kind)) { strifeSpecibus = kind; } else { Debug.Log("This strife specibus is not in your portfolio."); } }
public void allocateSpecibus(Item weapon) { if (!allocated) { strifeSpecibus = weapon.strifeKind; strifePortfolio.Add(weapon.strifeKind); allocated = true; } else { Debug.Log("Strife specibus already allocated."); } }
public void debugStrifeKind(string strifeKindName) { StrifeKind tempStrifeKind = new StrifeKind("nullName"); if (strifeKinds.TryGetValue(strifeKindName, out tempStrifeKind)) { Debug.Log("strifeKind Name: " + tempStrifeKind.strifeKindName); } else { Debug.Log("strifeKind does not exist."); } }
public Item(string name, StrifeKind kind, int atk, Trait newTrait1, Trait newTrait2, Trait newTrait3, int[] bonusAtts) { itemName = name; strifeKind = kind; attack = atk; trait1 = newTrait1; trait2 = newTrait2; trait3 = newTrait3; for (int i = 0; i < 6; i++) { attBonuses[i] = bonusAtts[i]; } }
public void addPortfolio(StrifeKind kind) { strifePortfolio.Add(kind); }