… | |
… | |
1498 | arrow->stats.dam = clamp (arrow->stats.dam + op->stats.dam + arrow->magic, MIN_DAM, MAX_DAM); |
1498 | arrow->stats.dam = clamp (arrow->stats.dam + op->stats.dam + arrow->magic, MIN_DAM, MAX_DAM); |
1499 | |
1499 | |
1500 | arrow->stats.wc = clamp (wc, MIN_WC, MAX_WC); |
1500 | arrow->stats.wc = clamp (wc, MIN_WC, MAX_WC); |
1501 | arrow->move_type = MOVE_FLY_LOW; |
1501 | arrow->move_type = MOVE_FLY_LOW; |
1502 | arrow->move_on = MOVE_FLY_LOW | MOVE_WALK; |
1502 | arrow->move_on = MOVE_FLY_LOW | MOVE_WALK; |
|
|
1503 | arrow->set_flag (FLAG_NO_PICK); |
1503 | |
1504 | |
1504 | op->play_sound (sound_find ("fire_arrow")); |
1505 | op->play_sound (sound_find ("fire_arrow")); |
1505 | m->insert (arrow, sx, sy, op); |
1506 | m->insert (arrow, sx, sy, op); |
1506 | |
1507 | |
1507 | if (!arrow->destroyed ()) |
1508 | if (!arrow->destroyed ()) |