|
@@ -20476,7 +20476,7 @@ BUILDIN_FUNC(instance_check_party)
|
|
|
for( i = 0; i < MAX_PARTY; i++ ) {
|
|
|
struct map_session_data *pl_sd;
|
|
|
if( (pl_sd = p->data[i].sd) )
|
|
|
- if(map_id2bl(pl_sd->bl.id)) {
|
|
|
+ if(map_id2bl(pl_sd->bl.id) && !pl_sd->state.autotrade) {
|
|
|
if(pl_sd->status.base_level < min) {
|
|
|
script_pushint(st, 0);
|
|
|
return SCRIPT_CMD_SUCCESS;
|
|
@@ -20537,7 +20537,7 @@ BUILDIN_FUNC(instance_check_guild)
|
|
|
struct map_session_data *pl_sd;
|
|
|
|
|
|
if ((pl_sd = g->member[i].sd)) {
|
|
|
- if (map_id2bl(pl_sd->bl.id)) {
|
|
|
+ if (map_id2bl(pl_sd->bl.id) && !pl_sd->state.autotrade) {
|
|
|
if (pl_sd->status.base_level < min) {
|
|
|
script_pushint(st, 0);
|
|
|
return SCRIPT_CMD_SUCCESS;
|
|
@@ -20599,7 +20599,7 @@ BUILDIN_FUNC(instance_check_clan)
|
|
|
struct map_session_data *pl_sd;
|
|
|
|
|
|
if ((pl_sd = cd->members[i])) {
|
|
|
- if (map_id2bl(pl_sd->bl.id)) {
|
|
|
+ if (map_id2bl(pl_sd->bl.id) && !pl_sd->state.autotrade) {
|
|
|
if (pl_sd->status.base_level < min) {
|
|
|
script_pushint(st, 0);
|
|
|
return SCRIPT_CMD_SUCCESS;
|