Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACMD("BATTLE_OBJECT_CATEGORY_FIGHTER", "FIGHTER_KIND_SNAKE", "attack_attackhi4", "game_attackhi4",
- [](ACMD *acmd) -> void {
- if (acmd->is_excute())
- {
- ArticleModule::remove_exist(acmd->module_accessor, 0, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR);
- }
- acmd->frame(4);
- if (acmd->is_excute())
- {
- friction_off(acmd->module_accessor);
- //KineticModule::set_consider_ground_friction(acmd->module_accessor, false, 0);
- ArticleModule::generate_article(acmd->module_accessor, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR, true, 1);
- //acmd->wrap(as_hash__const, { L2CValue(FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR), L2CValue(hash40("start")) });
- ArticleModule::change_motion(acmd->module_accessor, 0, acmd->module_accessor, false, 0.0);
- }
- acmd->frame(11);
- if (acmd->is_excute())
- {
- //attack stuff
- acmd->ATTACK(LotsOfStuffHere);
- acmd->ATTACK(LotsOfStuffHere);
- }
- acmd->wait(2);
- if (acmd->is_excute())
- {
- AttackModule::clear_all(acmd->module_accessor);
- }
- acmd->frame(25);
- if (acmd->is_excute())
- {
- WorkModule::on_flag(acmd->module_accessor, /*Flag*/ FIGHTER_STATUS_ATTACK_FLAG_START_SMASH_HOLD);
- }
- acmd->frame(30);
- if (acmd->is_excute())
- {
- //acmd->wrap(as_hash__const, { L2CValue(FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR), L2CValue(hash40("shoot")) });
- ArticleModule::generate_article(acmd->module_accessor, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR, true, 1);
- ArticleModule::change_motion(acmd->module_accessor, 0, acmd->module_accessor, true, 1.0);
- }
- acmd->frame(57);
- if (acmd->is_excute())
- {
- ArticleModule::remove_exist(acmd->module_accessor, 0, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR);
- friction_on(acmd->module_accessor);
- //KineticModule::set_consider_ground_friction(acmd->module_accessor, true, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement