-- Issue #10: talismans
-- ITEM_TOTEM in a dedicated talisman slot.
-- value0 = element id (1 fire, 2 ice, 3 lightning, 4 wind, 5 earth)
-- applytype0/applyvalue0 carry the actual elemental resistance bonus.
-- refined_vnum + refine_set chain into refine_proto for upgrades.

INSERT INTO item_proto
	(vnum, name, locale_name, type, subtype, size, antiflag, flag, wearflag, immuneflag, gold, shop_buy_price,
	 limittype0, limitvalue0, limittype1, limitvalue1,
	 applytype0, applyvalue0, applytype1, applyvalue1, applytype2, applyvalue2,
	 value0, value1, value2, value3, value4, value5,
	 socket0, socket1, socket2, refined_vnum, refine_set, magic_pct, specular, socket_pct)
VALUES
	(86000, 'talisman_fire_0', 'Fire Talisman +0', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 35, 5, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 86001, 1000, 0, 0, 0),
	(86001, 'talisman_fire_1', 'Fire Talisman +1', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 35, 10, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 86002, 1001, 0, 0, 0),
	(86002, 'talisman_fire_2', 'Fire Talisman +2', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 35, 15, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),

	(86010, 'talisman_ice_0', 'Ice Talisman +0', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 87, 5, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 86011, 1010, 0, 0, 0),
	(86011, 'talisman_ice_1', 'Ice Talisman +1', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 87, 10, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 86012, 1011, 0, 0, 0),
	(86012, 'talisman_ice_2', 'Ice Talisman +2', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 87, 15, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),

	(86020, 'talisman_lightning_0', 'Lightning Talisman +0', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 36, 5, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 86021, 1020, 0, 0, 0),
	(86021, 'talisman_lightning_1', 'Lightning Talisman +1', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 36, 10, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 86022, 1021, 0, 0, 0),
	(86022, 'talisman_lightning_2', 'Lightning Talisman +2', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 36, 15, 0, 0, 0, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),

	(86030, 'talisman_wind_0', 'Wind Talisman +0', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 38, 5, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 86031, 1030, 0, 0, 0),
	(86031, 'talisman_wind_1', 'Wind Talisman +1', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 38, 10, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, 0, 86032, 1031, 0, 0, 0),
	(86032, 'talisman_wind_2', 'Wind Talisman +2', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 38, 15, 0, 0, 0, 0, 4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),

	(86040, 'talisman_earth_0', 'Earth Talisman +0', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 88, 5, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 86041, 1040, 0, 0, 0),
	(86041, 'talisman_earth_1', 'Earth Talisman +1', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 88, 10, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 0, 0, 86042, 1041, 0, 0, 0),
	(86042, 'talisman_earth_2', 'Earth Talisman +2', 26, 0, 1, 0, 65536, 65536, 0, 0, 0, 1, 30, 0, 0, 88, 15, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

INSERT INTO refine_proto
	(id, cost, prob, vnum0, count0, vnum1, count1, vnum2, count2, vnum3, count3, vnum4, count4)
VALUES
	(1000, 50000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1001, 125000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1010, 50000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1011, 125000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1020, 50000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1021, 125000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1030, 50000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1031, 125000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1040, 50000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
	(1041, 125000, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
