forked from github/server
"Mahlstrom funktioniert fehlerhaft" Fehlermeldung bei negativem Schaden nicht anzeigen.
This commit is contained in:
parent
8421cf23c1
commit
02fec778b9
1 changed files with 1 additions and 3 deletions
|
@ -483,9 +483,7 @@ do_maelstrom(region *r, unit *u)
|
||||||
|
|
||||||
damage = rng_int()%150 - eff_skill(u, SK_SAILING, r)*5;
|
damage = rng_int()%150 - eff_skill(u, SK_SAILING, r)*5;
|
||||||
|
|
||||||
if(damage <= 0) {
|
if (damage <= 0) {
|
||||||
ADDMSG(&u->faction->msgs, msg_message("entermaelstrom",
|
|
||||||
"region ship damage sink", r, u->ship, damage, 1));
|
|
||||||
return u->ship;
|
return u->ship;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue