… | |
… | |
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); |