// Use this for initialization
 void Start()
 {
     state = GetComponent<CharacterState> ();
     state.cooldown_start (Random.Range(1,5));
 }