forked from github/server
- Flammenschwerthelden viel zu stark. Nur eine FS-Attacke pro Runde
This commit is contained in:
parent
f8daca105b
commit
83c8dc4832
|
@ -1980,7 +1980,7 @@ make_heroes(battle * b)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
attack(battle *b, troop ta, const att *a)
|
attack(battle *b, troop ta, const att *a, int numattack)
|
||||||
{
|
{
|
||||||
fighter *af = ta.fighter;
|
fighter *af = ta.fighter;
|
||||||
troop td;
|
troop td;
|
||||||
|
@ -2005,7 +2005,10 @@ attack(battle *b, troop ta, const att *a)
|
||||||
ta.fighter->person[ta.index].reload--;
|
ta.fighter->person[ta.index].reload--;
|
||||||
} else {
|
} else {
|
||||||
boolean standard_attack = true;
|
boolean standard_attack = true;
|
||||||
if (wp && wp->type->attack) {
|
|
||||||
|
/* spezialattacken der waffe nur, wenn erste attacke in der runde.
|
||||||
|
* sonst helden mit feuerschwertern zu mächtig */
|
||||||
|
if (numattack==0 && wp && wp->type->attack) {
|
||||||
int dead = 0;
|
int dead = 0;
|
||||||
standard_attack = wp->type->attack(&ta, &dead, row);
|
standard_attack = wp->type->attack(&ta, &dead, row);
|
||||||
af->catmsg += dead;
|
af->catmsg += dead;
|
||||||
|
@ -2193,7 +2196,7 @@ do_attack(fighter * af)
|
||||||
if (wp!=NULL && wp->type->reload) continue;
|
if (wp!=NULL && wp->type->reload) continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
attack(b, ta, &(au->race->attack[a]));
|
attack(b, ta, &(au->race->attack[a]), apr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue