-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program.  If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org

newBirthDescriptor{
	type = "class",
	name = "Rogue",
	display_name= "盗贼系",
	desc = {
		"    盗贼是诡计大师；他们可以从 阴影中发动攻击，也可以引诱怪物 到他们死亡陷阱里。",
	},
	descriptor_choices =
	{
		subclass =
		{
			__ALL__ = "disallow",
			Rogue = "allow",
			Shadowblade = "allow",
			Marauder = "allow",
		},
	},
	copy = {
		max_life = 100,
	},
}

newBirthDescriptor{
	type = "subclass",
	name = "Rogue",
	display_name= "盗贼",
	desc = {
		"    盗贼是诡计专家。盗贼可以潜 行到你背后而不被发现，然后从背 后刺杀造成巨大伤害。",
		"    盗贼通常双手持匕首，他们同 样可以成为陷阱专家，除了安装陷 阱以外他们可以侦测并拆除陷阱。",
		"他们最重要的属性是：敏捷和灵巧。",
		"#GOLD#属性修正：",
		"#LIGHT_BLUE# * +1 力量，+3 敏捷，+0 体质",
		"#LIGHT_BLUE# * +0 魔法，+0 意志，+5 灵巧",
	},
	stats = { dex=3, str=1, cun=5, },
	talents_types = {
		["technique/dualweapon-attack"]={true, 0.3},
		["technique/dualweapon-training"]={true, 0.3},
		["technique/combat-techniques-active"]={false, 0.3},
		["technique/combat-techniques-passive"]={false, 0.3},
		["technique/combat-training"]={true, 0.3},
		["technique/field-control"]={false, 0},
		["cunning/stealth"]={true, 0.3},
		["cunning/trapping"]={true, 0.3},
		["cunning/dirty"]={true, 0.3},
		["cunning/lethality"]={true, 0.3},
		["cunning/survival"]={true, 0.3},
	},
	unlockable_talents_types = {
		["cunning/poisons"]={false, 0.3, "rogue_poisons"},
	},
	talents = {
		[ActorTalents.T_STEALTH] = 1,
		[ActorTalents.T_TRAP_MASTERY] = 1,
		[ActorTalents.T_LETHALITY] = 1,
		[ActorTalents.T_DUAL_STRIKE] = 1,
	},
	copy = {
		equipment = resolvers.equip{ id=true,
			{type="weapon", subtype="dagger", name="铁匕首", autoreq=true, ego_chance=-1000},
			{type="weapon", subtype="dagger", name="铁匕首", autoreq=true, ego_chance=-1000},
			{type="armor", subtype="light", name="粗制皮甲", autoreq=true, ego_chance=-1000}
		},
	},
}

newBirthDescriptor{
	type = "subclass",
	name = "Shadowblade",
	display_name= "影舞者",
	desc = {
		"    影舞者是拥有魔法天赋的盗贼， 他们可以在阴影之中发动偷袭同时 可以施展魔法来强化他们的攻击和 生存能力。",
		"    他们的魔法并非习得而是与生 俱来的，因此他们不能依靠法力恢 复而必须依靠额外的道具来恢复法 力值。",
		"    他们使用幻觉、时间、预知和 传送技能来增强他们的行动。",
		"他们最重要的属性是：敏捷、灵巧 和魔法。",
		"#GOLD#属性修正：",
		"#LIGHT_BLUE# * +0 力量，+3 敏捷，+0 体质",
		"#LIGHT_BLUE# * +3 魔法，+0 意志，+3 灵巧",
	},
	stats = { dex=3, mag=3, cun=3, },
	talents_types = {
		["spell/phantasm"]={true, 0},
		["spell/temporal"]={false, 0},
		["spell/divination"]={false, 0},
		["spell/conveyance"]={true, 0},
		["technique/dualweapon-attack"]={true, 0.2},
		["technique/dualweapon-training"]={true, 0.2},
		["technique/combat-techniques-active"]={true, 0.3},
		["technique/combat-techniques-passive"]={false, 0.3},
		["technique/combat-training"]={true, 0.2},
		["cunning/stealth"]={false, 0.3},
		["cunning/survival"]={true, 0.1},
		["cunning/lethality"]={true, 0.3},
		["cunning/dirty"]={true, 0.3},
		["cunning/shadow-magic"]={true, 0.3},
		["cunning/ambush"]={false, 0.3},
	},
	talents = {
		[ActorTalents.T_DUAL_STRIKE] = 1,
		[ActorTalents.T_SHADOW_COMBAT] = 1,
		[ActorTalents.T_PHASE_DOOR] = 1,
		[ActorTalents.T_LETHALITY] = 1,
	},
	copy = {
		resolvers.inscription("RUNE:_MANASURGE", {cooldown=25, dur=10, mana=620}),
		equipment = resolvers.equip{ id=true,
			{type="weapon", subtype="dagger", name="铁匕首", autoreq=true, ego_chance=-1000},
			{type="weapon", subtype="dagger", name="铁匕首", autoreq=true, ego_chance=-1000},
			{type="armor", subtype="light", name="粗制皮甲", autoreq=true, ego_chance=-1000}
		},
	},
}

newBirthDescriptor{
	type = "subclass",
	name = "Marauder",
	display_name= "掠夺者",
	locked = function() return profile.mod.allow_build.rogue_marauder end,
	locked_desc = "    我不会隐藏也不潜行，与我的 双刀起舞看看谁才是最终的弱者， 撕碎骨头敲碎头颅，战斗的声响让 生活多么充实！",
	desc = {
		"    Maj'Eyal的野外不是个安全的 地方。野兽和到处游荡的龙似乎是 一个巨大的威胁，然而真正危险的 是两条腿的人。窃贼、强盗、刺客、 投机冒险家、疯狂的巫师甚至狂热 的魔法狩猎者都会让那些走出安全 的城墙之外的冒险者丧命。",
		"    在这混乱之中诞生了一种盗贼， 他们使用武力而不是诡计。拥有精 准特技、灵巧步伐和锋利刀刃的掠 夺者搜寻他的目标并直接消灭他们。 他们通过高等战斗训练使双持武器 更加有效, 情形不利时他们不会 忌讳使用肮脏的手段取得胜利。",
		"他们最重要的技能是：力量、敏捷 和灵巧。",
		"#GOLD#属性修正：",
		"#LIGHT_BLUE# * +4 力量，+4 敏捷，+0 体质",
		"#LIGHT_BLUE# * +0 魔法，+0 意志，+1 灵巧",
	},
	stats = { dex=4, str=4, cun=1, },
	talents_types = {
		["technique/dualweapon-attack"]={true, 0.2},
		["technique/dualweapon-training"]={true, 0.2},
		["technique/combat-techniques-active"]={true, 0.3},
		["technique/combat-techniques-passive"]={false, 0.0},
		["technique/combat-training"]={true, 0.3},
		["technique/field-control"]={true, 0.3},
		["technique/battle-tactics"]={false, 0.2},
		["technique/mobility"]={true, 0.3},
		["technique/thuggery"]={true, 0.3},
		["cunning/dirty"]={true, 0.3},
		["cunning/tactical"]={false, 0.2},
		["cunning/survival"]={true, 0.3},
	},
	unlockable_talents_types = {
		["cunning/poisons"]={false, -0.1, "rogue_poisons"},
	},
	talents = {
		[ActorTalents.T_DIRTY_FIGHTING] = 1,
		[ActorTalents.T_SKULLCRACKER] = 1,
		[ActorTalents.T_HACK_N_BACK] = 1,
		[ActorTalents.T_DUAL_STRIKE] = 1,
		[ActorTalents.T_ARMOUR_TRAINING] = 1,
	},
	copy = {
		equipment = resolvers.equip{ id=true,
			{type="weapon", subtype="dagger", name="铁匕首", autoreq=true, ego_chance=-1000},
			{type="weapon", subtype="dagger", name="铁匕首", autoreq=true, ego_chance=-1000},
			{type="armor", subtype="light", name="粗制皮甲", autoreq=true, ego_chance=-1000},
			{type="armor", subtype="head", name="铁盔", autoreq=true, ego_chance=-1000},
		},
	},
}
