Re: Ayuda trade item con stat

#2
They are many ways to do a trade list. Either with a PurchaseItemHandler ( Check how Shop and Bsmith works ) or a SendCommand List for Trades. Check sources here, there are a few that have those said trades.

For drops of armors, and ancient weapon, check inside HGServer NpcDeadItemGenerator. Bottom is an example of where to change the codes to the item number in item3.

Code: Select all

switch (iGenLevel) { 

				case 1: // Slime, Giant-Ant, Amphis, Rabbit, Cat
					switch (iDice(1,36)) { 
				case 1: iItemID = 844;  break; // Black Shadow Sword
				case 2: iItemID = 843;  break; // Barb Hammer
				case 3: iItemID = 728; break; // Dark Knight PlateW
				case 4: iItemID = 844;  break; // GiantSword
				case 5: iItemID = 916;  break; // DarkGray
				case 6: iItemID = 917; break; // Gold
				case 7: iItemID = 918; break; // Bronze
				case 8: iItemID = 919; break; // Green
				case 9: iItemID = 920;  break; // Pink
				case 10: iItemID = 921;  break; // Blue
				case 11: iItemID = 922;  break; // Aqua
				case 12: iItemID = 923;  break; // Red
				case 13: iItemID = 924;  break; // Violet
				case 14: iItemID = 925 ; break; // Black
				case 15: iItemID = 926; break; // Peach
				case 16: iItemID = 927; break; // Orange
				case 17: iItemID = 928;  break; // Yellow
				case 18: iItemID = 929;  break; // CrimsonRed
				case 19: iItemID = 930; break; // ArmorDye White
				case 20: iItemID = 931; break; // WeaponDye Original
				case 21: iItemID = 932; break; // Dark Gray
				case 22: iItemID = 933;  break; // Gold
				case 23: iItemID = 934;  break; // Bronze
				case 24: iItemID = 935;  break; // Green
				case 25: iItemID = 936;  break; // Pink
				case 26: iItemID = 937;  break; // Blue
				case 27: iItemID = 938 ; break; // Aqua
				case 28: iItemID = 939; break; // Red
				case 29: iItemID = 940; break; // Violet
				case 30: iItemID = 941; break; // Black
				case 31: iItemID = 942; break; // Peach
				case 32: iItemID = 943; break; // Orange
				case 33: iItemID = 944; break; // Yellow
				case 34: iItemID = 945; break; // CrimsonRed
				case 35: iItemID = 946; break; // White
				case 36: iItemID = 1042; break; // Rep Pot
					}
					break; 
LifeX

www.hblegends.net

Who is online

Users browsing this forum: No registered users and 1 guest