// Freak Fortress 2
// ================
//
// Vriska Serket
// Class: Spy
// Script: Koishi (SHADoW NiNE TR3S)
// Model: Pohwelly
// Concept Artist: Mavern (SBURBFORTRESS)
// 
//
// Attack: Black Rose
// Rage: Jarate + Delirium + Visualeffect + serverwide SG Stun
// On life loss: 10 second serverwide stun
// Rage HP trigger: 2500HP
// 
// DEPENDENCIES:
// Dynamic Defaults: https://forums.alliedmods.net/showthread.php?t=258090
// TFConditions: https://forums.alliedmods.net/showthread.php?t=263598
// Phat Rages: https://forums.alliedmods.net/showpost.php?p=2353009&postcount=59

// BGM:
// Vriska's Theme: https://www.youtube.com/watch?v=jKAyUHSQsuE

"character"
{
	"name"					"Vriska Serket"
	"class"					"8"	
	"model"					"models/freak_fortress_2/serket/serket.mdl"
	"ragedist"				"9999.0"
	"health_formula"		"((((600+n)*(n-1))^1.04)+1900)/2"
	"maxspeed"				"350"
	"ragedamage"			"2500"							//Boss must get this amout of damage to fill ragemeter
	"sound_block_vo"		"1"
	"lives"					"2"
	"description_en" "Vriska Serket:\nOne of the trolls from the web comic Homestuck\nNo Super Jump!.\nWeigh-down: in midair, look down and crouch.\nRage (Mind Honey + Mind Control): Call for medic when Rage Meter is full."
	
	"weapon1"
	{
		"name"				"tf_weapon_knife"
		"index"				"727"
		"show"				"1"
		"attributes"		"15 ; 1 ; 138 ; 0.3 ; 156 ; 1 ; 179 ; 1 ; 326 ; 2 ; 334 ; 1 ; 341 ; 1 ; 360 ; 1 ; 438 ; 1 ; 2025 ; 2 ; 2014 ; 2"
		// 15: No random critical hits
		// 138: -70% Damage vs Players
		// 156: Silent Killer
		// 179: Minicrits become crits
		// 326: 100% increased jump height
		// 334: Explode spectacularly on death
		// 341: Jarate backstabber
		// 360: All players connected to medigun beams affected
		// 438: Crits vs wet players
		// 2025: Killstreak
		// 2014: Sheen
	}	
	"ability1"
	{
		"name" "dynamic_weighdown"
		
		// slot is ignored
		"arg1"	"0" // 1 = disabled by default (can only be re-enabled in code)
		"arg2"	"0" // number of uses. set to 0 to be infinite.
		"arg3"	"1.0" // the hale's normal gravity. this will practically always be 1.0
		
		// strings
		"arg19"	"You have used weighdown!"
		
		"plugin_name"	"ff2_dynamic_defaults"
	}
	"ability2"
	{
		"name" "rage_stunsg"
		"arg1"	"10"
		"plugin_name"	"default_abilities"
	}
	"ability3"
	{
		// NOTE: If you have the Teleport to Spawn plugin
		// You should just remove this ability entirely.
		"name"	"dynamic_env_management"
		
		// since parkour can make pits deadly, makes the hale invincible for N seconds after reaching an environmental damage threshold
		"arg1"	"250.0" // environmental damage threshold
		
		// another option is to teleport this player directly to another player
		"arg11"	"1" // if 1, teleports the victim to a random player
		"arg12"	"1" // 1 = try teleport on top
		"arg13"	"1" // 0 = try teleport on side
		"arg14"	"4.0" // self-stun duration
		
		"plugin_name"	"ff2_dynamic_defaults"
	}
    "ability4"  
    {  
        "name"	"rage_delirium"  
        "arg1"	"600"    // Sick Radius    (Range of sickness effect in units.) 
        "arg2"	"10"    // Duration    (Duration of sickness in seconds.) 
        "plugin_name"	"ff2_phatrages"  
    }  
    "ability5"
	{
		"name"	"rage_tfcondition"
		"arg2" "24 ; 10" // Player Conditions (TFCond ; Duration)
		"arg3" "800" // Distance
		"plugin_name"	"ff2_tfcond"
	}
	"ability6"
	{
		"name"	"rage_stun"
		"arg0"	"-1" // Ability slot
		"arg1"	"10" // Duration
		"plugin_name"		"default_abilities"
	}
	"sound_precache"
	{
		"1"	"freak_fortress_2/serket/bgm.mp3"
	}
	"sound_bgm"
	{
		"path1"	"freak_fortress_2/serket/bgm.mp3"
		"time1"	"107"
	}
	"mod_download"
	{
		"1"	"models/freak_fortress_2/serket/serket"
	}
	"mat_download"
	{
		"1" "materials/models/player/spy/glass_lense_blu"
		"2" "materials/models/player/spy/glass_lense"
		"3" "materials/models/player/spy/vrisk_horns"
		"4" "materials/models/player/spy/vrisk_hoodie_blu"
		"5" "materials/models/player/spy/vrisk_hoodie"
		"6" "materials/models/player/spy/vrisk_face_blu"
		"7" "materials/models/player/spy/vrisk_face"
		"8" "materials/models/player/spy/vrisk_body_blu"
		"9" "materials/models/player/spy/vrisk_body"
		"10" "materials/models/player/spy/spy_red_grist"
		"11" "materials/models/player/spy/spy_hand_red"
		"12" "materials/models/player/spy/spy_hand_blue"
		"13" "materials/models/player/spy/spy_blue_grist"
		"14" "materials/models/player/spy/robo_arm_red"
		"15" "materials/models/player/spy/robo_arm"
		"16" "materials/models/player/spy/invuln_vrisk_hoodie_blu"
		"17" "materials/models/player/spy/invuln_vrisk_hoodie"
		"18" "materials/models/player/spy/invuln_vrisk_face_blu"
		"19" "materials/models/player/spy/invuln_vrisk_face"
		"20" "materials/models/player/spy/invuln_vrisk_ear_blu"
		"21" "materials/models/player/spy/invuln_vrisk_ear"
		"22" "materials/models/player/spy/invuln_vrisk_buttons_blu"
		"23" "materials/models/player/spy/invuln_vrisk_buttons"
		"24" "materials/models/player/spy/invuln_glasses_blu"
		"25" "materials/models/player/spy/invuln_glasses"
		"26" "materials/models/player/spy/invuln_glass_lense_blu"
		"27" "materials/models/player/spy/invuln_glass_lense"
		"28" "materials/models/player/spy/hair_black"
		"29" "materials/models/player/spy/hair"
		"30" "materials/models/player/spy/gold_player"
	}
	"download"
	{
		"1"	"sound/freak_fortress_2/serket/bgm.mp3"
		"2" "materials/models/player/spy/invuln_vrisk_face_red.vtf"
		"3" "materials/models/player/spy/eyeball_r.vmt"
		"4" "materials/models/player/spy/eyeball_l.vmt"
		"5" "materials/models/player/spy/vrisk_body_blue.vtf"
		"6" "materials/models/player/spy/shared_normal.vtf"
		"7" "materials/models/player/spy/robo_arm_norm.vtf"
		"8" "materials/models/player/spy/invulnfx_red.vmt"
		"9" "materials/models/player/spy/invulnfx_blue.vmt"
		"10" "materials/models/player/spy/hair_local.vtf"
		"11" "materials/models/player/spy/eye-iris-blue.vtf"
		"12" "materials/models/player/spy/eye-extra.vtf"
		"13" "materials/models/player/spy/eye-cornea.vtf"
		"14" "materials/models/player/spy/eye_lightwarp.vtf"
		"15" "materials/models/player/spy/vrisk_hoodie_normal.vtf"
		"16" "materials/models/player/spy/vrisk_face_bump.vtf"
		"17" "materials/models/player/spy/vrisk_body_normal.vtf"
		"18" "models/freak_fortress_2/serket/serket.phy"
	}
}