ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/player.C
(Generate patch)

Comparing deliantra/server/server/player.C (file contents):
Revision 1.124 by root, Fri May 11 21:24:29 2007 UTC vs.
Revision 1.125 by root, Fri May 11 21:28:40 2007 UTC

1661 SET_ANIMATION (arrow, arrow->direction); 1661 SET_ANIMATION (arrow, arrow->direction);
1662 1662
1663 arrow->stats.dam += op->stats.dam + arrow->magic; 1663 arrow->stats.dam += op->stats.dam + arrow->magic;
1664 1664
1665 /* update the speed */ 1665 /* update the speed */
1666 arrow->speed = (float) ((QUERY_FLAG (bow, FLAG_NO_STRENGTH) ? 1666 arrow->speed = ((bow->flag [FLAG_NO_STRENGTH] ? 0 : dam_bonus[op->stats.Str]) + bow->magic + arrow->magic) / 5.0
1667 0 : dam_bonus[op->stats.Str]) + bow->magic + arrow->magic) / 5.0 + (float) bow->stats.dam / 7.0; 1667 + bow->stats.dam / 7.0;
1668 1668
1669 arrow->set_speed (max (arrow->speed, 1.0)); 1669 arrow->set_speed (max (arrow->speed, 2.0));
1670 arrow->speed_left = 0; 1670 arrow->speed_left = 0;
1671 1671
1672 arrow->stats.wc = op->stats.wc + wc_mod - arrow->magic - arrow->stats.wc; 1672 arrow->stats.wc = op->stats.wc + wc_mod - arrow->magic - arrow->stats.wc;
1673 1673
1674 if (op->type == PLAYER) 1674 if (op->type == PLAYER)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines