Merge branch 'feature/rename-cerddor' into develop

This commit is contained in:
Enno Rehling 2015-07-08 17:53:09 +02:00
commit 05f444bab1
13 changed files with 13 additions and 21 deletions

View File

@ -3922,7 +3922,7 @@
<text locale="de">Gesang des Lebens analysieren</text> <text locale="de">Gesang des Lebens analysieren</text>
<text locale="en">Analyze Song of Life</text> <text locale="en">Analyze Song of Life</text>
</string> </string>
<string name="cerrdorfumbleshield"> <string name="cerddorfumbleshield">
<text locale="de">Bannlied</text> <text locale="de">Bannlied</text>
<text locale="en">Countersong</text> <text locale="en">Countersong</text>
</string> </string>
@ -4324,7 +4324,7 @@
<text locale="de">Kraft der Natur</text> <text locale="de">Kraft der Natur</text>
<text locale="en">force of nature</text> <text locale="en">force of nature</text>
</string> </string>
<string name="wdwpyramid_cerrdor"> <string name="wdwpyramid_cerddor">
<text locale="de">Gesang der Götter</text> <text locale="de">Gesang der Götter</text>
<text locale="en">Song of the Gods</text> <text locale="en">Song of the Gods</text>
</string> </string>
@ -5126,7 +5126,7 @@
able to decipher all enchantments or spells, which able to decipher all enchantments or spells, which
aren't disguised beyond your capability.</text> aren't disguised beyond your capability.</text>
</string> </string>
<string name="cerrdorfumbleshield"> <string name="cerddorfumbleshield">
<text locale="de">Dieser schrille Gesang hallt über das <text locale="de">Dieser schrille Gesang hallt über das
ganze Schlachtfeld. Die besonderen Dissonanzen in den ganze Schlachtfeld. Die besonderen Dissonanzen in den
Melodien machen es Magiern fast unmöglich, sich auf ihre Melodien machen es Magiern fast unmöglich, sich auf ihre

View File

@ -37,7 +37,7 @@
<entry spell="summon_familiar" level="9" /> <entry spell="summon_familiar" level="9" />
<entry spell="draigfumbleshield" level="9" /> <entry spell="draigfumbleshield" level="9" />
<entry spell="gwyrrdfumbleshield" level="5" /> <entry spell="gwyrrdfumbleshield" level="5" />
<entry spell="cerrdorfumbleshield" level="5" /> <entry spell="cerddorfumbleshield" level="5" />
<entry spell="tybiedfumbleshield" level="2" /> <entry spell="tybiedfumbleshield" level="2" />
<entry spell="concealing_aura" level="1" /> <entry spell="concealing_aura" level="1" />
<entry spell="shockwave" level="5" /> <entry spell="shockwave" level="5" />

View File

@ -22,7 +22,7 @@
<entry spell="calm_monster" level="6" /> <entry spell="calm_monster" level="6" />
<entry spell="calm_riot" level="14" /> <entry spell="calm_riot" level="14" />
<entry spell="cerddor_destroymagic" level="8" /> <entry spell="cerddor_destroymagic" level="8" />
<entry spell="cerrdorfumbleshield" level="5" /> <entry spell="cerddorfumbleshield" level="5" />
<entry spell="chaosrow" level="8" /> <entry spell="chaosrow" level="8" />
<entry spell="clone" level="9" /> <entry spell="clone" level="9" />
<entry spell="coldfront" level="8" /> <entry spell="coldfront" level="8" />

View File

@ -619,7 +619,7 @@
<spell name="gwyrrdfumbleshield" rank="2" index="144" variable="true" combat="1"> <spell name="gwyrrdfumbleshield" rank="2" index="144" variable="true" combat="1">
<resource name="aura" amount="5" cost="level"/> <resource name="aura" amount="5" cost="level"/>
</spell> </spell>
<spell name="cerrdorfumbleshield" rank="2" index="145" variable="true" combat="1"> <spell name="cerddorfumbleshield" rank="2" index="145" variable="true" combat="1">
<resource name="aura" amount="5" cost="level"/> <resource name="aura" amount="5" cost="level"/>
</spell> </spell>
<spell name="tybiedfumbleshield" rank="2" index="146" variable="true" combat="1"> <spell name="tybiedfumbleshield" rank="2" index="146" variable="true" combat="1">

View File

@ -27,7 +27,7 @@
<entry spell="summon_familiar" level="9" /> <entry spell="summon_familiar" level="9" />
<entry spell="song_of_slavery" level="13" /> <entry spell="song_of_slavery" level="13" />
<entry spell="cerddor_destroymagic" level="8" /> <entry spell="cerddor_destroymagic" level="8" />
<entry spell="cerrdorfumbleshield" level="5" /> <entry spell="cerddorfumbleshield" level="5" />
<entry spell="big_recruit" level="14" /> <entry spell="big_recruit" level="14" />
<entry spell="raindance" level="3" /> <entry spell="raindance" level="3" />
<entry spell="create_roi" level="6" /> <entry spell="create_roi" level="6" />

View File

@ -26,7 +26,7 @@
<entry spell="calm_monster" level="6" /> <entry spell="calm_monster" level="6" />
<entry spell="calm_riot" level="15" /> <entry spell="calm_riot" level="15" />
<entry spell="cerddor_destroymagic" level="8" /> <entry spell="cerddor_destroymagic" level="8" />
<entry spell="cerrdorfumbleshield" level="5" /> <entry spell="cerddorfumbleshield" level="5" />
<entry spell="chaosrow" level="8" /> <entry spell="chaosrow" level="8" />
<entry spell="chaossuction" level="14" /> <entry spell="chaossuction" level="14" />
<entry spell="clone" level="9" /> <entry spell="clone" level="9" />

View File

@ -402,7 +402,7 @@
<spell name="gwyrrdfumbleshield" rank="2" index="144" variable="true" combat="1"> <spell name="gwyrrdfumbleshield" rank="2" index="144" variable="true" combat="1">
<resource name="aura" amount="5" cost="level"/> <resource name="aura" amount="5" cost="level"/>
</spell> </spell>
<spell name="cerrdorfumbleshield" rank="2" index="145" variable="true" combat="1"> <spell name="cerddorfumbleshield" rank="2" index="145" variable="true" combat="1">
<resource name="aura" amount="5" cost="level"/> <resource name="aura" amount="5" cost="level"/>
</spell> </spell>
<spell name="tybiedfumbleshield" rank="2" index="146" variable="true" combat="1"> <spell name="tybiedfumbleshield" rank="2" index="146" variable="true" combat="1">

View File

@ -205,12 +205,6 @@ caddmessage(region * r, faction * f, const char *s, msg_t mtype, int level)
{ {
message *m = NULL; message *m = NULL;
#define LOG_ENGLISH
#ifdef LOG_ENGLISH
if (f && f->locale != default_locale) {
log_warning("message for locale \"%s\": %s\n", locale_name(f->locale), s);
}
#endif
unused_arg(level); unused_arg(level);
switch (mtype) { switch (mtype) {
case MSG_INCOME: case MSG_INCOME:

View File

@ -78,9 +78,6 @@ int change_resource(unit * u, const resource_type * rtype, int change)
assert(!"undefined resource detected. rtype->uchange not initialized."); assert(!"undefined resource detected. rtype->uchange not initialized.");
assert(i == get_resource(u, rtype)); assert(i == get_resource(u, rtype));
assert(i >= 0); assert(i >= 0);
if (i >= 100000000) {
log_warning("%s has %d %s\n", unitname(u), i, rtype->_name);
}
return i; return i;
} }

View File

@ -78,6 +78,7 @@ static const char *sp_aliases[][2] = {
{ "illaunfamiliar", "summon_familiar" }, { "illaunfamiliar", "summon_familiar" },
{ "draigfamiliar", "summon_familiar" }, { "draigfamiliar", "summon_familiar" },
{ "commonfamiliar", "summon_familiar" }, { "commonfamiliar", "summon_familiar" },
{ "cerrdorfumbleshield", "cerddorfumbleshield" },
{ NULL, NULL }, { NULL, NULL },
}; };

View File

@ -136,7 +136,7 @@ enum {
SPL_GWYRRD_ARMORSHIELD, SPL_GWYRRD_ARMORSHIELD,
SPL_DRAIG_FUMBLESHIELD, SPL_DRAIG_FUMBLESHIELD,
SPL_GWYRRD_FUMBLESHIELD, SPL_GWYRRD_FUMBLESHIELD,
SPL_CERRDOR_FUMBLESHIELD, SPL_CERDDOR_FUMBLESHIELD,
SPL_TYBIED_FUMBLESHIELD, SPL_TYBIED_FUMBLESHIELD,
SPL_SHADOWKNIGHTS = 147, SPL_SHADOWKNIGHTS = 147,
SPL_ITEMCLOAK = 150, SPL_ITEMCLOAK = 150,

View File

@ -6583,7 +6583,7 @@ static spelldata spell_functions[] = {
{ "heroic_song", sp_hero, 0 }, { "heroic_song", sp_hero, 0 },
{ "transfer_aura_song", sp_transferaura, 0 }, { "transfer_aura_song", sp_transferaura, 0 },
{ "analysesong_unit", sp_analysesong_unit, 0 }, { "analysesong_unit", sp_analysesong_unit, 0 },
{ "cerrdorfumbleshield", sp_fumbleshield, 0 }, { "cerddorfumbleshield", sp_fumbleshield, 0 },
{ "calm_monster", sp_calm_monster, 0 }, { "calm_monster", sp_calm_monster, 0 },
{ "seduction", sp_seduce, 0 }, { "seduction", sp_seduce, 0 },
{ "headache", sp_headache, 0 }, { "headache", sp_headache, 0 },

View File

@ -1504,7 +1504,7 @@ int sp_fumbleshield(struct castorder * co)
switch (sp->id) { switch (sp->id) {
case SPL_DRAIG_FUMBLESHIELD: case SPL_DRAIG_FUMBLESHIELD:
case SPL_GWYRRD_FUMBLESHIELD: case SPL_GWYRRD_FUMBLESHIELD:
case SPL_CERRDOR_FUMBLESHIELD: case SPL_CERDDOR_FUMBLESHIELD:
case SPL_TYBIED_FUMBLESHIELD: case SPL_TYBIED_FUMBLESHIELD:
duration = 100; duration = 100;
effect = _max(1, 25 - level); effect = _max(1, 25 - level);