- resist magic: do not apply power to quantity. it's already in the quality of the equation.
This commit is contained in:
Enno Rehling 2010-05-31 00:13:19 -07:00
parent 10947e3659
commit 621430b7f0
2 changed files with 2 additions and 1 deletions

View File

@ -573,6 +573,7 @@
<resource name="aura" amount="100" cost="fixed"/> <resource name="aura" amount="100" cost="fixed"/>
</spell> </spell>
<spell name="resist_magic" type="common" rank="2" level="3" index="97" parameters="u+" los="true" ship="true" variable="true"> <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"/> <resource name="aura" amount="5" cost="level"/>
</spell> </spell>
<spell name="protective_runes" type="common" rank="2" level="8" index="99" parameters="kc" ship="true"> <spell name="protective_runes" type="common" rank="2" level="8" index="99" parameters="kc" ship="true">

View File

@ -5000,7 +5000,7 @@ sp_resist_magic_bonus(castorder *co)
double power = co->force; double power = co->force;
spellparameter *pa = co->par; spellparameter *pa = co->par;
/* Pro Stufe können bis zu 5 Personen verzaubert werden */ /* Pro Stufe können bis zu 5 Personen verzaubert werden */
double maxvictims = power * 5; double maxvictims = 5;
int victims = (int)maxvictims; int victims = (int)maxvictims;
/* Schleife über alle angegebenen Einheiten */ /* Schleife über alle angegebenen Einheiten */