I coded the MagicArtisan... everythng.. accept for how many mets it takes to upgrade the level... can anyone help me with setting it to take so many mets per level?
byte MetsNeed = Calculation.MetsNeeded(ItemId, Plus);
public static byte MetsNeeded(int ItemId,byte Plus) { byte MetsNeeded = 0; Struct.ItemData Item = Nano.Items[ItemId]; if (Item.Level < 40) MetsNeeded = 2; else if (Item.Level < 60) MetsNeeded = 4; else if (Item.Level < 75) MetsNeeded = 5; else if (Item.Level < 85) MetsNeeded = 7; else if (Item.Level < 95) MetsNeeded = 9; else if (Item.Level < 100) MetsNeeded = 11; else if (Item.Level < 112) MetsNeeded = 18; else if (Item.Level >= 112) return 0; if (Item.Quality == 9) MetsNeeded += 4; else if (Item.Quality == 8) MetsNeeded += 2; else if (Item.Quality == 7) MetsNeeded += 1; if (Plus > 2) MetsNeeded += Plus; return MetsNeeded; }
agreed and hope they will truly try to improve themselves ,sometimes when i think the asking person is smart enough and good learner i just give him tips/hints that would be more helpful for him coz he will work his mind to figure his way " taylor " is one of those guys ,he nvr asked for complete code he just asks for hints or small details ,hope all here walk on that line :p , i am still a learner myselfQuote:
And maybe at some point this ppl that are asking for help in coding will share their work,give back to the community, and pressing the thanks button if some1 helped them