forked from github/server
Merge pull request #15 from CTD1/patch-bug1690
Bug 1690: [E3] +1 Bonus für Zauber von Elfen im Wald
This commit is contained in:
commit
e048e86985
|
@ -4929,7 +4929,7 @@ int sp_resist_magic_bonus(castorder * co)
|
||||||
float power = co->force;
|
float power = co->force;
|
||||||
spellparameter *pa = co->par;
|
spellparameter *pa = co->par;
|
||||||
/* Pro Stufe koennen bis zu 5 Personen verzaubert werden */
|
/* Pro Stufe koennen bis zu 5 Personen verzaubert werden */
|
||||||
double maxvictims = 5;
|
double maxvictims = 5 * power;
|
||||||
int victims = (int)maxvictims;
|
int victims = (int)maxvictims;
|
||||||
|
|
||||||
/* Schleife ueber alle angegebenen Einheiten */
|
/* Schleife ueber alle angegebenen Einheiten */
|
||||||
|
|
Loading…
Reference in New Issue