hey nemesis, scary_man found out how to
solve the pointer problem.
here it is.
replace:
code:
if (ally_target==null || ally_target.skill9<0) { allystate_wait(); ally_Target=null; }
in the allystate_attack function with
this.
but dont put in same spot.
put in
code:
if (ally_target == null){allystate_wait(); return;}
code:
if (my._health <= 0) { allystate_die(); return; } if (my._health < 30) { allystate_escape(); return; } if (ally_target == null){allystate_wait(); return;}