Advertisement
Guest User

PiNE Snake UpSmash

a guest
Oct 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.35 KB | None | 0 0
  1. ACMD("BATTLE_OBJECT_CATEGORY_FIGHTER", "FIGHTER_KIND_SNAKE", "attack_attackhi4", "game_attackhi4",
  2.          [](ACMD *acmd) -> void {
  3.              if (acmd->is_excute())
  4.              {
  5.                  ArticleModule::remove_exist(acmd->module_accessor, 0, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR);
  6.              }
  7.              acmd->frame(4);
  8.              if (acmd->is_excute())
  9.              {
  10.                  friction_off(acmd->module_accessor);
  11.                  //KineticModule::set_consider_ground_friction(acmd->module_accessor, false, 0);
  12.                  ArticleModule::generate_article(acmd->module_accessor, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR, true, 1);
  13.                  //acmd->wrap(as_hash__const, { L2CValue(FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR), L2CValue(hash40("start")) });
  14.                  ArticleModule::change_motion(acmd->module_accessor, 0, acmd->module_accessor, false, 0.0);
  15.              }
  16.              acmd->frame(11);
  17.              if (acmd->is_excute())
  18.              {
  19.                  //attack stuff
  20.                  acmd->ATTACK(LotsOfStuffHere);
  21.                  acmd->ATTACK(LotsOfStuffHere);
  22.              
  23.              }
  24.              acmd->wait(2);
  25.              if (acmd->is_excute())
  26.              {
  27.                  AttackModule::clear_all(acmd->module_accessor);
  28.              }
  29.              acmd->frame(25);
  30.              if (acmd->is_excute())
  31.              {
  32.                  WorkModule::on_flag(acmd->module_accessor, /*Flag*/ FIGHTER_STATUS_ATTACK_FLAG_START_SMASH_HOLD);
  33.              }
  34.              acmd->frame(30);
  35.              if (acmd->is_excute())
  36.              {
  37.                  //acmd->wrap(as_hash__const, { L2CValue(FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR), L2CValue(hash40("shoot")) });
  38.                  ArticleModule::generate_article(acmd->module_accessor, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR, true, 1);
  39.                  ArticleModule::change_motion(acmd->module_accessor, 0, acmd->module_accessor, true, 1.0);
  40.              }
  41.              acmd->frame(57);
  42.              if (acmd->is_excute())
  43.              {
  44.                  ArticleModule::remove_exist(acmd->module_accessor, 0, FIGHTER_SNAKE_GENERATE_ARTICLE_TRENCHMORTAR);
  45.                  friction_on(acmd->module_accessor);
  46.                  //KineticModule::set_consider_ground_friction(acmd->module_accessor, true, 1);
  47.              }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement