forked from github/server
- resist magic: do not apply power to quantity. it's already in the quality of the equation.
This commit is contained in:
parent
10947e3659
commit
621430b7f0
|
@ -573,6 +573,7 @@
|
|||
<resource name="aura" amount="100" cost="fixed"/>
|
||||
</spell>
|
||||
<spell name="resist_magic" type="common" rank="2" level="3" index="97" parameters="u+" los="true" ship="true" variable="true">
|
||||
<!-- Schutzzauber -->
|
||||
<resource name="aura" amount="5" cost="level"/>
|
||||
</spell>
|
||||
<spell name="protective_runes" type="common" rank="2" level="8" index="99" parameters="kc" ship="true">
|
||||
|
|
|
@ -5000,7 +5000,7 @@ sp_resist_magic_bonus(castorder *co)
|
|||
double power = co->force;
|
||||
spellparameter *pa = co->par;
|
||||
/* Pro Stufe können bis zu 5 Personen verzaubert werden */
|
||||
double maxvictims = power * 5;
|
||||
double maxvictims = 5;
|
||||
int victims = (int)maxvictims;
|
||||
|
||||
/* Schleife über alle angegebenen Einheiten */
|
||||
|
|
Loading…
Reference in New Issue