public static GameItem generateAlchemy(AlchemyType type) { GameItem _itm = new GameItem(); _itm.type = ItemType.Alchemy; _itm.alchemyType = type; _itm.setAttributes("alchemy", "description", 7, 100); _itm.setAlchemyAttributes(20, TargetTypes.Self, TargetAttribute.Life); return _itm; }
public static GameItem generateAlchemy(AlchemyType type) { GameItem _itm = new GameItem(); _itm.type = ItemType.Alchemy; _itm.alchemyType = type; _itm.setAttributes("alchemy", "description", 7, 100); _itm.setAlchemyAttributes(20, TargetTypes.Self, TargetAttribute.Life); return(_itm); }