Commit d74180b0 authored by nanahira's avatar nanahira

add te to 10th param

parent 3b507f45
......@@ -218,7 +218,8 @@ int32 effect::get_required_handorset_effects(effect_set* eset, uint8 playerid, c
pduel->lua->add_param(e.reason, PARAM_TYPE_INT);
pduel->lua->add_param(e.reason_player, PARAM_TYPE_INT);
pduel->lua->add_param(0, PARAM_TYPE_INT);
if(pduel->lua->check_condition(peffect->cost, 9)) {
pduel->lua->add_param(this, PARAM_TYPE_EFFECT);
if(pduel->lua->check_condition(peffect->cost, 10)) {
available = 2;
eset->add_item(peffect);
}
......
......@@ -4197,6 +4197,7 @@ int32 field::add_chain(uint16 step) {
pduel->write_buffer32(ceffect->description);
}
if(ceffect->cost) {
pduel->lua->add_param(clit.triggering_effect, PARAM_TYPE_EFFECT);
core.sub_solving_event.push_back(clit.evt);
add_process(PROCESSOR_EXECUTE_COST, 0, ceffect, 0, clit.triggering_player, 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