diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-27 12:49:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-27 12:49:40 -0300 |
commit | e4e4bb493ee54b1ce87d3ef0ea02abd22aa99f94 (patch) | |
tree | e7156198aa9fde54cd56d941ead17b9900e95606 | |
parent | 548057e189f0cb222833036836d5cda76e9f69c0 (diff) | |
download | evol-hercules-e4e4bb493ee54b1ce87d3ef0ea02abd22aa99f94.tar.gz evol-hercules-e4e4bb493ee54b1ce87d3ef0ea02abd22aa99f94.tar.bz2 evol-hercules-e4e4bb493ee54b1ce87d3ef0ea02abd22aa99f94.tar.xz evol-hercules-e4e4bb493ee54b1ce87d3ef0ea02abd22aa99f94.zip |
Fruits cannot be @item'ed
-rw-r--r-- | src/emap/atcommand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emap/atcommand.c b/src/emap/atcommand.c index 93563c7..c502cb4 100644 --- a/src/emap/atcommand.c +++ b/src/emap/atcommand.c @@ -329,10 +329,11 @@ ACMD0(tmw2item) get_count = number; // TMW2: Check for restrictions - // Strange Coins ; <BronzeGift ~ SupremeGift> ; Legendary Weapons ; DeathPenalty + // Strange Coins ; <BronzeGift ~ SupremeGift> ; Legendary Weapons ; Fruits ; DeathPenalty if( item_id == 828 || (item_id >= 589 && item_id <= 593) || (item_id >= 3600 && item_id <= 3610) || + (item_id >= 8000 && item_id <= 8006) || item_id == 7420 ) { clif->message(fd, msg_fd(fd,19)); // Invalid item ID or name clif->message(fd, msg_fd(fd,1481)); // TMW2 Restriction |