count = 0;
for (int i=0; i
if (item.generateItem())
count++;
System.out.println(probability_multiplier*100*count/N);
System.out.print("6 property item, 5 required properties (%): ");
probability_multiplier = 0.33333*0.57143*0.66667*0.4;
item.setTotalProperty(6);
item.resetGoodAffix();
item.setGoodAffix(Item_Sword.DAMAGE);
item.setGoodAffix(Item_Sword.DAMAGE_PCNT);
item.setGoodAffix(Item_Sword.CD_PCNT);
item.setGoodAffix(Item_Sword.SOCKET);
item.setGoodAffix(Item_Sword.LIFE_ON_HIT);
count = 0;
for (int i=0; i
if (item.generateItem())
count++;
System.out.println(probability_multiplier*100*count/N);
// 5 property
System.out.print("5 property item, 4 required properties (%): ");
probability_multiplier = 0.33333*0.57143*0.66667;
item.setTotalProperty(5);
item.resetGoodAffix();
item.setGoodAffix(Item_Sword.DAMAGE);
item.setGoodAffix(Item_Sword.DAMAGE_PCNT);
item.setGoodAffix(Item_Sword.CD_PCNT);
item.setGoodAffix(Item_Sword.SOCKET);
count = 0;
for (int i=0; i
if (item.generateItem())
count++;
System.out.println(probability_multiplier*100*count/N);
System.out.print("5 property item, 5 required properties (%): ");
probability_multiplier = 0.33333*0.57143*0.66667*0.4;
item.setTotalProperty(5);