hs_summoned_allhero_trigger = {#(W�S3U`l-N�v҉r�
	AND= {		
		#has_global_flag = nymph_summoned
		#has_global_flag = canna_summoned
		#has_global_flag = ntlhk_happened
		has_global_flag = rance_summoned
		has_global_flag = nanoha_summoned
		has_global_flag = fate_summoned
		has_global_flag = hayate_summoned
		has_global_flag = keima_summoned
		has_global_flag = aria_summoned
		has_global_flag = madoka_summoned
		has_global_flag = homura_summoned
		has_global_flag = kirika_summoned
		has_global_flag = reimu_summoned
		has_global_flag = saitama_summoned
		has_global_flag = touma_summoned
		has_global_flag = light_summoned
		has_global_flag = napoleon_summoned
		has_global_flag = sakura_summoned
		has_global_flag = rika_summoned
		has_global_flag = shana_summoned
		has_global_flag = tiger_summoned
		has_global_flag = stern_summoned
		has_global_flag = kanade_summoned
		has_global_flag = koromo_summoned
		has_global_flag = jotaro_summoned
		has_global_flag = nagi_summoned
		has_global_flag = mahiru_summoned
		has_global_flag = haruhi_summoned
		has_global_flag = azusa_summoned
		has_global_flag = haruka_summoned
		has_global_flag = yuna_summoned
		has_global_flag = kotaro_summoned
		has_global_flag = rintaro_summoned
		has_global_flag = miho_summoned
		has_global_flag = chtholly_summoned
		has_global_flag = anko_summoned
		has_global_flag = ange_summoned
		has_global_flag = katrine_summoned
		has_global_flag = sistine_summoned
		has_global_flag = kazuto_summoned
		has_global_flag = hotaro_summoned
		has_global_flag = aqua_summoned
		has_global_flag = theresa_summoned
		has_global_flag = kurumi_summoned
		has_global_flag = sagiri_summoned
		has_global_flag = miku_summoned
		has_global_flag = chino_summoned
		has_global_flag = aoi_summoned
		#has_global_flag = kagami_summoned
		has_global_flag = kanada_summoned
		has_global_flag = chiyo_summoned	
		#has_global_flag = mudan_summoned
		has_global_flag = domyoji_summoned
		#has_global_flag = yami_summoned
		has_global_flag = hero180_summoned
		has_global_flag = hero20_summoned
		has_global_flag = sherlock_summoned
		has_global_flag = saki_summoned
		has_global_flag = younai_summoned
		has_global_flag = emi_summoned
		has_global_flag = levi_summoned
		has_global_flag = feiya_summoned
		has_global_flag = kezi_summoned
		has_global_flag = eucliwood_summoned
		has_global_flag = ouma_summoned
		has_global_flag = mikoto_summoned		
		has_global_flag = sora_summoned
		has_global_flag = linlindie_summoned
		has_global_flag = heixue_summoned
		#has_global_flag = liuli_summoned
		has_global_flag = hero153_summoned
		has_global_flag = kyuko_summoned
		has_global_flag = mashiro_summoned
		has_global_flag = yiji_summoned
		has_global_flag = nao_summoned
		has_global_flag = qilin_summoned
		has_global_flag = vic_summoned
		has_global_flag = jibril_summoned
		has_global_flag = hachiman_summoned
		has_global_flag = caiyue_summoned
		has_global_flag = mafuyu_summoned
		has_global_flag = sanya_summoned
		has_global_flag = mei_summoned
		has_global_flag = misaki_summoned
		has_global_flag = 614_summoned  		
		has_global_flag = baiyang_summoned
		has_global_flag = longyi_summoned
		has_global_flag = hero75_summoned
		has_global_flag = xingnai_summoned
		has_global_flag = hutao_summoned
		has_global_flag = yaya_summoned
		has_global_flag = masutsu_summoned
		#has_global_flag = xiaomao_summoned
		has_global_flag = hero164_summoned
		has_global_flag = seya_summoned
		has_global_flag = bayi_summoned
		has_global_flag = err_summoned
		has_global_flag = yuezi_summoned
		has_global_flag = satai_summoned
		has_global_flag = yukina_summoned
		has_global_flag = kyoko_summoned
		has_global_flag = lagi_summoned
		has_global_flag = aoba_summoned
		has_global_flag = kaori_summoned	
		has_global_flag = yanye_summoned		
		has_global_flag = sanhao_summoned
		has_global_flag = chunyilang_summoned
		has_global_flag = sanfeng_summoned
		has_global_flag = yanzhu_summoned
		has_global_flag = yika_summoned
		has_global_flag = miaopas_summoned
		has_global_flag = akane_summoned
		has_global_flag = meika_summoned
		has_global_flag = cian_summoned
		has_global_flag = mamei_summoned
		has_global_flag = sayaka_summoned
		has_global_flag = xingzi_summoned
		#has_global_flag = linai_summoned
		has_global_flag = chuju_summoned
		has_global_flag = meimori_summoned
		#has_global_flag = asuna_summoned
		#has_global_flag = kris_summoned
		#has_global_flag = eru_summoned
		#has_global_flag = yuki_summoned	
		has_global_flag = xiangzi_summoned
		has_global_flag = miaonei_summoned
		has_global_flag = banliu_summoned
		has_global_flag = junji_summoned
		has_global_flag = shenxue_summoned
		has_global_flag = kanami_summoned
		has_global_flag = yalisha_summoned
		has_global_flag = xinnai_summoned
		#has_global_flag = shilang_summoned
		has_global_flag = yl_hero47_summoned	
		has_global_flag = dogprincess_summoned
		has_global_flag = sonia_summoned
		has_global_flag = neijuan_summoned
		#has_global_flag = sayanormal_summoned
		has_global_flag = ayano_summoned
		has_global_flag = ayano2_summoned
		has_global_flag = umaru_summoned
		has_global_flag = mizuki_summoned
		has_global_flag = ningzi_summoned
		has_global_flag = iori_summoned
		has_global_flag = yueyou_summoned
		has_global_flag = aoweila_summoned
		has_global_flag = ruoyi_summoned
		has_global_flag = cagliostro_summoned
		has_global_flag = lulutiye_summoned
		has_global_flag = 16ye_summoned
		has_global_flag = chaotian_summoned
		has_global_flag = kaisi_summoned
		has_global_flag = sanhua_summoned
		has_global_flag = holo_summoned
		has_global_flag = kuro_summoned
		has_global_flag = zaoji_summoned
		has_global_flag = makinohara_summoned
		has_global_flag = mamiya_summoned
		has_global_flag = tamaki_summoned
		has_global_flag = takino_summoned
		has_global_flag = rinne_summoned
		has_global_flag = shizi_summoned
		has_global_flag = erio_summoned
		has_global_flag = qing_summoned
		has_global_flag = weika_summoned
		has_global_flag = hestiya_summoned
		has_global_flag = lisasi_summoned
		has_global_flag = ttmao_summoned
		has_global_flag = chitosui_summoned
		has_global_flag = fengtailang_summoned
		has_global_flag = qishi_summoned
		has_global_flag = llx_summoned
		has_global_flag = yingzi_summoned
		has_global_flag = xiaoshi_summoned
		has_global_flag = tanya_summoned
		has_global_flag = knsbsub1_summoned
		has_global_flag = aisitin_summoned
		has_global_flag = heitie_summoned
		has_global_flag = adolf_summoned
		has_global_flag = 1k64_summoned
		#has_global_flag = naiyako_summoned
		has_global_flag = jilu_summoned
		has_global_flag = qianzao_summoned
		has_global_flag = orinalice_summoned
		has_global_flag = totoli_summoned
		#has_global_flag = palas_summoned
		#has_global_flag = kaqia_summoned
		has_global_flag = adh_summoned
		has_global_flag = shenyong_summoned
		has_global_flag = momo_summoned
		has_global_flag = xinyi_summoned
		has_global_flag = kid_summoned
		has_global_flag = tuoer_summoned
		has_global_flag = hero1_summoned
		has_global_flag = hero2_summoned
		has_global_flag = hero3_summoned
		has_global_flag = hero4_summoned
		has_global_flag = hero5_summoned
		has_global_flag = hero6_summoned
		has_global_flag = hero69_summoned
		has_global_flag = hero71_summoned		
		has_global_flag = hero77_summoned
		has_global_flag = hero78_summoned				
		has_global_flag = hero81_summoned		
		has_global_flag = hero85_summoned
		has_global_flag = hero86_summoned
		has_global_flag = hero88_summoned
		has_global_flag = hero89_summoned
		has_global_flag = hero91_summoned
		has_global_flag = hero93_summoned
		has_global_flag = hero106_summoned
		has_global_flag = hero114_summoned
		has_global_flag = hero115_summoned
		has_global_flag = hero117_summoned
		has_global_flag = hero135_summoned
		has_global_flag = hero136_summoned
		has_global_flag = hero137_summoned
		has_global_flag = hero138_summoned
		has_global_flag = hero142_summoned
		has_global_flag = hero174_summoned
		has_global_flag = hero175_summoned
		has_global_flag = hero186_summoned	
		has_global_flag = hero228_summoned
		has_global_flag = hero260_summoned
		has_global_flag = hero279_summoned
		has_global_flag = hero282_summoned
		has_global_flag = hero355_summoned
		has_global_flag = hero362_summoned
		has_global_flag = hero366_summoned
		has_global_flag = hero372_summoned
		has_global_flag = hero370_summoned
		has_global_flag = hero373_summoned
		has_global_flag = hero375_summoned
		has_global_flag = hero379_summoned
		has_global_flag = hero385_summoned
		has_global_flag = hero386_summoned
		has_global_flag = hero393_summoned
		has_global_flag = hero398_summoned
		has_global_flag = hero403_summoned
		has_global_flag = hero421_summoned
		has_global_flag = hero423_summoned
		has_global_flag = hero441_summoned
		has_global_flag = hero445_summoned
		has_global_flag = hero448_summoned
		has_global_flag = hero466_summoned
		has_global_flag = hero436_summoned

		has_global_flag = hero562_summoned
		has_global_flag = hero564_summoned
		has_global_flag = hero565_summoned
		has_global_flag = hero568_summoned
		has_global_flag = hero573_summoned
		has_global_flag = hero585_summoned
		has_global_flag = hero589_summoned
		has_global_flag = hero598_summoned
		has_global_flag = hero669_summoned
		has_global_flag = hero670_summoned
		has_global_flag = hero685_summoned
		has_global_flag = hero694_summoned

		has_global_flag = hero725_summoned
		has_global_flag = hero732_summoned
	}
}






is_member_of_hs_malehero_trigger ={#7u'`N�SW�/O�v҉r�
	OR = {
		trait = yl_hero695
		trait = yl_hero697
		trait = yl_hero698
		trait = yl_hero699
		trait = yl_hero700
		trait = yl_hero702
		trait = yl_hero703
		trait = yl_hero708

		trait = yl_rance 
		trait = yl_keima 
		trait = yl_saitama 
		trait = yl_touma 
		trait = yl_light 
		trait = yl_jotaro 
		trait = yl_kotaro 
		trait = yl_rintaro 
		trait = yl_kazuto 
		trait = yl_hotaro 
		trait = yl_keruge
		trait =	yl_ouma 
		trait =	yl_longyi
		trait =	yl_seya
		trait =	yl_bayi
		trait =	yl_satai
		trait =	yl_lagi
		trait =	yl_hachiman 
		trait =	yl_caiyue
		trait =	yl_levi
		trait =	yl_sanhao
		trait =	yl_chunyilang
		trait =	yl_vocaloid2
		trait =	yl_shilang
		trait =	yl_kaiyimu
		trait =	yl_neijuan
		trait =	yl_ruoyi
		trait =	yl_dio
		trait =	yl_jobana	
		trait =	yl_16ye
		trait =	yl_chaotian
		trait =	yl_kaisi
		trait =	yl_kuro
		trait =	yl_takino
		trait =	yl_laiyin
		trait =	yl_duobiou
		trait =	yl_jldahe
		trait =	yl_shanaF
		trait =	yl_feiniao
		trait =	yl_aoerjia
		trait =	yl_fengtailang
		trait =	yl_llx
		trait =	yl_xiaoshi
		trait =	yl_nanoha_sub4
		trait =	yl_hissub3
		trait =	yl_hissub4
		trait =	yl_gbfsub1
		trait =	yl_knsbsub1
		trait =	yl_heitie
		trait =	yl_hissub12
		trait =	yl_hissub13
		trait =	yl_adh
		trait =	yl_hissub15
		trait =	yl_rancesub7
		trait =	yl_shenyong
		trait =	yl_xinyi
		trait =	yl_kid
		trait =	yl_hakusub1
		trait =	yl_hakusub4
		trait =	yl_hakusub5
		trait =	yl_hakusub7
		trait =	yl_hissub16
		trait =	yl_yongbingsub9
		trait =	yl_hero12
		trait =	yl_hero13
		trait =	yl_svsub7
		trait =	yl_hero66
		trait =	yl_hero67
		trait =	yl_hero68
		trait =	yl_hero69
		trait =	yl_hero71		
		trait =	yl_hero16
		trait =	yl_hero21
		trait =	yl_hero22
		trait =	yl_hero23
		trait =	yl_hero25
		trait =	yl_hero26
		trait =	yl_hero27
		trait =	yl_hero29
		trait =	yl_hero30
		trait =	yl_hero31
		trait =	yl_hero33
		trait =	yl_hero42
		trait =	yl_hero44
		trait =	yl_hero45
		trait =	yl_hero47
		trait =	yl_hero49
		trait =	yl_hero52
		trait =	yl_hero56
		trait =	yl_hero57
		trait =	yl_hero79	
		trait =	yl_hero82
		trait =	 yl_hero96
		trait =	 yl_hero97
		trait =	 yl_hero98
		trait =	 yl_hero100
		trait =	 yl_hero101
		trait =	 yl_hero102
		trait =	 yl_hero111		
		trait =	yl_hero114
		trait =	yl_hero115
		trait =	yl_hero120
		trait =	yl_hero123
		trait =	yl_hero138
		trait =	yl_hero148
		trait =	yl_hero151
		trait =	yl_hero163
		trait =	yl_hero168
		trait =	yl_hero169
		trait =	yl_hero178
		trait =	yl_hero179
		trait =	yl_hero186	
		trait =	yl_hero218	
		trait =	yl_hero222
		trait =	yl_hero230
		trait =	yl_hero242
		trait =	yl_hero252
		trait =	yl_hero255		
		trait =	yl_hero282
		trait =	yl_hero287
		trait =	yl_hero294
		trait =	yl_hero324		
		trait =	yl_hero304
		trait =	yl_hero339
		trait =	yl_hero353
		trait =	yl_hero355
		trait =	yl_hero358
		trait =	yl_hero362
		
		trait =	yl_hero368
		trait =	yl_hero369
		trait =	yl_hero372
		trait =	yl_hero375
		trait =	yl_hero376
		trait =	yl_hero379
		trait =	yl_hero384
		trait =	yl_hero392
		trait =	yl_hero398
		trait =	yl_hero421
		trait =	yl_hero437
		trait =	yl_hero450
		trait =	yl_hero455
		trait =	yl_hero463
		trait =	yl_hero464
		trait =	yl_hero465
		trait =	yl_hero470
		trait =	yl_hero472
		trait =	yl_hero474
		trait =	yl_hero483
		trait =	yl_hero485
		trait =	yl_hero487
		trait =	yl_hero492
		trait =	yl_hero493
		trait =	yl_hero498
		trait =	yl_hero503
		trait =	yl_hero515
		trait =	yl_hero516
		trait =	yl_hero522
		trait =	yl_hero527
		trait =	yl_hero529
		trait =	yl_hero535
		trait =	yl_hero537
		trait =	yl_hero552
		trait =	yl_hero553
		trait =	yl_hero556
		trait =	yl_hero561 
		trait =	yl_hero563
		trait =	yl_hero569
		trait =	yl_hero586
		trait =	yl_hero589
		trait =	yl_hero591

		trait =	yl_hero598
		trait =	yl_hero599
		trait =	yl_hero601
		trait =	yl_hero605
		trait =	yl_hero606
		trait =	yl_hero607
		trait =	yl_hero608

		trait = yl_hero632
		trait = yl_hero652
		trait = yl_hero653
		trait = yl_hero671

		trait = yl_hero721
		trait = yl_hero722
		trait = yl_hero725
		trait = yl_hero727
		trait = yl_hero733
		trait = yl_hero735
		trait = yl_hero736
		trait = yl_hero739
		trait = yl_hero741
		trait = yl_hero747
		trait = yl_hero753

	}
}
is_member_of_hs_femalehero_trigger = {#sY'`N�SW�/O
	OR = {
		trait = yl_hero696
		trait = yl_hero701
		trait = yl_hero704
		trait = yl_hero705
		trait = yl_hero706
		trait = yl_hero707
		trait = yl_hero709
		trait = yl_hero710
		trait = yl_hero711
		trait = yl_hero712
		trait = yl_hero713
		trait = yl_hero714
		trait = yl_hero715
		trait = yl_hero222_sub1
		trait = yl_hero222_sub2


		trait = yl_nanoha 
		trait = yl_fate 
		trait = yl_hayate 
		trait = yl_aria  
		trait = yl_madoka 
		trait = yl_homura 
		trait = yl_kirika 
		trait = yl_reimu 
		trait = yl_napoleon 
		trait = yl_sakura 
		trait = yl_rika 
		trait = yl_shana 
		trait = yl_tiger 
		trait = yl_stern 
		trait = yl_kanade 
		trait = yl_koromo 
		trait = yl_nagi 
		trait = yl_mahiru 
		trait = yl_haruhi 
		trait = yl_azusa 
		trait = yl_haruka 
		trait = yl_yuna 
		trait = yl_miho  
		trait = yl_chtholly 
		trait = yl_anko 
		trait = yl_ange 
		trait = yl_katrine 
		trait = yl_sistine 
		trait = yl_aqua 
		trait = yl_theresa 
		trait = yl_shikieiki 
		trait = yl_gabriel 
		trait = yl_alice 
		trait = yl_rubin 
		trait = yl_lampe 
		trait = yl_souseiseki  
		trait = yl_ai 
		trait = yl_luna  
		trait = yl_shiro 
		trait = yl_akari  
		trait = yl_ailin  
		trait = yl_mea  
		trait = yl_misuzu  
		trait = yl_ayu  
		trait = yl_nagisa   
		trait =	yl_Kurumi 	
		trait =	yl_Karen  	
		trait =	yl_Maya  	
		trait =	yl_Nana  	
		trait =	yl_Hikari  	
		trait =	yl_reset  	
		trait =	yl_sagiri   	
		trait =	yl_miku   	
		trait =	yl_chino   	
		trait =	yl_aoi   	
		trait =	yl_kagami   	
		trait =	yl_kanada   	
		trait =	yl_chiyo   	
		trait =	yl_domyoji   	
		trait =	yl_mudan   	
		trait =	yl_vvo   	
		trait =	yl_yami   	
		trait =	yl_chika    	
		trait =	yl_sherlock    	
		trait =	yl_saki
		trait =	yl_xila 
		trait =	yl_riya 
		trait =	yl_xilu 
		trait =	yl_xiangji 					
		trait =	yl_younai 
		trait =	yl_emi 
		trait =	yl_reimi 
		trait =	yl_fulan 
		trait =	yl_sakuya 
		trait =	yl_koishi 
		trait =	yl_satori 
		trait =	yl_suwako 
		trait =	yl_sanae 
		trait =	yl_kanako 
		trait =	yl_kaguya 
		trait =	yl_yonglin 
		trait =	yl_lingxian 
		trait =	yl_uuz 
		trait =	yl_yaomeng 
		trait =	yl_tianzi 
		trait =	yl_feiya
		trait =	yl_kezi 
		trait =	yl_jeanne 
		trait =	yl_eucliwood  
		trait =	yl_mikoto 
		trait =	yl_nymph  
		trait =	yl_sora 
		trait =	yl_linlindie 
		trait =	yl_heixue 
		trait =	yl_liuli 
		trait =	yl_kyuko 
		trait =	yl_mashiro 
		trait =	yl_yiji 
		trait =	yl_nao 
		trait =	yl_qilin 
		trait =	yl_vic 
		trait =	yl_jibril 		
		trait =	yl_mafuyu 
		trait =	yl_sanya 
		trait = yl_614
		trait =	yl_baiyang 		
		trait =	yl_tuzi 
		trait =	yl_xingnai
		trait =	yl_hutao
		trait =	yl_yaya
		trait =	yl_masutsu
		trait =	yl_xiaomao	
		trait =	yl_err
		trait =	yl_yuezi
		trait =	yl_yukina
		trait =	yl_kyoko
		trait =	yl_aoba
		trait =	yl_kaori
		trait =	yl_misaki
		trait =	yl_mei 
		trait =	yl_yanye
		trait =	yl_canna
		trait =	yl_sanfeng
		trait =	yl_yanzhu
		trait =	yl_yika
		trait =	yl_miaopas
		trait =	yl_akane
		trait =	yl_meika
		trait =	yl_cian
		trait =	yl_mamei
		trait =	yl_sayaka
		trait =	yl_xingzi
		trait =	yl_linai
		trait =	yl_chuju
		trait =	yl_meimori
		trait =	yl_asuna
	   trait =	yl_kris
	   trait =	yl_eru
	   trait =	yl_yuki	
	   trait =	yl_witches1  
	   trait =	yl_witches2  
	   trait =	yl_witches3  
	   trait =	yl_witches4  
	   trait =	yl_witches5  
	   trait =	yl_vocaloid1  
	   trait =	yl_vocaloid3 
	   trait =	yl_vocaloid4 
	   trait =	yl_xiangzi   
	   trait =	yl_miaonei   
	   trait =	yl_banliu    
	   trait =	yl_junji     
	   trait =	yl_shenxue   
	   trait =	yl_kanami    
	   trait =	yl_yalisha   
	   trait =	yl_xinnai      
	   trait =	yl_yousitiya 
	   trait =	yl_kemiya      
		trait =	yl_dogprincess
		trait =	yl_sonia
		trait =	yl_sayanormal
		trait =	yl_sayalunatic
		trait =	yl_ayano
		trait =	yl_ayano2
		trait =	yl_umaru
		trait =	yl_umarusmall
		trait =	yl_mizuki
		trait =	yl_ningzi
		trait =	yl_iori
		trait =	yl_yueyou
		trait =	yl_aoweila
		trait =	yl_cagliostro
		trait =	yl_haniu
		trait =	yl_megumin
		trait =	yl_lalatina
		trait =	yl_lulutiye
		trait =	yl_sanhua
		trait =	yl_holo
		trait =	yl_zaoji
		trait =	yl_makinohara
		trait =	yl_mamiya
		trait =	yl_tamaki
		trait =	yl_brs1
		trait =	yl_brs2
		trait =	yl_pauline 
		trait =	yl_leimu
		trait =	yl_reimilia
		trait = yl_kalinna
		trait =	yl_rinne
		trait =	yl_shizi
		trait =	yl_erio
		trait =	yl_qing	
		trait =	yl_pcrsub1
		trait =	yl_pcrsub2
		trait =	yl_pcrsub3
		trait =	yl_pcrsub4
		trait =	yl_pcrsub5
		trait =	yl_pcrsub6
		trait =	yl_pcrsub7
		trait =	yl_xulun
		trait =	yl_weika
		trait =	yl_hestiya
		trait =	yl_lisasi
		trait =	yl_ttmao
		trait =	yl_chitosui
		trait =	yl_yuzusub1
		trait =	yl_yuzusub2
		trait =	yl_yuzusub3
		trait =	yl_yuzusub4				
		trait =	yl_houkai_sub1
		trait =	yl_houkai_sub2
		trait =	yl_houkai_sub3
		trait =	yl_houkai_sub4
		trait =	yl_houkai_sub5
		trait =	yl_rabbit_sub1
		trait =	yl_rabbit_sub2
		trait =	yl_rabbit_sub3
		trait =	yl_rabbit_sub4
		trait =	yl_beilun		
		trait =	yl_qishi		
		trait =	yl_yingzi	
		trait =	yl_tanya
		trait =	yl_nanoha_sub1
		trait =	yl_nanoha_sub2
		trait =	yl_nanoha_sub3		
		trait =	yl_hissub1
		trait =	yl_hissub2
		trait =	yl_hissub5
		trait =	yl_hissub6
		trait =	yl_gbfsub2
		trait =	yl_gbfsub3
		trait =	yl_gbfsub4
		trait =	yl_gbfsub5
		#trait =yl_river	
		trait =	yl_knsbsub2
		trait =	yl_knsbsub3
		trait =	yl_knsbsub4
		trait =	yl_knsbsub5
		trait =	yl_aisitin		
		trait =	yl_adolf
		trait =	yl_1k64
		trait =	yl_hissub7
		trait =	yl_hissub8
		trait =	yl_hissub9
		trait =	yl_hissub10
		trait =	yl_hissub11
		trait =	yl_hissub14
		trait =	yl_jeanne2
		trait =	yl_jeanne3
		trait =	yl_naiyako
		trait =	yl_jilu
		trait =	yl_qianzao
		trait =	yl_orinalice
		trait =	yl_totoli
		trait =	yl_palas
		trait =	yl_kaqia
		trait =	yl_jeanne_d
		trait =	yl_jeanne2_d
		trait =	yl_tohosub1
		trait =	yl_tohosub2
		trait =	yl_tohosub3
		trait =	yl_tohosub4
		trait =	yl_tohosub5
		trait =	yl_tohosub6
		trait =	yl_tohosub7
		trait =	yl_tohosub8
		trait =	yl_tohosub9
		trait =	yl_tohosub10
		trait =	yl_tohosub11
		trait =	yl_tohosub12
		trait =	yl_tohosub13
		trait =	yl_tohosub14
		trait =	yl_tohosub15
		trait =	yl_tohosub16
		trait =	yl_tohosub17
		trait =	yl_tohosub18
		trait =	yl_tohosub19
		trait =	yl_tohosub20
		trait =	yl_tohosub21
		trait =	yl_tohosub22
		trait =	yl_tohosub23
		trait =	yl_tohosub24
		trait =	yl_tohosub25
		trait =	yl_tohosub26
		trait =	yl_tohosub27
		trait =	yl_rancesub1
		trait =	yl_rancesub2
		trait =	yl_rancesub3
		trait =	yl_rancesub4
		trait =	yl_rancesub5
		trait =	yl_rancesub6
		trait =	yl_momo
		trait =	yl_tuoer
		trait =	yl_hero1
		trait =	yl_hero2
		trait =	yl_hero3
		trait =	yl_hero4
		trait =	yl_hero5
		trait =	yl_hero6
		trait =	yl_hakusub2
		trait =	yl_hakusub3
		trait =	yl_hakusub6
		trait =	yl_hakusub8
		trait =	yl_hakusub9
		trait =	yl_mikosub1
		trait =	yl_mikosub2
		trait =	yl_mikosub3
		trait =	yl_mikosub4
		trait =	yl_mikosub5
		trait =	yl_mikosub6
		trait =	yl_hakusub10       
		trait =	yl_yongbingsub1
		trait =	yl_yongbingsub2
		trait =	yl_yongbingsub3
		trait =	yl_yongbingsub4
		trait =	yl_yongbingsub5
		trait =	yl_yongbingsub6
		trait =	yl_yongbingsub7
		trait =	yl_yongbingsub8
		trait =	yl_hero7_2     
		trait =	yl_hero7       
		trait =	yl_hero8       
		trait =	yl_hero9       
		trait =	yl_hero10      
		trait =	yl_hero11            
		trait =	yl_hero14
		trait =	yl_hero15		
		trait =	yl_hero17
		trait =	yl_hero18
		trait =	yl_hero19
		trait =	yl_hero20
		trait =	yl_hero24
		trait =	yl_hero28
		trait =	yl_hero32
		trait =	yl_hero34
		trait =	yl_hero35
		trait =	yl_hero36
		trait =	yl_hero37
		trait =	yl_hero38
		trait =	yl_hero39
		trait =	yl_hero40
		trait =	yl_hero41
		trait =	yl_hero43
		trait =	yl_hero46
		trait =	yl_hero48
		trait =	yl_hero50
		trait =	yl_hero51
		trait =	yl_hero53
		trait =	yl_hero54
		trait =	yl_hero55
		trait =	yl_hero58
		trait =	yl_hero59
		trait =	yl_hero60
		trait =	yl_hero61
		trait =	yl_hero62
		trait =	yl_hero63
		trait =	yl_hero64
		trait =	yl_hero65	
		trait =	yl_hero70
		trait =	yl_hero72
		trait =	yl_hero73
		trait =	yl_hero74
		trait =	yl_hero75
		trait =	yl_hero76
		trait =	yl_hero77
		trait =	yl_hero78
		trait =	yl_hero80
		trait =	yl_hero81
		trait =	yl_hero83
		trait =	yl_hero84
		trait =	yl_hero85
		trait =	yl_hero86
		trait =	yl_hero88
		trait =	yl_hero89
		trait =	yl_hero90
		trait =	yl_hero91
		trait =	yl_hero92	
		trait =	yl_hero93
		trait =	yl_hero94
		trait =	yl_hero95		 
		trait =	yl_hero99		
		trait =	yl_hero103
		trait =	yl_hero104
		trait =	yl_hero105
		trait =	yl_hero106		
		trait =	yl_hero108
		trait =	yl_hero109
		trait =	yl_hero110		 
		trait =	yl_hero112
		trait =	yl_hero113
		trait =	yl_hero116
		trait =	yl_hero117
		trait =	yl_hero118
		trait =	yl_hero119
		trait =	yl_hero121
		trait =	yl_hero122
		trait =	yl_hero124
		trait =	yl_hero125
		trait =	yl_hero126
		trait =	yl_hero127
		trait =	yl_hero128
		trait =	yl_hero129
		trait =	yl_hero130
		trait =	yl_hero131
		trait =	yl_hero132
		trait =	yl_hero133
		trait =	yl_hero134		
		trait =	yl_hero135
		trait =	yl_hero136
		trait =	yl_hero137			
		trait =	yl_hero139
		trait =	yl_hero140
		trait =	yl_hero141
		trait =	yl_hero142
		trait =	yl_hero143
		trait =	yl_hero144
		trait =	yl_hero145
		trait =	yl_hero146
		trait =	yl_hero147		
		trait =	yl_hero149
		trait =	yl_hero150		
		trait =	yl_hero152
		trait =	yl_hero153
		trait =	yl_hero154
		trait =	yl_hero155
		trait =	yl_hero156
		trait =	yl_hero157
		trait =	yl_hero158
		trait =	yl_hero159
		trait =	yl_hero160
		trait =	yl_hero161
		trait =	yl_hero162			
		trait =	yl_hero164
		trait =	yl_hero165
		trait =	yl_hero166
		trait =	yl_hero167			
		trait =	yl_hero170
		trait =	yl_hero171
		trait =	yl_hero172
		trait =	yl_hero173
		trait =	yl_hero174
		trait =	yl_hero175
		trait =	yl_hero176
		trait =	yl_hero177
		trait =	yl_hero180
		trait =	yl_hero181
		trait =	yl_hero182
		trait =	yl_hero183
		trait =	yl_hero184
		trait =	yl_hero185			
		trait =	yl_hero187
		trait =	yl_hero188
		trait =	yl_hero189
		trait =	yl_hero190
		trait =	yl_hero191
		trait =	yl_hero192
		trait =	yl_hero193
		trait =	yl_hero194
		trait =	yl_hero195
		trait =	yl_hero196
		trait =	yl_hero197
		trait =	yl_hero198
		trait =	yl_hero199
		trait =	yl_hero200
		trait =	yl_hero201
		trait =	yl_hero202
		trait =	yl_hero203
		trait =	yl_hero204
		trait =	yl_hero213
		trait =	yl_hero205
		trait =	yl_hero206
		trait =	yl_hero207
		trait =	yl_hero208
		trait =	yl_hero209
		trait =	yl_hero210
		trait =	yl_hero211
		trait =	yl_hero212
		trait =	yl_hero214
		trait =	yl_hero215
		trait =	yl_hero216
		trait =	yl_hero217
		trait =	yl_hero219
		trait =	yl_hero220
		trait =	yl_hero221		
		trait =	yl_hero223
		trait =	yl_hero224
		trait =	yl_hero225
		trait =	yl_hero226
		trait =	yl_hero227
		trait =	yl_hero228
		trait =	yl_hero229		
		trait =	yl_hero231
		trait =	yl_hero232
		trait =	yl_hero233
		trait =	yl_hero234
		trait =	yl_hero235
		trait =	yl_hero236
		trait =	yl_hero237
		trait =	yl_hero238
		trait =	yl_hero239
		trait =	yl_hero240
		trait =	yl_hero241		
		trait =	yl_hero243
		trait =	yl_hero244
		trait =	yl_hero245
		trait =	yl_hero246
		trait =	yl_hero247
		trait =	yl_hero248
		trait =	yl_hero249
		trait =	yl_hero250
		trait =	yl_hero251
		trait =	yl_hero253
		trait =	yl_hero254
		trait =	yl_hero256
		trait =	yl_hero257
		trait =	yl_hero258
		trait =	yl_hero259
		trait =	yl_hero260		
		trait =	yl_hero266
		trait =	yl_hero267
		trait =	yl_hero268
		trait =	yl_hero269
		trait =	yl_hero270
		trait =	yl_hero271
		trait =	yl_hero272
		trait =	yl_hero273
		trait =	yl_hero274
		trait =	yl_hero275
		trait =	yl_hero276
		trait =	yl_hero277
		trait =	yl_hero278
		trait =	yl_hero279
		trait =	yl_hero280
		trait =	yl_hero281				
		trait =	yl_hero283
		trait =	yl_hero284
		trait =	yl_hero285
		trait =	yl_hero286		
		trait =	yl_hero288
		trait =	yl_hero289
		trait =	yl_hero290
		trait =	yl_hero291
		trait =	yl_hero292
		trait =	yl_hero293		
		trait =	yl_hero295
		trait =	yl_hero296
		trait =	yl_hero297
		trait =	yl_hero298
		trait =	yl_hero299
		trait =	yl_hero300
		trait =	yl_hero301
		trait =	yl_hero302
		trait =	yl_hero303	
		trait =	yl_hero305
		trait =	yl_hero306
		trait =	yl_hero307
		trait =	yl_hero308
		trait =	yl_hero309
		trait =	yl_hero310
		trait =	yl_hero311
		trait =	yl_hero312
		trait =	yl_hero313
		trait =	yl_hero314
		trait =	yl_hero315
		trait =	yl_hero316
		trait =	yl_hero317
		trait =	yl_hero318
		trait =	yl_hero319
		trait =	yl_hero320
		trait =	yl_hero321
		trait =	yl_hero322
		trait =	yl_hero323
		trait =	yl_hero325
		trait =	yl_hero326
		trait =	yl_hero327
		trait =	yl_hero328
		trait =	yl_hero329
		trait =	yl_hero330
		trait =	yl_hero331
		trait =	yl_hero332
		trait =	yl_hero333
		trait =	yl_hero334
		trait =	yl_hero335
		trait =	yl_hero336
		trait =	yl_hero337
		trait =	yl_hero338
		trait =	yl_hero340
		trait =	yl_hero341
		trait =	yl_hero342
		trait =	yl_hero343
		trait =	yl_hero344
		#trait = yl_hero345
		trait =	yl_hero346
		trait =	yl_hero347
		trait =	yl_hero348
		trait =	yl_hero349
		trait =	yl_hero350
		trait =	yl_hero351
		trait =	yl_hero352
		trait =	yl_hero354
		trait =	yl_hero356
		trait =	yl_hero357
		trait =	yl_hero359
		trait =	yl_hero360
		trait =	yl_hero361
		trait =	yl_hero363
		trait =	yl_hero364
		trait =	yl_hero365	

		
		trait =	yl_hero366
		trait =	yl_hero367
		trait =	yl_hero370
		trait =	yl_hero371
		trait =	yl_hero373
		trait =	yl_hero374	

		trait =	yl_hero23_gendersub 
		trait =	yl_hero16_gendersub 
		trait =	yl_kazuto_gendersub 
		trait =	yl_hero114_gendersub 
		trait =	yl_hero179_gendersub 
		trait =	yl_hero242_gendersub 
		trait =	yl_chaotian_gendersub
		trait =	yl_sanhao_gendersub 
		trait =	yl_hero324_gendersub 
		trait =	yl_hero287_gendersub 
		trait =	yl_hero151_gendersub 
		trait =	yl_hero368_gendersub 
		trait =	yl_hero377
		trait =	yl_hero378		
		trait =	yl_hero380
		trait =	yl_hero381
		trait =	yl_hero382
		trait =	yl_hero383
		trait =	yl_hero385
		trait =	yl_hero386
		trait =	yl_hero387
		trait =	yl_hero388
		trait =	yl_hero389
		trait =	yl_theresa2
		trait =	yl_hissub17
		trait =	yl_hissub18
		trait =	yl_hissub19
		trait =	yl_hissub20
		trait =	yl_hissub21	
		trait =	yl_hissub22
		trait =	yl_hissub23
		trait =	yl_hissub24
		trait =	yl_hero390
		trait =	yl_hero391
		trait =	yl_hero393
		trait =	yl_hero394
		trait =	yl_hero395
		trait =	yl_hero396
		trait =	yl_hero397
		trait =	yl_hissub25
		trait =	yl_hissub26
		trait =	yl_hissub27
		trait =	yl_hero399
		trait =	yl_hero400
		trait =	yl_hero401
		trait =	yl_hero402
		trait =	yl_hero403
		trait =	yl_hero404	
		trait =	yl_hero405
		trait =	yl_hero406
		trait =	yl_hero407
		trait =	yl_hero408
		trait =	yl_hero409
		trait =	yl_hero410
		trait =	yl_hero411
		trait =	yl_hero412
		trait =	yl_hero413
		trait =	yl_hero414
		trait =	yl_hero415
		trait =	yl_hero416
		trait =	yl_hero417
		trait =	yl_hero418
		trait =	yl_hero419
		trait =	yl_hero420		
		trait =	yl_hero422
		trait =	yl_hero423
		trait =	yl_hero424
		trait =	yl_hero425	
		trait =	yl_hero426
		trait =	yl_hero427
		trait =	yl_hero428
		trait =	yl_hero429
		trait =	yl_hero430
		trait =	yl_hero431
		trait =	yl_hero432
		trait =	yl_hero433
		trait =	yl_hero434
		trait =	yl_hero435
		trait =	yl_hero436
		trait =	yl_hero438
		trait =	yl_hero439
		trait =	yl_hero440
		trait =	yl_hero441
		trait =	yl_hero442
		trait =	yl_hero443
		trait =	yl_hero444
		trait =	yl_hero445
		trait =	yl_hero446	
		trait =	yl_hero447
		trait =	yl_hero448
		trait =	yl_hero449
		trait =	yl_hero451
		trait =	yl_hero452
		trait =	yl_hero453
		trait =	yl_hero454
		trait =	yl_hero456
		trait =	yl_hero457
		trait =	yl_hero458
		trait =	yl_hero459
		trait =	yl_hero460
		trait =	yl_hero461
		trait =	yl_hero462
		trait =	yl_hero466
		trait =	yl_hero467
			
		trait =	yl_hero468
		trait =	yl_hero469		
		trait =	yl_hero471		
		trait =	yl_hero473		
		trait =	yl_hero475
		trait =	yl_hero476
		trait =	yl_hero477
		trait =	yl_hero478
		trait =	yl_hero479
		trait =	yl_hero480
		trait =	yl_hero481
		trait =	yl_hero482	
		trait =	yl_hero484		
		trait =	yl_hero486		
		trait =	yl_hero488
		trait =	yl_hero489
		trait =	yl_hero490
		trait =	yl_hero491				
		trait =	yl_hero494
		trait =	yl_hero495
		trait =	yl_hero496
		trait =	yl_hero497		
		trait =	yl_hero499
		trait =	yl_hero500
		trait =	yl_hero501
		trait =	yl_hero502		
		trait =	yl_hero504
		trait =	yl_hero505
		trait =	yl_hero506
		trait =	yl_hero507
		trait =	yl_hero508
		trait =	yl_hero509
		trait =	yl_hero510
		trait =	yl_hero511
		trait =	yl_hero512
		trait =	yl_hero513
		trait =	yl_hero514
		trait =	yl_hero517
		trait =	yl_hero518
		trait =	yl_hero519
		trait =	yl_hero520
		trait =	yl_hero521	
		trait =	yl_hero523
		trait =	yl_hero524
		trait =	yl_hero525
		trait =	yl_hero526		
		trait =	yl_hero528	
		trait =	yl_hero530
		trait =	yl_hero531
		trait =	yl_hero532
		trait =	yl_hero533
		trait =	yl_hero534		
		trait =	yl_hero536	
		trait =	yl_hero538
		trait =	yl_hero539
		trait =	yl_hero540
		trait =	yl_hero541
		trait =	yl_hero542
		trait =	yl_hero543
		trait =	yl_hero544
		trait =	yl_hero545
		trait =	yl_hero546
		trait =	yl_hero547
		trait =	yl_hero548
		trait =	yl_hero549
		trait =	yl_hero550
		trait =	yl_hero551	
		trait =	yl_hero554
		trait =	yl_hero555		
		trait =	yl_hero557
		trait =	yl_hero558
		trait =	yl_hero559
		trait =	yl_hero560		
		trait =	yl_hero562	
		trait =	yl_hero564
		trait =	yl_hero565
		trait =	yl_hero566
		trait =	yl_hero567
		trait =	yl_hero568		
		trait =	yl_hero570
		trait =	yl_hero571
		trait =	yl_hero572	
		
		trait =	yl_umasub33
		trait =	yl_umasub20
		
		trait =	yl_hero573
		trait =	yl_hero574
		trait =	yl_hero575
		trait =	yl_hero576
		trait =	yl_hero577
		trait =	yl_hero578
		trait =	yl_hero579
		trait =	yl_hero580
		trait =	yl_hero581
		trait =	yl_hero582
		trait =	yl_hero583
		trait =	yl_hero584
		trait =	yl_hero585
		trait =	yl_hero587
		trait =	yl_hero588
		trait =	yl_hero590
		trait =	yl_hero592
		trait =	yl_hero593

		trait =	yl_hero516_gendersub
		trait =	yl_hero594
		trait =	yl_hero595
		trait =	yl_hero596
		trait =	yl_hero597		
		trait =	yl_hero599_gendersub		
		trait =	yl_hero602
		trait =	yl_hero603
		trait =	yl_hero604		
		trait =	yl_hero609
		trait =	yl_hero610

		trait =	yl_hero612
		trait =	yl_hero613
		trait =	yl_hero614
		trait =	yl_hero615
		trait =	yl_hero616
		trait =	yl_hero617
		trait =	yl_hero618
		trait =	yl_hero619
		trait =	yl_hero620
		trait =	yl_hero621
		trait =	yl_hero622
		trait =	yl_hero623
		trait =	yl_hero624
		trait =	yl_hero625
		trait =	yl_hero626
		trait =	yl_hero627
		trait =	yl_hero628
		trait =	yl_hero629
		trait =	yl_hero630
		trait =	yl_hero631

		trait = yl_hero633
		trait = yl_hero634
		trait = yl_hero635
		trait = yl_hero636
		trait = yl_hero637
		trait = yl_hero638
		trait = yl_hero639
		trait = yl_hero640
		trait = yl_hero641
		trait = yl_hero642
		trait = yl_hero643
		trait = yl_hero644
		trait = yl_hero645
		trait = yl_hero646
		trait = yl_hero647
		trait = yl_hero648
		trait = yl_hero649
		trait = yl_hero650
		trait = yl_hero651
		trait = yl_hero654
		trait = yl_hero655
		trait = yl_hero656
		trait = yl_hero657
		trait = yl_hero658
		trait = yl_hero659
		trait = yl_hero660
		trait = yl_hero661
		trait = yl_hero662
		trait = yl_hero663
		trait = yl_hero664
		trait = yl_hero665
		trait = yl_hero666
		trait = yl_hero667
		trait = yl_hero668
		trait = yl_hero669
		trait = yl_hero670
		trait = yl_hero672
		trait = yl_hero673
		trait = yl_hero652_gendersub
		trait = yl_hero653_gendersub
		trait = yl_hero674
		trait = yl_hero675
		trait = yl_hero676
		trait = yl_hero677
		trait = yl_hero678
		trait = yl_hero679
		trait = yl_hero680
		trait = yl_hero681
		trait = yl_hero682
		trait = yl_hero683
		trait = yl_hero684
		trait = yl_hero685
		trait = yl_hero686
		trait = yl_hero687
		trait = yl_hero688
		trait = yl_hero689
		trait = yl_hero690
		trait = yl_hero691
		trait = yl_hero692
		trait = yl_hero693
		trait = yl_hero694
		
		trait = yl_hero716
		trait = yl_hero717
		trait = yl_hero718
		trait = yl_hero719
		trait = yl_hero720
		trait = yl_hero723
		trait = yl_hero724
		trait = yl_hero726
		trait = yl_hero728
		trait = yl_hero729
		trait = yl_hero730
		trait = yl_hero731
		trait = yl_hero732
		trait = yl_hero734
		trait = yl_hero737
		trait = yl_hero738
		trait = yl_hero740
		trait = yl_hero742
		trait = yl_hero743
		trait = yl_hero744
		trait = yl_hero745
		trait = yl_hero746
		trait = yl_hero748
		trait = yl_hero749
		trait = yl_hero750
		trait = yl_hero751
		trait = yl_hero752
		trait = yl_hero754
		trait = yl_hero755
		trait = yl_hero756
		trait = yl_hero757
		trait = yl_hero736_gendersub

	}	   
}
hs_hero_havehuajia_trigger = {#�b	g���Z҉r�
	OR = {
		 trait = yl_fate
		 trait = yl_reimu
		 trait = yl_sakura
		 trait = yl_rika 
		 trait = yl_shana 
		 trait = yl_tiger 
		 trait = yl_stern 
		 trait = yl_kanade
		 trait = yl_nagi 
		 trait = yl_haruhi
		 trait = yl_azusa 
		 trait = yl_haruka 
		 trait = yl_miho 
		 trait = yl_sistine 
		 trait = yl_aqua 
		 trait = yl_gabriel
		 trait = yl_alice 
		 trait = yl_sagiri 
		 trait = yl_miku
		 trait = yl_chino 
		 trait = yl_yami
		 trait = yl_nanoha 
		 trait = yl_hayate 
		 trait = yl_aria 
		 trait = yl_koromo 
		 trait = yl_yuna 
		 trait = yl_chtholly 
		 trait = yl_anko 
		 trait = yl_ange 
		 trait = yl_theresa 
		 trait = yl_Kurumi 
		 trait = yl_kagami 
		 trait = yl_chiyo 
		 trait = yl_kanada 
		 trait = yl_sherlock 
		 trait = yl_saki 
		 trait = yl_ayanami 
		 trait = yl_laffy 
		 trait = yl_enterprise 
		 trait = yl_ougen 
		 trait = yl_unicorn 
		 trait = yl_cleveland 
		trait = yl_homura 
		trait = yl_madoka 
		trait = yl_vvo 
		trait = yl_younai 
		trait = yl_emi 	
		trait = yl_feiya 
		trait = yl_kezi 
		trait = yl_eucliwood 
		trait = yl_mikoto 
		trait = yl_sora 
		trait = yl_liuli 
		trait = yl_mashiro 
		trait = yl_nao 
		trait = yl_qilin 
		trait = yl_vic 
		trait = yl_jibril 
		trait = yl_mafuyu 
		trait = yl_nagisa 
		trait = yl_suomi 
		trait = yl_negav 
		trait = yl_gone
		trait = yl_614
		trait = yl_aoba
		trait = yl_hutao
		trait = yl_masutsu
		trait = yl_yukina
		trait = yl_heixue
		trait = yl_kyuko
		trait = yl_yaya
		trait = yl_err
		trait = yl_yuezi
		trait = yl_nymph
		trait = yl_ai
		trait = yl_luna
		trait = yl_akari
		trait = yl_mea
		trait = yl_shiro
		trait = yl_rubin
		trait = yl_yamato
		trait = yl_shigure
		trait = yl_yuudachi
		trait = yl_shimakaze
		trait = yl_yanye   
		trait = yl_mamei   
		trait = yl_yika    
		trait = yl_kris    
		trait = yl_miaopas 
		trait = yl_canna   
		trait = yl_yanzhu  
		trait = yl_meika   
		trait = yl_meimori 
		trait = yl_sanhao  
		trait = yl_akane   
		trait = yl_asuna   
		trait = yl_chuju   
		trait = yl_eru     
		trait = yl_cian    
		trait = yl_sayaka  
		trait = yl_xingzi  
		trait = yl_yuki    
		trait = yl_linai   
		trait = yl_xingnai 
		trait = yl_mahiru
		trait = yl_vocaloid4
		trait = yl_kanami
		trait = yl_cagliostro
		trait = yl_xiangzi
		trait = yl_shenxue
		trait = yl_banliu
		trait = yl_yalisha
		trait = yl_xinnai
		trait = yl_dogprincess
		trait = yl_sayanormal
		trait = yl_umaru
		trait = yl_ningzi
		trait = yl_haniu
		trait = yl_lalatina
		trait = yl_megumin
		trait = yl_vocaloid3
		trait = yl_sanya
		trait = yl_witches3
		trait = yl_junji
		trait = yl_jeanne
		trait = yl_reset
		trait = yl_leimu
		trait = yl_reimilia
		trait = yl_robot1
		trait = yl_tamaki
		trait = yl_mamiya
		trait = yl_sanhua
		trait = yl_ayano
		trait = yl_ayano2
		trait = yl_mizuki
		trait = yl_yueyou
		trait = yl_lulutiye
		trait = yl_holo
		trait = yl_makinohara
		trait = yl_linlindie
		trait = yl_miaonei
		trait = yl_sanfeng
		trait = yl_baiyang
		trait = yl_tuzi
		trait = yl_xiaomao
		trait = yl_kyoko
		trait = yl_kaori
		trait = yl_pcrsub3
		trait = yl_pcrsub7
		trait = yl_pcrsub2
		trait = yl_pcrsub1
		trait = yl_pcrsub5
		trait = yl_pcrsub4
		trait = yl_qing
		trait = yl_chitosui
		trait = yl_lisasi
		trait = yl_ttmao
		trait = yl_kalinna
		trait = yl_hestiya
		trait = yl_erio
		trait = yl_weika
		trait = yl_aoi
		trait = yl_chika
		trait = yl_katrine
		trait = yl_yuzusub1
		trait = yl_yuzusub2
		trait = yl_yuzusub3
		trait = yl_yuzusub4
		trait = yl_houkai_sub1
		trait = yl_houkai_sub2
		trait = yl_houkai_sub3
		trait = yl_houkai_sub4
		trait = yl_houkai_sub5
		trait = yl_qishi
		trait = yl_yingzi
		trait = yl_tanya
		trait = yl_rabbit_sub1
		trait = yl_rabbit_sub2
		trait = yl_rabbit_sub3
		trait = yl_rabbit_sub4
		trait = yl_shizi
		trait = yl_rinne
		trait = yl_chaotian
		trait = yl_aoweila
		trait = yl_witches1
		trait = yl_witches2
		trait = yl_witches4
		trait = yl_witches5
		trait = yl_mei
		trait = yl_hissub1
		trait = yl_aisitin
		trait = yl_1k64
		trait = yl_adolf
		trait = yl_hissub3
		trait = yl_hissub6
		trait = yl_gbfsub2
		trait = yl_gbfsub3
		trait = yl_gbfsub4
		trait = yl_gbfsub5
		trait = yl_knsbsub2
		trait = yl_knsbsub3
		trait = yl_knsbsub4
		trait = yl_knsbsub5
		trait = yl_nanoha_sub1
		trait = yl_nanoha_sub2
		trait = yl_nanoha_sub3
		trait = yl_zaoji
		trait = yl_yiji
		trait = yl_iori
		trait = yl_misaki
		trait = yl_kaqia
		trait = yl_jeanne_d
		trait = yl_jeanne2_d
		trait = yl_hissub7
		trait = yl_tuoer
		trait = yl_hissub8
		trait = yl_totoli
		trait = yl_orinalice
		trait = yl_jeanne3
		trait = yl_hissub2
		trait = yl_naiyako
		trait = yl_napoleon
		trait = yl_momo
		trait = yl_jilu
		trait = yl_koishi
		trait = yl_satori
		trait = yl_sanae
		trait = yl_reimi
		trait = yl_fulan
		trait = yl_tianzi
		trait = yl_tohosub1	
        trait = yl_hero1
        trait = yl_hero2
        trait = yl_hero3
        trait = yl_hero4
        trait = yl_hero5
        trait = yl_hero6
        trait = yl_hero7
        trait = yl_hero8
        trait = yl_hero10
        trait = yl_hero14
        trait = yl_hero15
        trait = yl_tohosub4
        trait = yl_tohosub5
        trait = yl_tohosub6
        trait = yl_suwako
        trait = yl_kaguya
        trait = yl_lingxian
        trait = yl_uuz
        trait = yl_yaomeng
        trait = yl_tohosub9
        trait = yl_tohosub27
		trait = yl_hero17
		trait = yl_hero18
		trait = yl_hero19
		trait = yl_hero20
		trait = yl_hero24
		trait = yl_hero28
		trait = yl_hero32
		trait = yl_hero34
		trait = yl_hero35
		trait = yl_hero36
		trait = yl_hero37
		trait = yl_hero38
		trait = yl_hero39
		trait = yl_hero40
		trait = yl_hero41
		trait = yl_hero43
		trait = yl_hero46
		trait = yl_hero48
		trait = yl_hero50
		trait = yl_hero51
		trait = yl_hero53
		trait = yl_hero54
		trait = yl_hero55
		trait = yl_hero60
		trait = yl_hero61
		trait = yl_hero62
		trait = yl_hero63
		trait = yl_hero64
		trait = yl_hero65
		trait = yl_hero70
		trait = yl_hero75
		trait = yl_hero76
		trait = yl_hero77
		trait = yl_hero78
		trait = yl_hero80
		trait = yl_hero81
		trait = yl_hero83
		trait = yl_hero86
		trait = yl_hero88
		trait = yl_hero89
		trait = yl_hero91
		trait = yl_hero92
		trait = yl_hero106
		trait = yl_hero93
		trait = yl_hero94
		trait = yl_hero95
		trait = yl_hero103
		trait = yl_hero104
		trait = yl_hero105
		trait = yl_hero108
		trait = yl_hero110
		trait = yl_hero109
		trait = yl_hero112
		trait = yl_hero113
		trait = yl_hero72
		trait = yl_hero73
		trait = yl_hero74
		trait = yl_hero117
		trait = yl_hero119
		trait = yl_hero121
		trait = yl_hero124
		trait = yl_hero125
		trait = yl_hero126		
		trait = yl_hero135
		trait = yl_hero136
		trait = yl_hero137
		trait = yl_hero139
		trait = yl_hero141
		trait = yl_hero142
		trait = yl_hero143
		trait = yl_hero152
		trait = yl_hero153
		trait = yl_hero154
		trait = yl_hero155
		trait = yl_hero90
		trait = yl_hero84
		trait = yl_mikosub4
		trait = yl_mikosub1
		trait = yl_mikosub6
		trait = yl_mikosub5
		trait = yl_mikosub3
		trait = yl_hakusub2
		trait = yl_hakusub3
		trait = yl_hakusub10
		trait = yl_hero156
		trait = yl_hero157
		trait = yl_hero158
		trait = yl_hero159
		trait = yl_hero160
		trait = yl_hero161
		trait = yl_hero162
		trait = yl_hero164
		trait = yl_hero165
		trait = yl_hero166
		trait = yl_hero167
		trait = yl_hero170
		trait = yl_hero171
		trait = yl_hero172
		trait = yl_hero173
		trait = yl_hero174
		trait = yl_hero175
		trait = yl_hero176
		trait = yl_misuzu
		trait = yl_yongbingsub6
		trait = yl_Karen
		trait = yl_hero180
		trait = yl_hero181
		trait = yl_hero182
		trait = yl_hero183
		trait = yl_hero184
		trait = yl_hero185
		trait = yl_hero188
		trait = yl_hero189
		trait = yl_hero190
		trait = yl_hero191
		trait = yl_hero192
		trait = yl_hero193
		trait = yl_hero194
		trait = yl_hero195
		trait = yl_hero196
		trait = yl_hero197
		trait = yl_Maya
		trait = yl_Nana
		trait = yl_Hikari
		trait = yl_hero85
		trait = yl_vocaloid1
		trait = yl_hero198
		trait = yl_hero199
		trait = yl_hero200
		trait = yl_hero201
		trait = yl_hero202
		trait = yl_hero203
		trait = yl_hero204
		trait = yl_hero213
		trait = yl_hero205
		trait = yl_hero209
		trait = yl_hero211
		trait = yl_hero212
		trait = yl_hero214
		trait = yl_hero215
		trait = yl_gfsub9
		trait = yl_gfsub23
		trait = yl_gfsub21
		trait = yl_gfsub24
		trait = yl_gfsub6
		trait = yl_gfsub40
		trait = yl_gfsub36
		trait = yl_hero220
		trait = yl_hero221
		trait = yl_hero223
		trait = yl_hero224
		trait = yl_hero225
		trait = yl_hero226
		trait = yl_hero227
		trait = yl_hero229
		trait = yl_hero231
		trait = yl_hero232
		trait = yl_hero233
		trait = yl_hero234
		trait = yl_hero235
		trait = yl_hero236
		trait = yl_hero238
		trait = yl_hero239
		trait = yl_hero240
		trait = yl_hero241
		trait = yl_hero243
		trait = yl_hero244
		trait = yl_hero245
		trait = yl_hero246
		trait = yl_hero247
		trait = yl_hero248
		trait = yl_hero249
		trait = yl_hero250
		trait = yl_hero251
		trait = yl_hero253
		trait = yl_hero254
		trait = yl_hero256
		trait = yl_hero257
		trait = yl_hero258
		trait = yl_hero259
		trait = yl_hero260
		trait = yl_yongbingsub3
		trait = yl_yongbingsub4
		trait = yl_yongbingsub7
		trait = yl_yongbingsub8
		trait = yl_ayu
		trait = yl_hero262
		trait = yl_hero263
		trait = yl_hero266
		trait = yl_hero267
		trait = yl_hero268
		trait = yl_hero269
		trait = yl_hero270
		trait = yl_hero271
		trait = yl_hero272
		trait = yl_hero273
		trait = yl_hero274
		trait = yl_hero275
		trait = yl_hero276
		trait = yl_hero277
		trait = yl_hero278
		trait = yl_hero279
		trait = yl_hero281
		trait = yl_hero99
		trait = yl_tohosub7
		trait = yl_tohosub13
		trait = yl_sakuya
		trait = yl_tohosub11
		trait = yl_tohosub22
		trait = yl_pcrsub6 
		trait = yl_hero303
		trait = yl_hero305
		trait = yl_hero306
		trait = yl_hero307
		trait = yl_hero308
		trait = yl_hero309
		trait = yl_hero310
		trait = yl_hero311
		trait = yl_hero312
		trait = yl_hero313
		trait = yl_hero314
		trait = yl_hero315
		trait = yl_hero316
		trait = yl_hero317
		trait = yl_hero318
		trait = yl_hero319
		trait = yl_hero320
		trait = yl_hero321
		trait = yl_hero322
		trait = yl_hero323
		trait = yl_hero324
		trait = yl_hero326
		trait = yl_hero327
		trait = yl_hero329
		trait = yl_hero330
		trait = yl_hero331
		trait = yl_hero332
		trait = yl_hero333
		trait = yl_hero334
		trait = yl_hero335
		trait = yl_hero336
		trait = yl_hero337
		trait = yl_hero338
		trait = yl_hero340
		trait = yl_hero341
		trait = yl_hero342
		trait = yl_hero343
		trait = yl_hero344
		trait = yl_hero345
		trait = yl_hero346
		trait = yl_hero347
		trait = yl_hero348
		trait = yl_hero349
		trait = yl_hero350
		trait = yl_hero352
		trait = yl_hero354
		trait = yl_hero361
		trait = yl_hero363
		trait = yl_hero364
		trait = yl_hero365
		
		trait = yl_hero23_gendersub
		trait = yl_hero16_gendersub
		trait = yl_kazuto_gendersub
		trait = yl_hero114_gendersub 
		trait = yl_hero242_gendersub 
		trait = yl_chaotian_gendersub
		trait = yl_sanhao_gendersub
		trait = yl_hero287_gendersub
		trait = yl_hero151_gendersub
		trait = yl_hero290
		trait = yl_hero296
		trait = yl_hero289
		trait = yl_hero295

		trait = yl_hero366
		trait = yl_hero367
		trait = yl_hero369
		trait = yl_hero370
		trait = yl_hero371
		trait = yl_hero372
		trait = yl_hero373
		trait = yl_hero374
 
		trait = yl_umasub39
		trait = yl_umasub10
		trait = yl_umasub2
		trait = yl_umasub6
		trait = yl_umasub5
		trait = yl_umasub32
		trait = yl_umasub29
		trait = yl_umasub47
		trait = yl_umasub33
		trait = yl_umasub24
		trait = yl_hero377
        trait = yl_hero378
        trait = yl_hero380
 
        trait = yl_hero381
        trait = yl_hero382
        trait = yl_hero383
        trait = yl_hero384
        trait = yl_hero385
        trait = yl_hero386
        trait = yl_hero387
        trait = yl_hero388
        trait = yl_hero389
        trait = yl_hissub22
        trait = yl_hero390
        trait = yl_hero391
        trait = yl_hero392
        trait = yl_hero393
        trait = yl_hero394
        trait = yl_hero395
        trait = yl_hero396
        trait = yl_hero397
        trait = yl_hissub25
        trait = yl_hissub26
        trait = yl_hissub27
 
        trait = yl_hero149
        trait = yl_hero399
        trait = yl_hero400
        trait = yl_hero401
        trait = yl_hero402
        trait = yl_hero403
        trait = yl_hero404
        trait = yl_hissub19
        trait = yl_hissub20
        trait = yl_hissub21
        trait = yl_hero280
        trait = yl_hero302
        trait = yl_hero145
        trait = yl_hero140
        trait = yl_hero116
		
		trait =	yl_hero405
		trait =	yl_hero406
		trait =	yl_hero407
		trait =	yl_hero408
		trait =	yl_hero409
		trait =	yl_hero410
		trait =	yl_hero411
		trait =	yl_hero412
		trait =	yl_hero413
		trait =	yl_hero414
		trait =	yl_hero415
		trait =	yl_hero416
		trait =	yl_hero417
		trait =	yl_hero418
		trait =	yl_hero419
		trait =	yl_hero420
		trait =	yl_hero422
		trait =	yl_hero423
		trait =	yl_hero299
		trait =	yl_hero425
		trait =	yl_hero292	
		trait =	yl_hero293
		trait =	yl_hero297
		trait =	yl_hero300
		trait =	yl_hero301
		trait =	yl_hero288
		trait =	yl_hero291		
		trait =	yl_hero426
		trait =	yl_hero427
		trait =	yl_hero429
		trait =	yl_hero430
		trait =	yl_hero431
		trait =	yl_hero432
		trait =	yl_hero433
		trait =	yl_hero434
		trait =	yl_hero435
		trait =	yl_hero436
		trait =	yl_hero438
		trait =	yl_hero439
		trait =	yl_hero440
		trait =	yl_hero441
		trait =	yl_hero442
		trait =	yl_hero443
		trait =	yl_hero445
		trait =	yl_hero446
		trait =	yl_hero328
		trait =	yl_hero131
		trait =	yl_tohosub10
		trait =	yl_hero448
		trait =	yl_hero449
		trait =	yl_hero451
		trait =	yl_hero452
		trait =	yl_hero453
		trait =	yl_hero454
		trait =	yl_hero456
		trait =	yl_hero457
		trait =	yl_hero458
		trait =	yl_hero459
		trait =	yl_hero460
		trait =	yl_hero461
		trait =	yl_hero462
		trait =	yl_hero464
		trait =	yl_hero466
		trait =	yl_hero467
		trait =	yl_hero237
		trait =	yl_hero144
		trait =	yl_hero146
		trait =	yl_hero286
		trait =	yl_hero298
		trait =	yl_hero562
		trait =	yl_hero564
		trait =	yl_hero565
		trait =	yl_hero566
		trait =	yl_hero567
		trait =	yl_hero568
		trait =	yl_hero570
		trait =	yl_hero219
		trait =	yl_hero325
		trait =	yl_hero283
		trait =	yl_xilu
		trait =	yl_riya
		trait =	yl_xila
		trait =	yl_rancesub2
		trait =	yl_xiangji
		trait =	yl_hero475
		trait =	yl_rancesub6
		trait =	yl_hero477
		trait =	yl_hero489
		trait =	yl_rancesub1
		trait =	yl_hero490
		trait =	yl_hero481
		trait =	yl_hero523
		trait =	yl_hero519
		trait =	yl_hero518
		trait =	yl_rancesub3
		trait =	yl_hero540
		trait =	yl_hero534
		trait =	yl_hero536
		trait =	yl_hero539
		trait =	yl_hero538
		trait =	yl_hero541
		trait =	yl_hero542
		trait =	yl_hero543
		trait =	yl_hero545
		trait =	yl_hero546
		trait =	yl_hero547
		trait =	yl_hero548
		trait =	yl_hero551
		trait =	yl_hero150
		trait =	yl_umasub44
		trait =	yl_umasub26
		
		trait =	yl_hero573 
		trait =	yl_hero574 
		trait =	yl_hero575 
		trait =	yl_hero576 
		trait =	yl_hero577 
		trait =	yl_hero578 
		trait =	yl_hero579 
		trait =	yl_hero580 
		trait =	yl_hero581 
		trait =	yl_hero582 
		trait =	yl_hero583 
		trait =	yl_hero584 
		trait =	yl_hero585 
		trait =	yl_hero587 
		trait =	yl_hero588 
		trait =	yl_hero592 
		trait =	yl_hero593 
		trait =	yl_umasub20  
		trait =	yl_tohosub15 
		trait =	yl_hero11 
		trait =	yl_hero550
		
		trait =	yl_hero594
		trait =	yl_hero595
		trait =	yl_hero596
		trait =	yl_hero597
		trait =	yl_hero599_gendersub
		trait =	yl_hero602
		trait =	yl_hero603
		trait =	yl_hero604
		trait =	yl_hero605
		trait =	yl_hero609
		trait =	yl_hero610
		trait =	yl_hero127
		trait =	yl_hero134
		trait =	yl_tohosub19
		trait =	yl_tohosub21
		trait =	yl_hero549
		trait =	yl_hero128
		trait =	yl_hero228
		trait =	yl_tohosub23
		trait =	yl_tohosub25
		trait =	yl_tohosub16

		trait =	yl_hero324_gendersub

		trait =	yl_hero611
		trait =	yl_hero616
		trait =	yl_hero624
		trait =	yl_hero625
		trait =	yl_hero626
		trait =	yl_hero627
		trait =	yl_hero629
		trait =	yl_hero630
		trait =	yl_hero631
		trait =	yl_hero210
		trait =	yl_azsub28
		trait =	yl_shikieiki
		trait =	yl_hero544
		trait =	yl_hero447
		trait =	yl_hero284
		trait =	yl_hero285
		trait =	yl_tohosub14
		trait =	yl_tohosub8
		trait =	yl_hero130
		trait =	yl_umasub34
		trait =	yl_svsub26
		trait =	yl_hero632
		trait =	yl_hero633
		trait =	yl_hero634
		trait =	yl_hero635
		trait =	yl_hero636
		trait =	yl_hero637
		trait =	yl_hero638
		trait =	yl_hero639
		trait =	yl_hero640
		trait =	yl_hero641
		trait =	yl_hero642
		trait =	yl_hero643
		trait =	yl_hero644
		trait =	yl_hero645
		trait =	yl_hero646
		trait =	yl_hero647
		trait =	yl_hero648
		trait =	yl_hero649
		trait =	yl_hero650
		trait =	yl_hero651
		trait =	yl_hero652
		trait =	yl_hero654
		trait =	yl_hero655
		trait =	yl_hero656
		trait =	yl_hero657
		trait =	yl_hero658
		trait =	yl_hero659
		trait =	yl_hero660
		trait =	yl_hero661
		trait =	yl_hero662
		trait =	yl_hero663
		trait =	yl_hero669
		trait =	yl_hero670
		trait =	yl_hero672
		trait =	yl_hero673
		trait =	yl_hero147
		trait =	yl_tohosub26
		trait =	yl_hero133
		trait =	yl_mikosub2
		trait =	yl_tohosub12
		trait =	yl_yonglin
		trait =	yl_tohosub2
		trait = yl_hero674
		trait = yl_hero675
		trait = yl_hero676
		trait = yl_hero677
		trait = yl_hero678
		trait = yl_hero679
		trait = yl_hero680
		trait = yl_hero681
		trait = yl_hero682
		trait = yl_hero683
		trait = yl_hero684
		trait = yl_hero685
		trait = yl_hero686
		trait = yl_hero687
		trait = yl_hero688
		trait = yl_hero689
		trait = yl_hero690
		trait = yl_hero691
		trait = yl_hero692
		trait = yl_hero693
		trait = yl_hero694

		trait = yl_hero696
		trait = yl_hero701
		trait = yl_hero704
		trait = yl_hero705
		trait = yl_hero706
		trait = yl_hero707
		trait = yl_hero709
		trait = yl_hero710
		trait = yl_hero711
		trait = yl_hero712
		trait = yl_hero714
		trait = yl_hero715
		trait = yl_kcsub3
		trait = yl_kcsub7
		trait = yl_kcsub49
		trait = yl_kcsub13
		trait = yl_kcsub40
		trait = yl_kcsub41
		trait = yl_hero526
		trait = yl_hero177
		trait = yl_hero473
		
		trait = yl_hero716
		trait = yl_hero717
		trait = yl_hero718
		trait = yl_hero719
		trait = yl_hero720
		trait = yl_hero723
		trait = yl_hero724
		trait = yl_hero726
		trait = yl_hero728
		trait = yl_hero729
		trait = yl_hero730
		trait = yl_hero731
		trait = yl_hero732
		trait = yl_hero734
		trait = yl_hero737
		trait = yl_hero738
		trait = yl_hero740
		trait = yl_hero742
		trait = yl_hero743
		trait = yl_hero744
		trait = yl_hero745	

		trait = yl_hero746
		trait = yl_hero748
		trait = yl_hero749
		trait = yl_hero750
		trait = yl_hero751
		trait = yl_hero752
		trait = yl_hero754
		trait = yl_hero755
		trait = yl_hero756
		trait = yl_hero757
		trait = yl_hero736_gendersub
		trait = yl_hero469
		trait = yl_hero501
		trait = yl_hero222_sub2
	}
	
}

hs_summoned_all_chinese_hero_trigger = {
	AND = {
		has_global_flag= hero198_summoned
		has_global_flag= hero199_summoned
		has_global_flag= hero200_summoned
		has_global_flag= hero201_summoned
		has_global_flag= hero202_summoned
		has_global_flag= hero203_summoned
		has_global_flag= hero204_summoned
		has_global_flag= hero205_summoned
		has_global_flag= hero206_summoned
		has_global_flag= hero207_summoned
		has_global_flag= hero208_summoned
		has_global_flag= hero209_summoned
		has_global_flag= hero210_summoned
		has_global_flag= hero211_summoned
		has_global_flag= hero212_summoned
		has_global_flag= hero213_summoned
		has_global_flag= hero325_summoned	
		has_global_flag= yl_hissub19_summoned
		has_global_flag= hissub25_summoned
		has_global_flag= hissub26_summoned
		has_global_flag= hissub27_summoned
		has_global_flag= hero444_summoned
		has_global_flag= hero630_summoned
		has_global_flag= hero631_summoned
	}
}
#######################################################################
is_hshero_huajia_trigger = {
	trait = hs_huajiatriggered
}
is_member_of_hs_zhanchexuanshou_trigger ={
	OR = {
		trait = yl_miho
		trait = yl_alice
		trait = yl_zhanchesub1 
		trait = yl_zhanchesub2 
		trait = yl_zhanchesub3 
		trait = yl_zhanchesub4 
		trait = yl_zhanchesub5 
		trait = yl_zhanchesub6 
		trait = yl_zhanchesub7 
		trait = yl_zhanchesub8 
		trait = yl_zhanchesub9 
		trait = yl_zhanchesub10
		trait = yl_zhanchesub11
		trait = yl_zhanchesub12
		trait = yl_zhanchesub13
		trait = yl_zhanchesub14
		trait = yl_zhanchesub15
		trait = yl_zhanchesub16
		trait = yl_zhanchesub17
		trait = yl_zhanchesub18
		trait = yl_zhanchesub19
		trait = yl_zhanchesub20
		trait = yl_zhanchesub21
	}
}
#is_member_of_hs_kanmusu_trigger = {
#	OR = {
#		trait =	yl_kcsub1 
#		trait =	yl_kcsub2 
#		trait =	yl_kcsub3 
#		trait =	yl_kcsub4 
#		trait =	yl_kcsub5 
#		trait =	yl_kcsub6 
#		trait =	yl_kcsub7
#		trait =	yl_kcsub8 
#		trait =	yl_kcsub9 
#		trait =	yl_kcsub10 
#		trait =	yl_kcsub11 
#		trait =	yl_kcsub12 
#		trait =	yl_kcsub13 
#		trait =	yl_kcsub14
#		trait =	yl_kcsub15
#		trait =	yl_kcsub16
#		trait =	yl_kcsub17
#		trait =	yl_kcsub18
#		trait =	yl_kcsub19
#		trait =	yl_kcsub20
#		trait =	yl_kcsub21
#		trait =	yl_kcsub22
#		trait =	yl_kcsub23
#		trait =	yl_kcsub24
#		trait =	yl_kcsub25
#		trait =	yl_kcsub26
#		trait =	yl_kcsub27
#		trait =	yl_kcsub28
#		trait =	yl_kcsub29
#		trait =	yl_kcsub30
#		trait =	yl_kcsub31
#		trait =	yl_kcsub32
#		trait =	yl_kcsub33
#		trait =	yl_kcsub34
#		trait =	yl_kcsub35
#		
#		trait = yl_azsub1
#		trait = yl_azsub2
#		trait = yl_azsub3
#		trait = yl_azsub4
#		trait = yl_azsub5
#		trait = yl_azsub6
#		trait = yl_azsub7
#		trait = yl_azsub8
#		trait = yl_azsub9
#		trait = yl_azsub10
#		trait = yl_azsub11
#		trait = yl_azsub12
#		trait = yl_azsub13
#		trait = yl_azsub14
#		trait = yl_azsub15
#		trait = yl_azsub16
#		trait = yl_azsub17
#		trait = yl_azsub18
#		trait = yl_azsub19
#		trait = yl_azsub20
#		trait = yl_azsub21
#		trait =	yl_ayanami 
#		trait =	yl_laffy 
#		trait =	yl_enterprise   
#		trait =	yl_ougen 
#		trait =	yl_unicorn 
#		trait =	yl_cleveland 
#		trait = yl_yamato 
#		trait = yl_yuudachi 
#		trait = yl_shigure 
#		trait = yl_shimakaze
#		trait = yl_azsub22
#		trait = yl_azsub23
#		trait = yl_azsub24
#		trait = yl_azsub25
#		trait = yl_azsub26
#		trait = yl_azsub27
#		trait = yl_azsub28
#		trait = yl_azsub29
#		trait = yl_azsub30
#		trait = yl_azsub31
#		trait = yl_azsub32
#		trait = yl_azsub33
#		trait = yl_azsub34
#		trait = yl_azsub35
#		trait = yl_azsub36
#		trait = yl_azsub37
#		trait = yl_azsub38
#		trait = yl_azsub39
#		trait = yl_azsub40
#		trait = yl_azsub41
#		trait = yl_azsub42	
#	}
#}
#is_member_of_hs_renxing_trigger = {
#	OR = {
#		trait = yl_suomi  
#		trait = yl_negav 
#		trait = yl_gone 
#		trait = yl_gfsub1
#		trait = yl_gfsub2
#		trait = yl_gfsub3
#		trait = yl_gfsub4
#		trait = yl_gfsub5
#		trait = yl_gfsub6
#		trait = yl_gfsub7
#		trait = yl_gfsub8
#		trait = yl_gfsub9
#		trait = yl_gfsub10
#		trait = yl_gfsub11
#		trait = yl_gfsub12
#		trait = yl_gfsub13
#		trait = yl_gfsub14
#		trait = yl_gfsub15
#		trait = yl_gfsub16
#		trait = yl_gfsub17
#		trait = yl_gfsub18
#		trait = yl_gfsub19
#		trait = yl_gfsub20
#		trait = yl_gfsub21
#		trait = yl_gfsub22
#		trait = yl_gfsub23
#		trait = yl_gfsub24
#		trait = yl_gfsub25
#		trait = yl_gfsub26
#		trait = yl_gfsub27
#		trait = yl_gfsub28
#		trait = yl_gfsub29
#		trait = yl_gfsub30
#		trait = yl_gfsub31
#		trait = yl_gfsub32
#		trait = yl_gfsub33
#		trait = yl_gfsub34
#		trait = yl_gfsub35
#		trait = yl_gfsub36
#		trait = yl_gfsub37
#		trait = yl_gfsub38
#		trait = yl_gfsub39
#		trait = yl_gfsub40
#		trait = yl_gfsub41
#		trait = yl_gfsub42
#		trait = yl_robot1
#		trait = yl_robot2
#		trait = yl_robot3
#		trait = yl_irsub1
#		trait = yl_irsub2
#		trait = yl_irsub3
#		trait = yl_irsub4
#		trait = yl_irsub5
#		trait = yl_irsub6
#		trait = yl_irsub7
#		trait = yl_irsub8
#	}
#}

hs_is_injured_trigger = {
	custom_tooltip = {
		text = hs_is_injured_trigger_tooltip
		OR = {
			trait = ugly
			trait = maimed 
			trait = one_eyed
			trait = one_handed
			trait = one_legged
			trait = disfigured 
			trait = mangled 
			trait = blinded 
			trait = eunuch
			trait = infirm
			trait = dull
			trait = weak
			trait = severely_injured
			trait = incapable
			trait = imbecile
			trait = inbred
			trait = wounded
			trait = infection
		}	
	}
	
}

hs_hasidolpro_trigger = {
	OR ={
		has_landed_title = k_765pro
		has_landed_title = k_346pro
		has_landed_title = k_ynmbcollage
		has_landed_title = k_hanasaka
		has_landed_title = k_ENTUM
		has_landed_title = k_hololive
		has_landed_title = k_2434
		has_landed_title = k_udp8
		#has_landed_title = d_umamusu
	}
}
hs_isqingluezhe = {
	OR = {
		has_landed_title = e_nieluoyi
		has_landed_title = e_hs_monster_rance
		has_landed_title = d_IRfactory 
		has_landed_title = e_aiyalong
	}
}
hs_magician_trigger = {
	custom_tooltip = {
		text = hs_magician_trigger_tooltip
		OR = {
			trait = hs_magic_girl
			trait = hs_magician
			trait = hs_magician_h
			trait = hs_magician_l
			trait = hs_kami
			trait = hs_bakemono
		}
	}
}
hs_isimmoratal_trigger = {
	OR = {
		trait = hs_bakemono
		trait = hs_kami
		trait = immortal
	}
}

hs_scripted_less_retinues = {
	OR = {
		has_game_rule = { name = hs_less_retinues value = off }
		AND = {
			has_game_rule = { name = hs_less_retinues value = count_higher }
			primary_title = { higher_tier_than = COUNT }
		}
		AND = {
			has_game_rule = { name = hs_less_retinues value = duke_higher }
			primary_title = { higher_tier_than = DUKE }
		}
		AND = {
			has_game_rule = { name = hs_less_retinues value = king_higher }
			primary_title = { higher_tier_than = KING }
		}
	}
}

hs_max_esp_trigger = {
	OR = {
		AND = {
				has_character_flag = hs_esp_2
				OR = {
					has_character_modifier = hs_esp_lv2
					has_character_modifier = hs_esp_lv3
					has_character_modifier = hs_esp_lv4_1
					has_character_modifier = hs_esp_lv4_2
					has_character_modifier = hs_esp_lv4_3
					has_character_modifier = hs_esp_lv4_4
					has_character_modifier = hs_esp_lv5_1
					has_character_modifier = hs_esp_lv5_2
					has_character_modifier = hs_esp_lv5_3
					has_character_modifier = hs_esp_lv5_4
					has_character_modifier = hs_esp_lv6
				}						
		}
		AND = {						
				has_character_flag = hs_esp_3
				OR = {																	
					has_character_modifier = hs_esp_lv3
					has_character_modifier = hs_esp_lv4_1
					has_character_modifier = hs_esp_lv4_2
					has_character_modifier = hs_esp_lv4_3
					has_character_modifier = hs_esp_lv4_4
					has_character_modifier = hs_esp_lv5_1
					has_character_modifier = hs_esp_lv5_2
					has_character_modifier = hs_esp_lv5_3
					has_character_modifier = hs_esp_lv5_4
					has_character_modifier = hs_esp_lv6
				}						
		}
		AND = {						
				has_character_flag = hs_esp_4
				OR = {									
					has_character_modifier = hs_esp_lv4_1
					has_character_modifier = hs_esp_lv4_2
					has_character_modifier = hs_esp_lv4_3
					has_character_modifier = hs_esp_lv4_4
					has_character_modifier = hs_esp_lv5_1
					has_character_modifier = hs_esp_lv5_2
					has_character_modifier = hs_esp_lv5_3
					has_character_modifier = hs_esp_lv5_4
					has_character_modifier = hs_esp_lv6
				}						
		}
		AND = {						
				has_character_flag = hs_esp_5
				OR = {									
					has_character_modifier = hs_esp_lv5_1
					has_character_modifier = hs_esp_lv5_2
					has_character_modifier = hs_esp_lv5_3
					has_character_modifier = hs_esp_lv5_4
					has_character_modifier = hs_esp_lv6
				}						
		}
	}
}
hs_can_attend_budoukai_trigger = {
	prisoner = no
	in_command = no
	is_incapable = no
	NOR = {
		trait = pregnant
		has_character_flag = hs_attend_budoukai_member
		has_opinion_modifier = { who = event_target:hs_target_budoukai_holder modifier = opinion_hs_attend_budaokai }	
	}
	age = 12
	

}
hs_can_emply_specidol_trigger = {
	OR = {
		AND = {
			trait = yl_hero198
			NOT = {
				has_global_flag = yl_hero198_idol_summoned
			}
		}
		AND = {
			trait = yl_takino
			NOT = {
				has_global_flag = yl_takino_idol_summoned
			}
		}
		AND = {
			any_artifact = {
				artifact_type = bj_Bookofliz
			}
			NOT = {
				has_global_flag = bj_Bookofliz_idol_summoned
			}
		}
		AND = {
			trait = yl_pcrsub1
			NOT = {
				has_global_flag = d_landersuoer_idol_summoned
			}
		}
		AND = {
			trait = yl_nao
			NOT = {
				has_global_flag = yl_nao_idol_summoned
			}
		}
		AND = {
			trait = yl_azusa
			NOT = {
				has_global_flag = yl_azusa_idol_summoned
			}
		}
		AND = {
			trait = yl_hero27
			NOT = {
				has_global_flag = yl_hero27_idol_summoned
			}
		}
		AND = {
			trait = yl_keima
			NOT = {
				has_global_flag = yl_keima_idol_summoned
			}
		}
		AND = {
			trait = yl_hero13
			NOT = {
				has_global_flag = yl_hero13_idol_summoned
			}
		}
		AND = {
			trait = yl_kotaro
			NOT = {
				has_global_flag = yl_kotaro_idol_summoned1
			}
		}
		AND = {
			trait = yl_kotaro
			has_global_flag = yl_kotaro_idol_summoned1
			NOT = {
				has_global_flag = yl_kotaro_idol_summoned2
			}
		}
		AND = {
			trait = yl_kotaro
			has_global_flag = yl_kotaro_idol_summoned2
			NOT = {
				has_global_flag = yl_kotaro_idol_summoned3
			}
		}
		AND = {
			trait = yl_light
			NOT = {
				has_global_flag = yl_light_idol_summoned
			}
		}
	}

}
hs_max_idolnum_trigger = {
	custom_tooltip = {
		text = hs_max_idolnum_trigger_tooltip
		OR = {
			AND = {
				higher_tier_than = KING
				any_courtier_or_vassal = {
					is_ruler = no
					trait = hs_idol 
					count = 15
				}
			}
			AND = {
				NOR = {
					higher_tier_than = KING
				}
				higher_tier_than = DUKE
				any_courtier_or_vassal = {
					is_ruler = no
					trait = hs_idol 
					count = 10
				}
			}
			AND = {
				NOR = {
					higher_tier_than = DUKE
				}
				any_courtier_or_vassal = {
					is_ruler = no
					trait = hs_idol 
					count = 10
				}
			}

		}
		
	}
	
}
hs_is_Netorareda_trigger = {
	NOR = {
		character = ROOT_FROM
		character = new_character
	}
	OR = {
		has_opinion_modifier = {
			who = PREV
			modifier = opinion_hs_koikokoro
		}
		AND = {
			can_marry = PREV
			is_lover = PREV
		}	
	}
	NOR = {
		any_spouse = {
			character = PREVPREV
		}
		any_consort = {
			character = PREVPREV
		}
		is_consort = PREVPREV
		is_married = PREVPREV
		any_spouse = {
			character = PREV
		}
		any_consort = {
			character = PREV
		}
		is_consort = PREV
		is_married = PREV
	}
}

hs_willing_treat_ROOT_trigger = {#ROOT施救，THIS接受
	reverse_opinion = {
		who = ROOT
		value >= 20
	}
	OR = {	
		is_close_relative = ROOT
		is_friend = ROOT
		is_lover = ROOT
		is_liege_or_above = ROOT
		has_opinion_modifier = { who = ROOT modifier = opinion_hs_keyiyaku }
		has_opinion_modifier = { who = ROOT modifier = opinion_hs_koikokoro }
		has_opinion_modifier = { who = ROOT modifier = opinion_hs_SISTER }
	}
	OR = { 
		has_disease_trigger = yes
		hs_is_injured_trigger = yes
	}
}

hs_chosen_tobe_replaced_ruler_trigger = {
	NOR = {							
		trait = hs_trait_shouzhao
		trait = genius
		trait = strong
		trait = quick
		is_female = yes
		martial= 18
		diplomacy= 15
		intrigue= 15
		stewardship = 15
		learning = 15
	}
}