forked from github/server
waffenschaden
This commit is contained in:
parent
e8d785c11c
commit
226e55d55f
|
@ -1039,7 +1039,7 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile)
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case AT_STANDARD:
|
case AT_STANDARD:
|
||||||
weapon = select_weapon(at, true, true);
|
weapon = select_weapon(at, true, missile);
|
||||||
sk = weapon_effskill(at, dt, weapon, true, missile);
|
sk = weapon_effskill(at, dt, weapon, true, missile);
|
||||||
if (weapon) awtype = weapon->type;
|
if (weapon) awtype = weapon->type;
|
||||||
if (awtype && fval(awtype, WTF_MAGICAL)) magic = true;
|
if (awtype && fval(awtype, WTF_MAGICAL)) magic = true;
|
||||||
|
|
Loading…
Reference in New Issue