Commit 2d355841 authored by salix5's avatar salix5

Merge pull request #1275 from DailyShana/patch-4

fix counter permit for pendulum monsters
parents c781f44f a29f72cd
......@@ -1729,9 +1729,9 @@ int32 scriptlib::card_enable_counter_permit(lua_State *L) {
peffect->code = EFFECT_COUNTER_PERMIT | countertype;
peffect->flag = EFFECT_FLAG_SINGLE_RANGE;
if(pcard->data.type & TYPE_MONSTER)
peffect->range = LOCATION_MZONE;
peffect->range = LOCATION_MZONE | LOCATION_PZONE;
else
peffect->range = LOCATION_SZONE | LOCATION_FZONE | LOCATION_PZONE;
peffect->range = LOCATION_SZONE | LOCATION_FZONE;
pcard->add_effect(peffect);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment