Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACMD("BATTLE_OBJECT_CATEGORY_FIGHTER", "FIGHTER_KIND_SNAKE", "attack_hi4", "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, false, 0);
- //acmd->wrap(as_hash__const, { L2CValue(FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR), L2CValue(hash40("start")) });
- ArticleModule::change_motion(acmd->module_accessor, hash40("start"), acmd->module_accessor, false, 0.0);
- }
- acmd->frame(11);
- if (acmd->is_excute())
- {
- acmd->ATTACK(yadda yadda);
- acmd->ATTACK(bla bla bla);
- }
- 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, false, 0);
- ArticleModule::change_motion(acmd->module_accessor, hash40("shoot"), acmd->module_accessor, false, 0.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);
- }
- }),
- ACMD("BATTLE_OBJECT_CATEGORY_FIGHTER", "FIGHTER_KIND_SNAKE", "attack_hi4charge", "game_attackhi4charge",
- [](ACMD *acmd) -> void {
- if (acmd->is_excute())
- {
- ArticleModule::generate_article(acmd->module_accessor, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR, false, 0);
- ArticleModule::change_motion(acmd->module_accessor, hash40("hold"), acmd->module_accessor, false, 0.0);
- //acmd->wrap(as_hash__const, {L2CValue(FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR), L2CValue(hash40("hold"))});
- //ArticleModule::change_motion(acmd->module_accessor);
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement