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

Comparing deliantra/server/server/skills.C (file contents):
Revision 1.57 by root, Sun Nov 16 03:52:13 2008 UTC vs.
Revision 1.58 by elmex, Sun Dec 14 13:49:11 2008 UTC

531 || (pl->type == PLAYER && !pl->contr->party) 531 || (pl->type == PLAYER && !pl->contr->party)
532 || (pl->type == PLAYER && tmp->type == PLAYER && pl->contr->party != tmp->contr->party)) 532 || (pl->type == PLAYER && tmp->type == PLAYER && pl->contr->party != tmp->contr->party))
533 exp = skill_attack (tmp, pl, pl->facing, "kicked", skill); /* pl makes an attack */ 533 exp = skill_attack (tmp, pl, pl->facing, "kicked", skill); /* pl makes an attack */
534 534
535 return exp; /* note that calc_skill_exp() is already called by skill_attack() */ 535 return exp; /* note that calc_skill_exp() is already called by skill_attack() */
536 }
537
538 /* If the space has fly on set (no matter what the space is),
539 * we should get the effects - after all, the player is
540 * effectively flying.
541 */
542 if (tmp->move_on & MOVE_FLY_LOW)
543 {
544 pl->x = x;
545 pl->y = y;
546 pl->map = m;
547 stop_jump (pl, i, spaces);
548
549 return calc_skill_exp (pl, NULL, skill);
550 } 536 }
551 } 537 }
552 538
553 if (OB_TYPE_MOVE_BLOCK (pl, GET_MAP_MOVE_BLOCK (m, x, y))) 539 if (OB_TYPE_MOVE_BLOCK (pl, GET_MAP_MOVE_BLOCK (m, x, y)))
554 { 540 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines