minor updates
This commit is contained in:
@@ -81,11 +81,6 @@
|
||||
hsl_attack(HSL_attacker, HSL_defenders, HSL_fake_levelup); \
|
||||
}
|
||||
|
||||
#define attack_CS2_042\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), attack_CS2_042_FLAG, FLAG_ISSET)) {\
|
||||
hsl_attack(HSL_attacker, HSL_defenders, HSL_fake_levelup); \
|
||||
}
|
||||
|
||||
#define attack_CS2_boar\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), attack_CS2_boar_FLAG, FLAG_ISSET)) {\
|
||||
hsl_attack(HSL_attacker, HSL_defenders, HSL_fake_levelup); \
|
||||
@@ -208,7 +203,6 @@
|
||||
attack_CS2_182\
|
||||
attack_CS2_120\
|
||||
attack_EX1_506a\
|
||||
attack_CS2_042\
|
||||
attack_CS2_boar\
|
||||
attack_CS2_237\
|
||||
attack_LOE_077\
|
||||
|
||||
@@ -16,11 +16,6 @@
|
||||
def(card_list_s, allcards) allcards = hsl_board_friendly_cards(HSL_deck_player, HSL_attacker->id, HSL_heroes_included); def(card_list_s, cl) foreach(cl, allcards) { cl->card->receive.heal = 99; } hsl_attack_aoe(attacker, allcards, HSL_fake_levelup); hsl_link_target(attacker, allcards); \
|
||||
}
|
||||
|
||||
#define battlecry_CS2_042\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), battlecry_CS2_042_FLAG, FLAG_ISSET)) {\
|
||||
def(card_s, def) def = hsl_card(HSL_target); if(def) { hsl_attack_bc(HSL_attacker, def, 3); } \
|
||||
}
|
||||
|
||||
#define battlecry_LOE_077\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), battlecry_LOE_077_FLAG, FLAG_ISSET)) {\
|
||||
hsl_summon_card(HSL_deck_player, CN_BOAR, cardholder1); hsl_summon_card(HSL_deck_player, CN_VULTURE, cardholder2); \
|
||||
@@ -65,7 +60,6 @@
|
||||
battlecry_EX1_097\
|
||||
battlecry_EX1_011\
|
||||
battlecry_CS2_088\
|
||||
battlecry_CS2_042\
|
||||
battlecry_LOE_077\
|
||||
battlecry_EX1_614\
|
||||
battlecry_EX1_593\
|
||||
|
||||
@@ -91,11 +91,6 @@
|
||||
int count = hsl_count_attachments(hsl_deck(HSL_defender), NULL, HSL_defender, CN_DESOLATOR_BONUS); if(count == 0) { hsl_add_single_attachment(HSL_player, hsl_deck(HSL_defender), HSL_attacker, HSL_defender); } \
|
||||
}
|
||||
|
||||
#define buff_CS2_022\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), buff_CS2_022_FLAG, FLAG_ISSET)) {\
|
||||
hsl_transform(HSL_deck_player, HSL_attacker, HSL_defender, "CS2_tk1"); \
|
||||
}
|
||||
|
||||
#define __SECTION_BUFF\
|
||||
buff_EX1_371\
|
||||
buff_CS2_011\
|
||||
@@ -115,6 +110,5 @@
|
||||
buff_OG_090\
|
||||
buff_EX1_581\
|
||||
buff_LOEA06_03\
|
||||
buff_CS2_022\
|
||||
|
||||
#endif
|
||||
@@ -26,35 +26,29 @@
|
||||
hsl_refresh_mana(HSL_deck_player, 2); def(card_list_s, allcards) allcards = hsl_board_friendly_cards(HSL_deck_player, HSL_attacker->id, HSL_heroes_excluded); def(card_list_s, cl) foreach(cl, allcards) { hsl_receive_heal(card(cl), 2); } hsl_attack_aoe(HSL_attacker, allcards, HSL_fake_levelup); hsl_link_target(HSL_attacker, allcards); \
|
||||
}
|
||||
|
||||
#define spell_aoe_CS1_112\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), spell_aoe_CS1_112_FLAG, FLAG_ISSET)) {\
|
||||
def(card_list_s, allcards) allcards = hsl_board_friendly_cards(HSL_deck_player, HSL_attacker->id, HSL_heroes_excluded); def(card_list_s, cl) foreach(cl, allcards) { cl->card->receive.heal = 2; } hsl_attack_aoe(HSL_attacker, allcards, HSL_fake_levelup); hsl_link_target(HSL_attacker, allcards); \
|
||||
}
|
||||
|
||||
#define spell_aoe_EX1_400\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), spell_aoe_EX1_400_FLAG, FLAG_ISSET)) {\
|
||||
def(card_list_s, e) e = hsl_board_enemy_cards(HSL_attacker, HSL_heroes_excluded, HSL_magic_immunity_included); def(card_list_s, cl) foreach(cl, e) { hsl_receive_damage(card(cl), 1); } hsl_attack_aoe(HSL_attacker, e, HSL_fake_levelup); hsl_link_target(HSL_attacker, e); \
|
||||
}
|
||||
|
||||
#define spell_aoe_CS1_112\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), spell_aoe_CS1_112_FLAG, FLAG_ISSET)) {\
|
||||
def(card_list_s, allcards) allcards = hsl_board_all_cards(HSL_attacker, HSL_heroes_included); def(card_list_s, cl) foreach(cl, allcards) { if(is_controller_player(card(cl))) { hsl_receive_heal(card(cl), 2); } else { hsl_receive_damage(card(cl), 2); } } hsl_attack_aoe(HSL_attacker, allcards, HSL_fake_levelup); hsl_link_target(HSL_attacker, allcards); \
|
||||
}
|
||||
|
||||
#define spell_aoe_CS2_026\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), spell_aoe_CS2_026_FLAG, FLAG_ISSET)) {\
|
||||
def(card_list_s, e) e = hsl_board_enemy_cards(HSL_attacker, HSL_heroes_excluded, HSL_magic_immunity_excluded); int count = hsl_count_cards(e); if(count > 0) { def(card_s, card) card = hsl_random_card(e); def(card_list_s, cl) foreach(cl, e) { hsl_receive_damage(card(cl), 1); } if(card) { hsl_freeze(HSL_attacker, card); } } hsl_attack_aoe(HSL_attacker, e, HSL_fake_levelup); hsl_link_target(HSL_attacker, e); \
|
||||
}
|
||||
|
||||
#define spell_aoe_CS2_032\
|
||||
if(HSL_attacker && flag(&(HSL_attacker->state), spell_aoe_CS2_032_FLAG, FLAG_ISSET)) {\
|
||||
def(card_list_s, e) e = hsl_board_enemy_cards(HSL_attacker, HSL_heroes_excluded, HSL_magic_immunity_excluded); def(card_list_s, cl) foreach(cl, e) { hsl_receive_damage(card(cl), 4); } hsl_attack_aoe(HSL_attacker, e, HSL_fake_levelup); hsl_link_target(HSL_attacker, e); \
|
||||
}
|
||||
|
||||
#define __SECTION_SPELL_AOE\
|
||||
spell_aoe_EX1_312\
|
||||
spell_aoe_EX1_251\
|
||||
spell_aoe_EX1_259\
|
||||
spell_aoe_EX1_303\
|
||||
spell_aoe_GVG_010\
|
||||
spell_aoe_EX1_400\
|
||||
spell_aoe_CS1_112\
|
||||
spell_aoe_EX1_400\
|
||||
spell_aoe_CS2_026\
|
||||
spell_aoe_CS2_032\
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user