Most of the stairs are placed outside of rooms now, because closed doors are assimilated to "walls", so this is considered as a dead end:
Code:
### +> ###
Code:
### # # # ### # # #Ws ### #sL <+ +Lz ### #zW # # #Ws # # ### ### #
### +> ###
### # # # ### # # #Ws ### #sL <+ +Lz ### #zW # # #Ws # # ### ### #
### #> # #
calc_bonuses(p, &state, true, false); ... for (dex_plus = 0; dex_plus < dex_plus_bound; dex_plus++) for (str_plus = 0; str_plus < str_plus_bound; str_plus++) ... calc_bonuses(p, &tmpstate, true, false); old_blows = state.num_blows; new_blows = tmpstate.num_blows;
state.[B]stat_ind[/B][STAT_STR] += str_plus; state.[B]stat_ind[/B][STAT_DEX] += dex_plus; new_blows = calc_blows(player, obj, &state, extra_blows); state.stat_ind[STAT_STR] -= str_plus; state.stat_ind[STAT_DEX] -= dex_plus;
tmpstate.[B]stat_add[/B][STAT_STR] = str_plus; tmpstate.[B]stat_add[/B][STAT_DEX] = dex_plus; calc_bonuses(p, &tmpstate, true, false);
ark
Leave a comment: