// Freak Fortress 2
// ================
//
// Reimu Hakurei
// Class: Soldier
// Script: Koishi
// Model: Touhou Fortress 2
// Sounds: TouHou Project Sky Arena 
//
// v1.05 Changes:
// Custom rage
//
// Attack: The Disciplinary Action 
// Combo Super Jump / Tele.
// Rage: Instant Dimensional Rift (Clones + Uber + Instant Tele)
// Death Effect: Fantasy Nature (Matrix Attack + Invisibility + Uber)
// Rage HP trigger: 2500HP
// 
// Description:
// As the sole maiden of the Hakurei Shrine, she is commonly called upon (or calls it upon herself) to investigate strange occurrences throughout Gensokyo.
// A running gag is the lack of donations inside the donation box in front of the shrine.
//

// Dependencies:
// SHADoW93's Bosses: https://forums.alliedmods.net/showthread.php?t=246980

"character"
{
	"name"					"Reimu Hakurei"
	"class"					"3"	
	"model"					"models/player/reimu.mdl"
	"ragedist"				"1200.0"
	"health_formula"		"((((600+n)*(n-1))^1.04)+2140)/3"
	"ragedamage"			"2500"							//Boss must get this amout of damage to fill her ragemeter
	"lives"				"3"
	"sound_block_vo"		"1"
	
	"description_en" "Reimu Hakurei:\n''DONATE DONATE DONATE!''\nSuper Jump: alt-fire & look up. Stand up before meter reaches 100%.\nTeleport: alt-fire & look up. At 100%, stand up.\nWeigh-down: in midair, look down and crouch.\nRage (Instant Dimensional Rift): Call for Medic or Taunt when RAGE meter is full.\nRage Info: Clone+Teleport+5 Sec invun\nOn Life Loss: Fantasy Nature\nInfo: Drift and lunge at players while being unable to be seen."
	
	"weapon1"
	{
		"name"				"tf_weapon_shovel"
		"index"				"447"
		"show"				"1"
		"attributes"		"6 ; 0.8 ; 137 ; 4 ; 138 ; 0.4 ; 437 ; 1 ; 1005 ; 8208497 ; 2025; 1"
		// 6 - 20% faster fire speed
		// 137 - +300% damage vs. buildings
		// 138 - -60% damage penalty vs players
		// 437 - 100% crit vs stunned players
		// 1005 - footsteps
		// 2025 - Killstreaks Active
	}					
	"ability1"
	{
		"name" "boss_config"
		"arg0" "0"
		"arg1"	"1" // Reimu's Dimensional Rift. DO NOT CHANGE THIS VALUE!
		"arg2"	"5.0" // Reimu's Invun Duration
		"arg3"	"1" // Clone Spawn
		"arg4"	"0" //Clone HP (use 0 to split clone HP to Reimu's current HP divided by # of current lives)
		"arg5"	"5.0" // Clone Protection Duration
		"plugin_name"	"shadow93_bosses"
	}				
	"ability2"
	{
		"name" "charge_weightdown"
		"arg0"	"2.5"
		"plugin_name"	"default_abilities"
	}
	"ability3"
	{
		"name" "charge_teleport"
		"arg0"	"1"
		"arg1"	"2"
		"arg2"	"2"
		"arg3"	"ghost_appearation"
		"plugin_name"	"default_abilities"
	}
	"ability4"
	{
		"name" "charge_bravejump"
		"arg0"	"1"
		"arg1"	"2"
		"arg2"	"2"
		"arg3"  "1.2"
		"plugin_name"	"default_abilities"
	}
	"ability5"
	{
		"name" "rage_stunsg"
		"arg1"	"10"
		"plugin_name"	"default_abilities"
	}
	"ability6"
	{
		"name" "rage_stun"
		"arg1"	"2"
		"plugin_name"	"default_abilities"
	}
	"ability7"
	{
		"name" "special_dropprop"
		"arg1"	"models/items/currencypack_large.mdl"
		"arg3"	"1"
		"plugin_name"	"ff2_1st_set_abilities"
	}
 	"ability8"
  	{
        	"name" "rage_tfcondition"
        	"arg0"    "-1"    // Ability Slot
        	"arg1"    "66 ; 4.0"    // Duration
        	"plugin_name"    "ff2_tfcond"
	}  
	"ability9"
	{
		"name" "rage_matrix_attack"
		"arg0" "-1"
		"arg1" "2" // duration
		"arg2" "1.0" // game speed modifier
		"arg3" "0.1" // (?) delay with matrix leap attack in seconds
		"plugin_name"	"ff2_1st_set_abilities"
	}
	// models, sounds, whatever come later
	"sound_begin"
	{
		"1" "freak_fortress_2/reimu/reimu_start1.mp3"
	}	
	"sound_win"
	{
		"1"	"freak_fortress_2/reimu/reimu_victory1.mp3"
		"2"	"freak_fortress_2/reimu/reimu_victory2.mp3"
	}
	"sound_hit"
	{
		"1" "freak_fortress_2/reimu/reimu_hit1.mp3"
		"2" "freak_fortress_2/reimu/reimu_hit2.mp3"		
	}
	"sound_death"
	{
		"1"	"freak_fortress_2/reimu/reimu_defeat1.mp3"
		"2"	"freak_fortress_2/reimu/reimu_defeat2.mp3"
	}
	"sound_nextlife"
	{
		"1" "freak_fortress_2/reimu/reimu_rage_recover1.mp3"
		"2" "freak_fortress_2/reimu/reimu_rage_recover2.mp3"

	}
	"sound_ability"
	{
		"1"	 "freak_fortress_2/reimu/reimu_rage_primary.mp3"
		"2"	 "freak_fortress_2/reimu/reimu_rage.mp3"
		"slot2" "1"

	}
	"sound_kspree"
	{
		"1"	"freak_fortress_2/reimu/reimu_kspree.mp3"
	}
	"sound_lastman"
	{
		"1"	"freak_fortress_2/reimu/reimu_kspree.mp3"
	}
	"sound_stabbed"
	{
		"1"	 "freak_fortress_2/reimu/reimu_backstab1.mp3"
		"2"	 "freak_fortress_2/reimu/reimu_backstab2.mp3"
		"3"	 "freak_fortress_2/reimu/reimu_backstab3.mp3"
	}
	"sound_precache"
	{
		"1"	"freak_fortress_2/reimu/molc.mp3"
		"2"	"freak_fortress_2/reimu/mc_db.mp3"
		"3"	"freak_fortress_2/reimu/mo_esm.mp3"
		"4"	"freak_fortress_2/reimu/mc.mp3"
		"5"	"freak_fortress_2/reimu/cp.mp3"
		"6"	"freak_fortress_2/reimu/dlba.mp3"
		"7"	"freak_fortress_2/reimu/hrtp_esm.mp3"
	}	
	"sound_bgm"
	{
		"path1"	"freak_fortress_2/reimu/molc.mp3"
		"time1"	"180"
		"path2"	"freak_fortress_2/reimu/mc_db.mp3"
		"time2"	"330"
		"path3"	"freak_fortress_2/reimu/mo_esm.mp3"
		"time3"	"328"
		"path4"	"freak_fortress_2/reimu/mc.mp3"
		"time4"	"145"
		"path5"	"freak_fortress_2/reimu/cp.mp3"
		"time5"	"310"
		"path6"	"freak_fortress_2/reimu/dlba.mp3"
		"time6"	"464"
		"path7"	"freak_fortress_2/reimu/hrtp_esm.mp3"
		"time7"	"182"
	}
	"mod_download"
	{
		"1"	"models/player/reimu"
	}
	"mod_precache"
	{
		"1"	"models/items/currencypack_large.mdl"
	}
	"mat_download"
	{
		"1" "materials/models/player/soldier/0oldier_red"
		"2" "materials/models/player/soldier/0oldier_blue"
		"3" "materials/models/player/soldier/0oldier_red_invun"
		"4" "materials/models/player/soldier/0oldier_blue_invun"
		"5" "materials/models/player/soldier/0oldier_head_blue_invun"
		"6" "materials/models/player/soldier/0oldier_head_red_invun"
	}
	"download"
	{		
		"1" "sound/freak_fortress_2/reimu/reimu_start1.mp3"
		"2" "sound/freak_fortress_2/reimu/reimu_victory1.mp3"
		"3" "sound/freak_fortress_2/reimu/reimu_victory2.mp3"	
		"4" "sound/freak_fortress_2/reimu/reimu_defeat1.mp3"
		"5" "sound/freak_fortress_2/reimu/reimu_defeat2.mp3"		
		"6" "sound/freak_fortress_2/reimu/reimu_rage_primary.mp3"
		"7" "sound/freak_fortress_2/reimu/reimu_rage.mp3"
		"8" "sound/freak_fortress_2/reimu/reimu_backstab1.mp3"
		"9" "sound/freak_fortress_2/reimu/reimu_backstab2.mp3"
		"10" "sound/freak_fortress_2/reimu/reimu_backstab3.mp3"
		"11" "sound/freak_fortress_2/reimu/reimu_kspree.mp3"
		"12" "sound/freak_fortress_2/reimu/reimu_hit1.mp3"
		"13" "sound/freak_fortress_2/reimu/reimu_hit2.mp3"
		"14" "sound/freak_fortress_2/reimu/reimu_rage_recover1.mp3"
		"15" "sound/freak_fortress_2/reimu/reimu_rage_recover2.mp3"
		"16" "sound/freak_fortress_2/reimu/molc.mp3"
		"17" "sound/freak_fortress_2/reimu/mc_db.mp3"
		"18" "sound/freak_fortress_2/reimu/mc.mp3"
		"19" "sound/freak_fortress_2/reimu/cp.mp3"
		"20" "sound/freak_fortress_2/reimu/dlba.mp3"
		"21" "sound/freak_fortress_2/reimu/mo_esm.mp3"
		"22" "sound/freak_fortress_2/reimu/hrtp_esm.mp3"
		"23" "materials/models/player/soldier/0yeball_l.vmt"
		"24" "materials/models/player/soldier/0yeball_r.vmt"
		"25" "materials/models/player/soldier/0ye-iris.vtf"
		"26" "materials/models/player/soldier/0oldier_head.vtf"
		"27" "materials/models/player/soldier/0oldier_normal.vtf"
		"28" "materials/models/player/soldier/0oldier_head_blue.vmt"
		"29" "materials/models/player/soldier/0oldier_head_red.vmt"
		"30" "materials/models/player/soldier/0oldier_head_blue_invun_walpha.vmt"
		"31" "materials/models/player/soldier/0oldier_head_blue_invun_wtrans.vmt"
		"32" "materials/models/player/soldier/0oldier_head_blue_walpha.vmt"
		"33" "materials/models/player/soldier/0oldier_head_blue_wtrans.vmt"
		"34" "materials/models/player/soldier/0oldier_head_red_invun_walpha.vmt"
		"35" "materials/models/player/soldier/0oldier_head_red_invun_wtrans.vmt"
		"36" "materials/models/player/soldier/0oldier_head_red_walpha.vmt"
		"37" "materials/models/player/soldier/0oldier_head_red_wtrans.vmt"
		"38" "models/player/reimu.phy"
	}
}