- Artrewards verbrauchen sich

This commit is contained in:
Christian Schlittchen 2004-06-08 10:09:39 +00:00
parent a1b016b1ce
commit c1a571802b
1 changed files with 9 additions and 0 deletions

View File

@ -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;
} }
@ -175,6 +178,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;
} }
@ -259,6 +264,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;
} }