diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-09-03 22:19:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-09-03 22:19:56 +0300 |
commit | 4d08f967636f9aae862e6d3016a6d5faf0817542 (patch) | |
tree | d6a2b8c4bd0dc403991c0a6c9505b72eb38dfdd4 | |
parent | 0f9a449b36408845280f0fdbe9cf4dc2084a7f8c (diff) | |
download | plugin-4d08f967636f9aae862e6d3016a6d5faf0817542.tar.gz plugin-4d08f967636f9aae862e6d3016a6d5faf0817542.tar.bz2 plugin-4d08f967636f9aae862e6d3016a6d5faf0817542.tar.xz plugin-4d08f967636f9aae862e6d3016a6d5faf0817542.zip |
Disable req attributes checks in items on connect.
-rw-r--r-- | src/emap/pc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c index ec45cdc..011743e 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -293,6 +293,11 @@ int epc_isequip_post(int retVal, if (!data) return retVal; + // test for missing basic stats calculation + if (sd->regen.sregen == NULL) + { + return retVal; + } if (sd->battle_status.str < data->requiredStr || sd->battle_status.agi < data->requiredAgi || sd->battle_status.vit < data->requiredVit || |