sgs.ai_keep_value = {
	Shit = 6,

	Peach = 5,

	Analeptic = 4.5,
	Jink = 4,

	Nullification = 3,

	Slash = 2,
	ThunderSlash = 2.5,
	FireSlash = 2.6,

	ExNihilo=4.6,

	AmazingGrace=-1,
	Lightning=-1,

	Ecstasy = 1.5,
	Drivolt = 1,
	Counterplot = 3.2,
	Wiretap = -1,
	Assassinate = 2.8,
	Provistore = 0,
	Treasury = -1,
	Tsunami = -1,

	Stink = -1,
	Poison = 1,
}

sgs.ai_use_value =
{

--skill cards
	-- basic
	GanlinCard = 8.5,
	JuyiCard = 3.5,
	HuaceCard = 4,
--	YixingCard = 8.5,
--	QimenCard = 8,
--	DuijueCard = 7,
--	HaoshenCard = 4,
	SijiuCard = 5,
	MaidaoCard = 4.4,
	BuyaKnifeCard = 3,
--	FengmangCard = 8,
	DaleiCard = 7.2,
	WujiCard = 9,
	YanshouCard = 9.9,
--	CujuCard = 8.8,
	JiashuCard = 7.5,
	YongleCard = 3.4,
	YinjianCard = 4.3,
	MeihuoCard = 3.5,
	SuocaiCard = 3.7,

	-- rat
--	BuzhenCard = 3.3,
	ShougeCard = 4.4,
--	HuanshuCard = 8.8,
	YuanpeiCard = 7.7,
--	BaoquanCard = 3,

	-- ox
	GuibingCard = 4.5,
	HeiwuCard = 2.2,
--	ZhengfaCard = 5.6,
	LianmaCard = 2.1,
	SheruCard = 3.3,
	LianzhuCard = 4.1,
--	ButianCard = 2.0,
--	DuomingCard = 2.0,
	DingceCard = 4.7,
--	XunlieCard = 2.0,
	ZiyiCard = -2,
	ShouwangCard = 3.3,

	-- tiger
	NeiyingCard = 8.5,
--	JintangCard = 0.1,
--	LiejiCard = 5.4,
	HuweiCard = 4.2,
--	XiaozaiCard = 7.7,
	SacrificeCard = 2.2,

	-- hare
--	SixiangCard = 1.5,
	LinmoCard = 4,
--	ZhaixingCard = 5
--	BinggongCard = 2.1,
	SheyanCard = 8.7,
	YijieCard = 5.3,
--	HuatianCard = 8.2,
--	ShemiCard = 4.4,

	-- bwqz
	FeizhenCard = 4.3,
	NushaCard = 6.1,
	QiaogongCard = 2.3,
	FeiqiangCard = 9.2,
	TaolueCard = 7.5,

	-- qlfd
--	FanwuCard = 2,
	QianxianCard = 6.4,
--	ZishiCard = 8,
	EyanCard = 4,
	EyanSlashCard = 9,
	ZhangshiCard = 8.5,
	YinlangCard = 8.6,

--normal cards
	ExNihilo=10,

	Snatch=9,
	Collateral=7.8,

	Indulgence=8,
	Nullification = 8,
	SupplyShortage=7,

	Peach = 6,
	Dismantlement=5.6,
	IronChain = 5.4,

	--retain_value=5

	FireAttack=4.8,

	FireSlash = 4.4,
	ThunderSlash = 4.5,
	Slash = 4.6,

	ArcheryAttack=3.8,
	SavageAssault=3.9,
	Duel=3.7,

	AmazingGrace=3,

	--special
	Analeptic = 5.98,
	Jink=8.9,
	Shit=-10,

	Ecstasy = 5,
	Drivolt = 5.2,
	Counterplot = 9,
--	Wiretap = 9,
	Wiretap = 1,
	Assassinate = 8.8,
	Provistore = 1,
	Treasury = 1,
	Tsunami = -2,
	Events = 3,

	Stink = 2,
	Poison = 7,
}

sgs.ai_use_priority = {
--priority of using an active card

--skill cards
	-- basic
	GanlinCard = 4.8,
	JuyiCard = 2.2,
	HuaceCard = 5,
--	YixingCard = 8.5,
--	QimenCard = 8,
--	DuijueCard = 7,
--	HaoshenCard = 4,
	SijiuCard = 3.5,
	MaidaoCard = 1.2,
	BuyaKnifeCard = 1.8,
	DaleiCard = 4.3,
	WujiCard = 3.3,
	YanshouCard = 5,
--	CujuCard = 8.8,
	JiashuCard = 4,
	YongleCard = 2.3,
	YinjianCard = 3.7,
	MeihuoCard = 2.5,
	SuocaiCard = 4.4,

	-- rat
--	BuzhenCard = 2.5,
	ShougeCard = 3.8,
--	HuanshuCard = 8.8,
	YuanpeiCard = 4.5,
--	BaoquanCard = 3,

	-- ox
	GuibingCard = 2.3,
	HeiwuCard = 1.2,
--	ZhengfaCard = 4.2,
	LianmaCard = 2.1,
	SheruCard = 4.4,
	LianzhuCard = 3.6,
--	ButianCard = 2.0,
--	DuomingCard = 2.0,
	DingceCard = 3.8,
--	XunlieCard = 2.0,
	ZiyiCard = 0.5,
	ShouwangCard = 4.5,

	-- tiger
	NeiyingCard = 6.6,
--	JintangCard = 0.1,
--	LiejiCard = 5.4,
	HuweiCard = 2.2,
--	XiaozaiCard = 3,
	SacrificeCard = 1,

	-- hare
--	SixiangCard = 1.5,
	LinmoCard = 5,
--	ZhaixingCard = 5
--	BinggongCard = 2.1,
	SheyanCard = 5.1,
	YijieCard = 2.3,
--	HuatianCard = 8.2,
--	ShemiCard = 4.4,

	-- bwqz
	FeizhenCard = 8.3,
	NushaCard = 7.1,
	QiaogongCard = 3.3,
	FeiqiangCard = 5.4,
	TaolueCard = 5,

	-- qlfd
--	FanwuCard = 2,
	QianxianCard = 3.6,
--	ZishiCard = 8,
	EyanCard = 2.8,
	EyanSlashCard = 9,
	ZhangshiCard = 2.4,
	YinlangCard = 5.9,

	XinzhanCard = 9.2,
	GuhuoCard = 10,
	TianyiCard = 4,
	JieyinCard = 2.5,
	XianzhenCard = 9.2,
	XianzhenSlashCard = 2.6,
	JijiangCard = 2.4,
	DimengCard=2.3,
	LijianCard = 4,
	QingnangCard=4.2,
	MingceCard=4,
	JujianCard = 4.5,

	ShenfenCard = 2.3,
	GreatYeyanCard = 9,
	MediumYeyanCard = 6,
	SmallYeyanCard = 2.3,
	JilveCard = 0.4,
--
	Peach = 4.1,

	Dismantlement=4.4,
	Snatch=4.3,
	ExNihilo=4.6,
	GodSalvation=3.9,
	ArcheryAttack=3.5,
	SavageAssault=3.5,

	Duel=2.9,
	IronChain = 2.8,
	Collateral=2.75,

	Analeptic = 2.7,

	OffensiveHorse = 2.69,
	Halberd=2.685,
	KylinBow=2.68,
	Blade = 2.675,
	GudingBlade=2.67,
	DoubleSword =2.665,
	Spear = 2.66,
	Fan=2.655,
	IceSword=2.65,
	QinggangSword=2.645,
	Axe=2.64,
	MoonSpear=2.635,
	Crossbow = 2.63,

	FireSlash = 2.6,
	ThunderSlash = 2.5,
	Slash = 2.4,

	FireAttack=2,
	AmazingGrace=1.0,

	SilverLion=0.9,
	EightDiagram=0.8,
	RenwangShield=0.7,
	Vine=0.6,
	GaleShell=0.9,

	DefensiveHorse = 0,

	Ecstasy = 2.7,
	Drivolt = 3,
--	Counterplot = NULL,
	Wiretap = 4,
	Assassinate = 2.8,
	Provistore = 4.2,
	Treasury = 1,
	Tsunami = 1,
	Events = 3,

	DoubleWhip = 2.64,
	MeteorSword = 2.668,
	SunBow = 2.567,
	GoldArmor = 2.555,
}


-- this table stores the chaofeng value for some generals
-- all other generals' chaofeng value should be 0
sgs.ai_chaofeng = {
	andaoquan = 8,
	yangxiong = 8,
	tongguanf = 7,
	lili = 7,
	gongsunsheng = 7,
	zhangheng = 7,
	dingdesun = 7,
	songjiang = 6,
	wangqing = 6,
	sunerniang = 6,
	qiongying = 6,
	qingzhang = 6,
	yangzhi = 6,
	luozhenren = 6,
	xiezhen = 6,
	tianhu = 6,
	yanshun = 6,
	wangying = 6,
	peixuan = 6,
	fangla = 5,
	wuyong = 5,
	yanxijiao = 5,
	caijing = 5,
	dongping = 5,
	pangwanchun = 5,
	shixiu = 5,
	haosiwen = 5,
	lvfang = 5,
	husanniang = 4,
	panjinlian = 4,
	daizong = 4,
	shiqian = 4,
	tongguan = 4,
	huangxin = 4,
	sunli = 4,
	tora = 4,
	likui = 3,
	zhutong = 3,
	lishishi = 3,
	shiwengong = 3,
	baisheng = 3,
	gaolian = 3,
	luda = 3,
	ligun = 3,
	zhoutong = 3,
	luzhishen = 2,
	wusong = 2,
	liying = 2,
	huyanzhuo = 2,
	dongchaoxueba = 2,
	zhangqing = 2,
	xiebao = 2,
	xiaorang = 2,
	tongwei = 2,
	lujunyi = 1,
	gaoqiu = 1,
	shijin = 1,
	lijun = 1,
	weidingguo = 1,
	zhugui = 1,
	zhaoji = 1,
	huarong = -1,
	zhuwu = -1,
	ruanxiaoer = -1,
	linniangzi = -1,
	leiheng = -1,
	lizhong = -1,
	songwan = -1,
	guansheng = -2,
	yanqing = -2,
	linchong = -2,
	shien = -2,
	songqing = -2,
	chaijing = -3,
	ruanxiaoqi = -3,
	xuning = -3,
	wuyanguang = -3,
	zhangshun = -4,
	qiaodaoqing = -4,
}

