Oracle of Mul Daya or Courser of Kruphix in the game?
Posted: 03 Jul 2018, 19:20
Does anyone know, if either Oracle of Mul Daya or Courser of Kruphix are in the game (i.e. in any version of the game that you are aware of)?
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=76&t=22397
{
if( event == EVENT_MODIFY_COST ){
test_definition_t test;
default_test_definition(&test, TYPE_LAND);
test.subtype = SUBTYPE_MOUNTAIN;
test.qty = 2;
if( new_can_sacrifice_as_cost(player, card, &test) ){
get_card_instance(player, card)->info_slot = 1;
null_casting_cost(player, card);
}
else{
get_card_instance(player, card)->info_slot = 0;
}
}
if( ! IS_GS_EVENT(player, card, event) ){
return 0;
}
target_definition_t td;
default_target_definition(player, card, &td, TYPE_CREATURE );
td.zone = TARGET_ZONE_CREATURE_OR_PLAYER;
card_instance_t *instance = get_card_instance(player, card);
if( event == EVENT_CAN_CAST ){
return generic_spell(player, card, event, GS_CAN_TARGET, &td, NULL, 1, NULL);
}
if( event == EVENT_CAST_SPELL && affect_me(player, card) ){
if( ! played_for_free(player, card) && ! is_token(player, card) && instance->info_slot == 1 ){
int choice = 1;
if( has_mana_to_cast_iid(player, event, get_card_instance(player, card)->internal_card_id) ){
choice = DIALOG(player, card, event, DLG_RANDOM, DLG_NO_STORAGE,
"Sacrifice two mountains", 1, count_subtype(player, TYPE_LAND, -1) * 2,
"Cast normally", 1, 5);
if( ! choice ){
spell_fizzled = 1;
return 0;
}
}
if( choice == 1 ){
test_definition_t test;
new_default_test_definition(&test, TYPE_LAND, "Select a Mountain to sacrifice.");
test.subtype = SUBTYPE_MOUNTAIN; // not hacked; it's a cost, so there's no opportunity to cast Magical Hack
int sacced[2] = {-1};
int i;
for(i=0; i<2; i++){
sacced[i] = new_sacrifice(player, card, player, SAC_JUST_MARK|SAC_AS_COST|SAC_RETURN_CHOICE, &test);
if( sacced[i] == -1 ){
spell_fizzled = 1;
break;
}
}
for(i=0; i<2; i++){
if( sacced[i] != -1 ){
state_untargettable(BYTE2(sacced[i]), BYTE3(sacced[i]), 0);
if( spell_fizzled != 1 ){
kill_card(BYTE2(sacced[i]), BYTE3(sacced[i]), KILL_SACRIFICE);
}
}
}
if( spell_fizzled == 1 ){
return 0;
}
td.allow_cancel = 0;
}
if( choice == 1 ){
charge_mana_from_id(player, -1, event, get_id(player, card));
}
}
return generic_spell(player, card, event, GS_CAN_TARGET, &td, "TARGET_CREATURE_OR_PLAYER", 1, NULL);
}
if( event == EVENT_RESOLVE_SPELL ){
if( valid_target(&td) ){
damage_target0(player, card, 4);
}
kill_card(player, card, KILL_DESTROY);
}
return 0;
}
{
if (ALTERNATIVE_COST_EVENT())
return alternative_cost_sac(player, card, event, SELECT_LANDTYPE(player, SUBTYPE_MOUNTAIN), 2);
return SPELL_TARGET_ANY(1-player,
deal_damage({player, card}, 4, inst->targets[0]));
}