… | |
… | |
770 | | (opl->run_on ? SF_RUNON : 0); |
770 | | (opl->run_on ? SF_RUNON : 0); |
771 | |
771 | |
772 | AddIfShort (ns->last_flags, flags, CS_STAT_FLAGS); |
772 | AddIfShort (ns->last_flags, flags, CS_STAT_FLAGS); |
773 | |
773 | |
774 | for (int i = 0; i < NROFATTACKS; i++) |
774 | for (int i = 0; i < NROFATTACKS; i++) |
775 | { |
|
|
776 | /* Skip ones we won't send */ |
775 | /* Skip ones we won't send */ |
777 | if (atnr_cs_stat[i] == -1) |
776 | if (atnr_cs_stat[i] >= 0) |
778 | continue; |
|
|
779 | |
|
|
780 | AddIfShort (ns->last_resist[i], ob->resist[i], atnr_cs_stat[i]); |
777 | AddIfShort (ns->last_resist[i], ob->resist[i], atnr_cs_stat[i]); |
781 | } |
|
|
782 | |
778 | |
783 | if (pl->ns->monitor_spells) |
779 | if (pl->ns->monitor_spells) |
784 | { |
780 | { |
785 | AddIfInt (ns->last_path_attuned, ob->path_attuned, CS_STAT_SPELL_ATTUNE); |
781 | AddIfInt (ns->last_path_attuned, ob->path_attuned, CS_STAT_SPELL_ATTUNE); |
786 | AddIfInt (ns->last_path_repelled, ob->path_repelled, CS_STAT_SPELL_REPEL); |
782 | AddIfInt (ns->last_path_repelled, ob->path_repelled, CS_STAT_SPELL_REPEL); |