decisions = {

give_hamon_stand = {
 is_high_prio = yes
 potential = {
 trait = Legendary_Hamon_User
 NOT = {has_character_flag = hamon_stand}
 }

 allow = {
 trait = Legendary_Hamon_User
 }
 
 effect = {
set_character_flag = hamon_stand
add_trait = Stand_User
}
  ai_will_do = {
    factor = 1
  }
 }

 }




 
 

targeted_decisions = {
  
   arrow_hit = {
  is_high_prio = no
  filter = court
  
  from_potential = {
has_artifact = arrow
}
  
  allow = {
 NOT = {trait = Stand_User}
 }
  
  effect = {
random_list = {
70 = {add_trait = Stand_User}
30 = {
  death = {
  death_reason = arrow_hit_death }  
      }
    }
  }  

 }
 
   arrow_hit_self = {
  is_high_prio = yes
  filter = self
  
  from_potential = {
has_artifact = arrow
}
  
  allow = {
 NOT = {trait = Stand_User}
 }
  
  effect = {
random_list = {
70 = {add_trait = Stand_User }
30 = {
  death = {
  death_reason = arrow_hit_death }  
      }
    }
  }  

 }
 

 
 
 
 
} 