mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-24 12:31:45 +01:00
[Jan 21 2009] - Jamdog
Added trigedit variable %move% to teleport objects. Fixed memory leak in generic_complete_quest. A bug fix to player attachable scripts. A better fix to the DIKU double attack by ordering a mob to save its master. Fix to remove weight restrictions for immortals.
This commit is contained in:
@@ -603,11 +603,11 @@ static void perform_give(struct char_data *ch, struct char_data *vict,
|
||||
act("You can't let go of $p!! Yeech!", FALSE, ch, obj, 0, TO_CHAR);
|
||||
return;
|
||||
}
|
||||
if (IS_CARRYING_N(vict) >= CAN_CARRY_N(vict) && GET_LEVEL(ch) < LVL_IMMORT) {
|
||||
if (IS_CARRYING_N(vict) >= CAN_CARRY_N(vict) && GET_LEVEL(ch) < LVL_IMMORT && GET_LEVEL(vict) < LVL_IMMORT) {
|
||||
act("$N seems to have $S hands full.", FALSE, ch, 0, vict, TO_CHAR);
|
||||
return;
|
||||
}
|
||||
if (GET_OBJ_WEIGHT(obj) + IS_CARRYING_W(vict) > CAN_CARRY_W(vict)) {
|
||||
if (GET_OBJ_WEIGHT(obj) + IS_CARRYING_W(vict) > CAN_CARRY_W(vict) && GET_LEVEL(ch) < LVL_IMMORT && GET_LEVEL(vict) < LVL_IMMORT) {
|
||||
act("$E can't carry that much weight.", FALSE, ch, 0, vict, TO_CHAR);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user