forked from github/server
- mo message for failed astral transport
This commit is contained in:
parent
1318b4491d
commit
7dc301596e
1 changed files with 1 additions and 1 deletions
|
@ -5581,7 +5581,6 @@ sp_pullastral(castorder *co)
|
||||||
if (!ucontact(u, mage)) {
|
if (!ucontact(u, mage)) {
|
||||||
if (power > 12 && spobj->flag != TARGET_RESISTS && can_survive(u, rt)) {
|
if (power > 12 && spobj->flag != TARGET_RESISTS && can_survive(u, rt)) {
|
||||||
ADDMSG(&mage->faction->msgs, msg_feedback(mage, co->order, "feedback_no_contact_no_resist", "target", u));
|
ADDMSG(&mage->faction->msgs, msg_feedback(mage, co->order, "feedback_no_contact_no_resist", "target", u));
|
||||||
ADDMSG(&u->faction->msgs, msg_message("send_astral", "unit target", mage, u));
|
|
||||||
} else {
|
} else {
|
||||||
ADDMSG(&mage->faction->msgs, msg_feedback(mage, co->order, "feedback_no_contact_resist", "target", u));
|
ADDMSG(&mage->faction->msgs, msg_feedback(mage, co->order, "feedback_no_contact_resist", "target", u));
|
||||||
ADDMSG(&u->faction->msgs, msg_message("try_astral", "unit target", mage, u));
|
ADDMSG(&u->faction->msgs, msg_message("try_astral", "unit target", mage, u));
|
||||||
|
@ -5598,6 +5597,7 @@ sp_pullastral(castorder *co)
|
||||||
} else {
|
} else {
|
||||||
message * m;
|
message * m;
|
||||||
|
|
||||||
|
ADDMSG(&u->faction->msgs, msg_message("send_astral", "unit target", mage, u));
|
||||||
remaining_cap = remaining_cap - w;
|
remaining_cap = remaining_cap - w;
|
||||||
move_unit(u, rt, NULL);
|
move_unit(u, rt, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue