Exemple #1
0
 public Item Produce(Mods.XML.ModItemDfnXML itemXml, GameWorld world)
 {
     return(world.CurrentMap.CreateItem(itemXml.Desc, itemXml.MeshName, (ItemType)Enum.Parse(typeof(ItemType), itemXml.Type), itemXml.AttachOptionWhenUse,
                                        itemXml.AttachOptionWhenHave, double.Parse(itemXml.Damage), int.Parse(itemXml.Range), world, itemXml.AmmoCapcity, itemXml.AmourNum));
 }
Exemple #2
0
 public Item Produce(Mods.XML.ModItemDfnXML itemXml, GameWorld world)
 {
     return(null);
 }