forked from github/server
Bug 2668 Spruchstärke Ritual der Aufnahme
Zauber sollen force benutzen, nicht level.
This commit is contained in:
parent
0c9153396c
commit
2d39641e3f
2 changed files with 3 additions and 3 deletions
|
@ -2040,7 +2040,7 @@ msgid "analyse_building_fail"
|
|||
msgstr "\"$unit($mage) meint, dass auf $building($building) ein Zauber liegt, konnte aber über den Zauber nichts herausfinden.\""
|
||||
|
||||
msgid "spellfail_toomanytargets"
|
||||
msgstr "\"$unit($unit) in $region($region): '$order($command)' - So viele Persoenen übersteigen die Kräfte des Magiers.\""
|
||||
msgstr "\"$unit($unit) in $region($region): '$order($command)' - So viele Personen übersteigen die Kräfte des Magiers.\""
|
||||
|
||||
msgid "harvest_effect"
|
||||
msgstr "\"$if($isnull($mage),\"Ein unentdeckter Magier\",$unit($mage)) segnet in einem kurzen Ritual die Felder.\""
|
||||
|
|
|
@ -3749,7 +3749,7 @@ static int sp_migranten(castorder * co)
|
|||
unit *target;
|
||||
region *r = co_get_region(co);
|
||||
unit *mage = co_get_caster(co);
|
||||
int cast_level = co->level;
|
||||
int max_force = (int) co->force;
|
||||
spellparameter *pa = co->par;
|
||||
|
||||
/* wenn kein Ziel gefunden, Zauber abbrechen */
|
||||
|
@ -3782,7 +3782,7 @@ static int sp_migranten(castorder * co)
|
|||
return 0;
|
||||
}
|
||||
/* maximal Stufe Personen */
|
||||
if (target->number > cast_level || target->number > max_spellpoints_depr(r, mage)) {
|
||||
if (target->number > max_force || target->number > max_spellpoints_depr(r, mage)) {
|
||||
ADDMSG(&mage->faction->msgs, msg_feedback(mage, co->order,
|
||||
"spellfail_toomanytargets", ""));
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue