seems this doesnt work
and this causes the engine to check the wrong dude obj
just want a way of returning stats from the real dude obj,even in 'control party members' mode
Code:
if (has_trait(0, sfall_func0("real_dude_obj"), 73)) then begin
if ((obj_art_fid(arg0) % 512) == 67) then begin
item := create_object_sid(276, 0, 0, -1);
and this causes the engine to check the wrong dude obj
Code:
if (((obj_art_fid(arg0) % 512) == 13) or ((obj_art_fid(arg0) % 512) == 6) or ((obj_art_fid(arg0) % 512) == 45) or ((obj_art_fid(arg0) % 512) == 34) or ((obj_art_fid(arg0) % 512) == 95)) then begin
if ((has_skill(dude_obj, 13) >= 50) or has_trait(0, dude_obj, 44)) then begin
random_roll := random(1, 100);
if (random_roll < (100 - (3 * get_critter_stat(dude_obj, 6)))) then begin
add_obj_to_inven(arg0, create_object_sid(74, 0, 0, -1));
end
else begin
add_obj_to_inven(arg0, create_object_sid(265, 0, 0, -1));
end
end
end
just want a way of returning stats from the real dude obj,even in 'control party members' mode