forked from github/server
- Artrewards verbrauchen sich
This commit is contained in:
parent
a1b016b1ce
commit
c1a571802b
|
@ -142,6 +142,9 @@ use_trappedairelemental(struct unit * u, const struct item_type * itype,
|
||||||
|
|
||||||
ADDMSG(&u->faction->msgs, msg_message("trappedairelemental_success",
|
ADDMSG(&u->faction->msgs, msg_message("trappedairelemental_success",
|
||||||
"unit region command ship", u, u->region, cm, sh));
|
"unit region command ship", u, u->region, cm, sh));
|
||||||
|
|
||||||
|
itype->rtype->uchange(u, itype->rtype, -1);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,6 +179,8 @@ use_aurapotion50(struct unit * u, const struct item_type * itype,
|
||||||
ADDMSG(&u->faction->msgs, msg_message("aurapotion50",
|
ADDMSG(&u->faction->msgs, msg_message("aurapotion50",
|
||||||
"unit region command", u, u->region, cm));
|
"unit region command", u, u->region, cm));
|
||||||
|
|
||||||
|
itype->rtype->uchange(u, itype->rtype, -1);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,6 +265,8 @@ use_instantartacademy(struct unit * u, const struct item_type * itype,
|
||||||
ADDMSG(&u->region->msgs, msg_message(
|
ADDMSG(&u->region->msgs, msg_message(
|
||||||
"artacademy_create", "unit region", u, u->region));
|
"artacademy_create", "unit region", u, u->region));
|
||||||
|
|
||||||
|
itype->rtype->uchange(u, itype->rtype, -1);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -298,6 +305,8 @@ use_instantartsculpture(struct unit * u, const struct item_type * itype,
|
||||||
ADDMSG(&u->region->msgs, msg_message(
|
ADDMSG(&u->region->msgs, msg_message(
|
||||||
"artsculpture_create", "unit region command", u, u->region, cm));
|
"artsculpture_create", "unit region command", u, u->region, cm));
|
||||||
|
|
||||||
|
itype->rtype->uchange(u, itype->rtype, -1);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue