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

Comparing deliantra/server/server/pets.C (file contents):
Revision 1.57 by root, Sat Nov 7 18:30:06 2009 UTC vs.
Revision 1.58 by root, Sun Nov 29 09:41:28 2009 UTC

703 op->contr->golem = tmp; 703 op->contr->golem = tmp;
704 /* give the player control of the golem */ 704 /* give the player control of the golem */
705 set_spell_skill (op, caster, spob, tmp); 705 set_spell_skill (op, caster, spob, tmp);
706 } 706 }
707 707
708 /* make the speed positive. */
709 tmp->speed = fabs (tmp->speed);
710
711 /* This sets the level dependencies on dam and hp for monsters */ 708 /* This sets the level dependencies on dam and hp for monsters */
712 /* players can't cope with too strong summonings. */ 709 /* players can't cope with too strong summonings. */
713 /* but monsters can. reserve these for players. */ 710 /* but monsters can. reserve these for players. */
714 if (op->type == PLAYER) 711 if (op->type == PLAYER)
715 { 712 {
716 tmp->stats.hp += spob->duration + SP_level_duration_adjust (caster, spob); 713 tmp->stats.hp += spob->duration + SP_level_duration_adjust (caster, spob);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines