Commit b832f747 authored by nanahira's avatar nanahira

update

parent 480536ae
......@@ -956,6 +956,7 @@ int32 scriptlib::card_is_not_tuner(lua_State *L) {
check_param(L, PARAM_TYPE_CARD, 1);
card* pcard = *(card**) lua_touserdata(L, 1);
uint32 type = pcard->get_type();
uint32 type = pcard->get_synchro_type();
if(!(type & TYPE_TUNER) || pcard->is_affected_by_effect(EFFECT_NONTUNER))
lua_pushboolean(L, 1);
else
......
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