forked from github/server
fix hitpoints for summoned wolves
This commit is contained in:
parent
70aff6f567
commit
94850e86cb
|
@ -904,6 +904,7 @@ int sp_wolfhowl(castorder * co)
|
||||||
u = fi->unit;
|
u = fi->unit;
|
||||||
set_level(u, SK_WEAPONLESS, skills);
|
set_level(u, SK_WEAPONLESS, skills);
|
||||||
set_level(u, SK_STAMINA, skills);
|
set_level(u, SK_STAMINA, skills);
|
||||||
|
u->hp = u->number * unit_max_hp(u);
|
||||||
}
|
}
|
||||||
return level;
|
return level;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue