act.offensive.c.save

dbt/src/act.offensive.c.save · 123.6 KB

From the archive dbx2.gz

Download the archive   « Back to the archive contents

/* ************************************************************************
*   File: act.offensive.c                               Part of CircleMUD *
*  Usage: player-level commands of an offensive nature                    *
*                                                                         *
*  All rights reserved.  See license.doc for complete information.        *
*                                                                         *
*  Copyright (C) 1993, 94 by the Trustees of the Johns Hopkins University *
*  CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991.               *
************************************************************************ */

#include "conf.h"
#include "sysdep.h"


#include "structs.h"
#include "utils.h"
#include "comm.h"
#include "interpreter.h"
#include "handler.h"
#include "db.h"
#include "spells.h"

/* extern variables */
extern struct room_data *world;
extern struct descriptor_data *descriptor_list;
extern int pk_allowed;
extern sh_int r_death_start_room;

/* extern functions */
void raw_kill(struct char_data * ch, struct char_data * killer);
void check_killer(struct char_data * ch, struct char_data * vict);

/* local functions */
ACMD(do_assist);
ACMD(do_hit);
ACMD(do_kill);
ACMD(do_backstab);
ACMD(do_order);
ACMD(do_flee);
ACMD(do_sweep);
ACMD(do_rescue);
ACMD(do_kick);
ACMD(do_tailwhip);
ACMD(do_knee);
ACMD(do_elbow);
ACMD(do_roundhouse);
ACMD(do_burning);
ACMD(do_bbk);
ACMD(do_yoiko);
ACMD(do_spirit);
ACMD(do_scatter);
ACMD(do_hellspear);
ACMD(do_gigabeam);
ACMD(do_twin);
ACMD(do_dragon);
ACMD(do_kamehame);
ACMD(do_bigbang);
ACMD(do_finalflash);
ACMD(do_choukame);
ACMD(do_disk);
ACMD(do_masenko);
ACMD(do_renzo);
ACMD(do_makanko);
ACMD(do_kishot);
ACMD(do_havoc);
ACMD(do_crusher);
ACMD(do_eraser);
ACMD(do_bakuhatsuha);
ACMD(do_honoo);
ACMD(do_beam);
ACMD(do_tsuihidan);
ACMD(do_shogekiha);
ACMD(do_kikoho);
ACMD(do_kakusanha);
ACMD(do_dball);
ACMD(do_dball2);
ACMD(do_kousen);
ACMD(do_zanelb);
ACMD(do_hellf);
ACMD(do_galikgun);

ACMD(do_assist)

{
  struct char_data *helpee, *opponent;

  if (FIGHTING(ch)) {
    send_to_char("You're already fighting!  How can you assist someone else?\r\n", ch);
    return;
  }
  one_argument(argument, arg);

  if (!*arg)
    send_to_char("Whom do you wish to assist?\r\n", ch);
  else if (!(helpee = get_char_room_vis(ch, arg)))
    send_to_char(NOPERSON, ch);
  else if (helpee == ch)
    send_to_char("You can't help yourself any more than this!\r\n", ch);
  else {
    /*
     * Hit the same enemy the person you're helping is.
     */
    if (FIGHTING(helpee))
      opponent = FIGHTING(helpee);
    else
      for (opponent = world[ch->in_room].people;
	   opponent && (FIGHTING(opponent) != helpee);
	   opponent = opponent->next_in_room)
		;

    if (!opponent)
      act("But nobody is fighting $M!", FALSE, ch, 0, helpee, TO_CHAR);
    else if (!CAN_SEE(ch, opponent))
      act("You can't see who is fighting $M!", FALSE, ch, 0, helpee, TO_CHAR);
    else if (!pk_allowed && !IS_NPC(opponent))	/* prevent accidental pkill */
      act("Use 'murder' if you really want to attack $N.", FALSE,
	  ch, 0, opponent, TO_CHAR);
    else {
      send_to_char("You join the fight!\r\n", ch);
      act("$N assists you!", 0, helpee, 0, ch, TO_CHAR);
      act("$n assists $N.", FALSE, ch, 0, helpee, TO_NOTVICT);
      hit(ch, opponent, TYPE_UNDEFINED);
    }
  }
}


ACMD(do_hit)
{
  struct char_data *vict;
  
  one_argument(argument, arg);
  if (!*arg)
    send_to_char("Hit who?\r\n", ch);
  else if (!(vict = get_char_room_vis(ch, arg)))
    send_to_char("They don't seem to be here.\r\n", ch);
  else if (vict == ch) {
    send_to_char("You hit yourself...OUCH!.\r\n", ch);
    act("$n hits $mself, and says OUCH!", FALSE, ch, 0, vict, TO_ROOM);
  } else if (AFF_FLAGGED(ch, AFF_MAJIN) && (ch->master == vict))
    act("$N is just such a good friend, you simply can't hit $M.", FALSE, ch, 0, vict, TO_CHAR);
  else {
    if (!pk_allowed) {
      if (!IS_NPC(vict) && !IS_NPC(ch)) {
	if (subcmd != SCMD_MURDER) {
	  send_to_char("Use 'murder' to hit another player.\r\n", ch);
	  return;
	} else {
	  check_killer(ch, vict);
	}
      }
     }
 if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
 if (GET_POS(ch) == POS_STANDING && GET_POS(vict) == POS_FLOATING) {
    send_to_char("They are up too high for you to reach!\r\n", ch);
    return;
    }
 else if (GET_POS(ch) == POS_FLOATING && GET_POS(vict) == POS_FLOATING) {
    hit(ch, vict, TYPE_UNDEFINED);
    WAIT_STATE(ch, PULSE_VIOLENCE + 2);
    }
 else if (GET_POS(ch) == POS_FLOATING && GET_POS(vict) == POS_STANDING) {
    send_to_char("You fly down and hit them!\r\n", ch);
    act("&11$n&15 flies down and hits you!&00\r\n", TRUE, ch, 0, 0, TO_VICT);
    act("&11$n&15 flies down and hits &11$N&15!&00\r\n", FALSE, ch, 0, vict, TO_NOTVICT);
    GET_POS(ch) == POS_STANDING;
    hit(ch, vict, TYPE_UNDEFINED);
    WAIT_STATE(ch, PULSE_VIOLENCE + 2);
    }
 else if (GET_POS(ch) == POS_STANDING) {
      hit(ch, vict, TYPE_UNDEFINED);
      WAIT_STATE(ch, PULSE_VIOLENCE + 2);
      }
 }
}



ACMD(do_kill)
{
  struct char_data *vict;

  if ((GET_LEVEL(ch) < 1000000) || IS_NPC(ch)) {
    do_hit(ch, argument, cmd, subcmd);
    return;
  }
  one_argument(argument, arg);

  if (!*arg) {
    send_to_char("Kill who?\r\n", ch);
  } else {
    if (!(vict = get_char_room_vis(ch, arg)))
      send_to_char("They aren't here.\r\n", ch);
    else if (ch == vict)
      send_to_char("Your mother would be so sad.. :(\r\n", ch);
    else {
      act("You chop $M to pieces!  Ah!  The blood!", FALSE, ch, 0, vict, TO_CHAR);
      act("$N chops you to pieces!", FALSE, vict, 0, ch, TO_CHAR);
      act("$n brutally slays $N!", FALSE, ch, 0, vict, TO_NOTVICT);
      raw_kill(vict, ch);
      sprintf(buf, "&16[&10ALERT&16] &14%s &15has been &00&01SLAIN&00", GET_NAME(vict));
      send_to_all(buf);
    }
  }
}



ACMD(do_backstab)
{
  struct char_data *vict;
  int percent, prob;

  one_argument(argument, buf);
  if (!GET_SKILL(ch, SKILL_BACKSTAB)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }
  if (!(vict = get_char_room_vis(ch, buf))) {
    send_to_char("Backstab who?\r\n", ch);
    return;
  }
  if (vict == ch) {
    send_to_char("How can you SWIFTNESS up on yourself?\r\n", ch);
    return;
  }
  if (!GET_EQ(ch, WEAR_WIELD)) {
    send_to_char("You need to wield a weapon to make it a success.\r\n", ch);
    return;
  }
  if (GET_OBJ_VAL(GET_EQ(ch, WEAR_WIELD), 3) != TYPE_SLASH - TYPE_HIT) {
    send_to_char("Only swords or daggers can be used for backstabbing.\r\n", ch);
    return;
  }

  if (MOB_FLAGGED(vict, MOB_AWARE)) {
    act("You notice $N lunging at you!", FALSE, vict, 0, ch, TO_CHAR);
    act("$e notices you lunging at $m!", FALSE, vict, 0, ch, TO_VICT);
    act("$n notices $N lunging at $m!", FALSE, vict, 0, ch, TO_NOTVICT);
    hit(vict, ch, TYPE_UNDEFINED);
    return;
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  percent = number(1, 101);	/* 101% is a complete failure */
  prob = GET_SKILL(ch, SKILL_BACKSTAB);

  if (AWAKE(vict) && (percent > prob))
    damage(ch, vict, 0, SKILL_BACKSTAB);
  else
    hit(ch, vict, TYPE_UNDEFINED);
}



ACMD(do_order)
{
  char name[MAX_INPUT_LENGTH], message[MAX_INPUT_LENGTH];
  bool found = FALSE;
  int org_room;
  struct char_data *vict;
  struct follow_type *k;

  half_chop(argument, name, message);

  if (!*name || !*message)
    send_to_char("Order who to do what?\r\n", ch);
  else if (!(vict = get_char_room_vis(ch, name)) && !is_abbrev(name, "followers"))
    send_to_char("That person isn't here.\r\n", ch);
  else if (ch == vict)
    send_to_char("You obviously suffer from skitzofrenia.\r\n", ch);

  else {
    if (AFF_FLAGGED(ch, AFF_MAJIN)) {
      send_to_char("Your superior would not aprove of you giving orders.\r\n", ch);
      return;
    }
    if (vict) {
      sprintf(buf, "$N orders you to '%s'", message);
      act(buf, FALSE, vict, 0, ch, TO_CHAR);
      act("$n gives $N an order.", FALSE, ch, 0, vict, TO_ROOM);

      if ((vict->master != ch) || !AFF_FLAGGED(vict, AFF_MAJIN))
	act("$n has an indifferent look.", FALSE, vict, 0, 0, TO_ROOM);
      else {
	send_to_char(OK, ch);
	command_interpreter(vict, message);
      }
    } else {			/* This is order "followers" */
      sprintf(buf, "$n issues the order '%s'.", message);
      act(buf, FALSE, ch, 0, vict, TO_ROOM);

      org_room = ch->in_room;

      for (k = ch->followers; k; k = k->next) {
	if (org_room == k->follower->in_room)
	  if (AFF_FLAGGED(k->follower, AFF_MAJIN)) {
	    found = TRUE;
	    command_interpreter(k->follower, message);
	  }
      }
      if (found)
	send_to_char(OK, ch);
      else
	send_to_char("Nobody here is a loyal subject of yours!\r\n", ch);
    }
  }
}



ACMD(do_flee)
{
  int i, attempt, loss;
  struct char_data *was_fighting;
  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("What are ya gunna do hop on one leg!?\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("What are ya gunna do hop on one leg!?\r\n", ch);
     return;
     }
  if (GET_POS(ch) < POS_FIGHTING) {
    send_to_char("You are in pretty bad shape, unable to flee!\r\n", ch);
    return;
  }

  if (IS_AFFECTED(ch, AFF_MFROZEN)) {
    send_to_char("You would flee, but you can't move.\r\n", ch);
    return;
  }

  for (i = 0; i < 6; i++) {
    attempt = number(0, NUM_OF_DIRS - 1);	/* Select a random direction */
    if (CAN_GO(ch, attempt) &&
	!ROOM_FLAGGED(EXIT(ch, attempt)->to_room, ROOM_DEATH)) {
      act("$n panics, and attempts to flee!", TRUE, ch, 0, 0, TO_ROOM);
      was_fighting = FIGHTING(ch);
      if (do_simple_move(ch, attempt, TRUE)) {
	send_to_char("You flee head over heels.\r\n", ch);
	if (was_fighting && !IS_NPC(ch)) {
	  loss = GET_MAX_HIT(was_fighting) - GET_HIT(was_fighting);
	  loss *= GET_LEVEL(was_fighting);
	  gain_exp(ch, -loss);
	}
      } else {
	act("$n tries to flee, but can't!", TRUE, ch, 0, 0, TO_ROOM);
      }
      return;
    }
  }
  send_to_char("PANIC!  You couldn't escape!\r\n", ch);
}


ACMD(do_sweep)
{
  struct char_data *vict;
  int percent, prob;

  one_argument(argument, arg);
  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
     }
  if (!GET_SKILL(ch, SKILL_SWEEP)) {
    send_to_char("You have no idea how.\r\n", ch);
    return;
  }
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    send_to_char("This room just has such a peaceful, easy feeling...\r\n", ch);
    return;
  }
  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Sweep who?\r\n", ch);
      return;
    }
  }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = number(1, 101);	/* 101% is a complete failure */
  prob = GET_SKILL(ch, SKILL_SWEEP);

  if (MOB_FLAGGED(vict, MOB_NOSWEEP))
    percent = 101;

  if (percent > prob) {
    damage(ch, vict, 0, SKILL_SWEEP);
    GET_POS(ch) = POS_SITTING;
  } else {
    if (damage(ch, vict, 1, SKILL_SWEEP) > 0) {	/* -1 = dead, 0 = miss */
      GET_POS(vict) = POS_SITTING;
      WAIT_STATE(vict, PULSE_VIOLENCE);
    }
  }
  WAIT_STATE(ch, PULSE_VIOLENCE * 2);
}


ACMD(do_rescue)
{
  struct char_data *vict, *tmp_ch;
  int percent, prob;

  one_argument(argument, arg);
  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
     }
  if (!(vict = get_char_room_vis(ch, arg))) {
    send_to_char("Whom do you want to rescue?\r\n", ch);
    return;
  }
  if (vict == ch) {
    send_to_char("What about fleeing instead?\r\n", ch);
    return;
  }
  if (FIGHTING(ch) == vict) {
    send_to_char("How can you rescue someone you are trying to kill?\r\n", ch);
    return;
  }
  for (tmp_ch = world[ch->in_room].people; tmp_ch &&
       (FIGHTING(tmp_ch) != vict); tmp_ch = tmp_ch->next_in_room);

  if (!tmp_ch) {
    act("But nobody is fighting $M!", FALSE, ch, 0, vict, TO_CHAR);
    return;
  }
  if (!GET_SKILL(ch, SKILL_RESCUE))
    send_to_char("But you have no idea how!\r\n", ch);
  else {
    percent = number(1, 101);	/* 101% is a complete failure */
    prob = GET_SKILL(ch, SKILL_RESCUE);

    if (percent > prob) {
      send_to_char("You fail the rescue!\r\n", ch);
      return;
    }
    send_to_char("Banzai!  To the rescue... You take damage in the process!\r\n", ch);
    act("You are rescued by $N, you are confused!", FALSE, vict, 0, ch, TO_CHAR);
    act("$n heroically rescues $N! Taking damage in the process!", FALSE, ch, 0, vict, TO_NOTVICT);
    GET_HIT(ch) = GET_HIT(ch) - GET_MAX_HIT(ch) / 50;
    if (FIGHTING(vict) == tmp_ch)
      stop_fighting(vict);
    if (FIGHTING(tmp_ch))
      stop_fighting(tmp_ch);
    if (FIGHTING(ch))
      stop_fighting(ch);

    set_fighting(ch, tmp_ch);
    set_fighting(tmp_ch, ch);

    WAIT_STATE(vict, 2 * PULSE_VIOLENCE);
  }

}



ACMD(do_kick)
{
  struct char_data *vict;
  char arg1[MAX_INPUT_LENGTH];
  char arg2[MAX_INPUT_LENGTH];
  int MOVE = 0, HIT = 0;
  two_arguments(argument, arg1, arg2);
/*------------------------------No Limbs---------------------------*/  
  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
/*---------------------------Aiming Shots--------------------------*/
/* Kick to the Head */
  if (!(vict = get_char_room_vis(ch, arg1)) && !str_cmp(arg,"head") && GET_STR(ch)*2+GET_MANA(ch)/4*GET_LEVEL(ch)+GET_DAMROLL(ch) > GET_STR(vict)*2+GET_MANA(vict)/4*GET_LEVEL(vict)+GET_DAMROLL(vict)) {

  act("&15You swiftly swing a strong kick, hitting &11$N&15 in the head!&00", FALSE, ch, 0, vict, TO_CHAR);
  act("&12$n&15 smashes &11$N&15 in the head with a powerful kick!", TRUE, ch, 0, vict, TO_NOTVICT);
  act("&12$n&15 moves with great speed, smashing you in the head with a kick!&00", FALSE, ch, 0, vict, TO_VICT);  
  HIT = number(GET_LEVEL(ch)*10, GET_LEVEL(ch)*10);
  MOVE = number(5, 10);
  GET_HIT(vict) = GET_HIT(vict) - HIT;
  GET_MOVE(ch) = GET_MOVE(ch) - MOVE;
  }
  
  if (GET_HIT(vict) <=0) {
  act("&15You kill &11$N&15 with the blow!&00", FALSE, ch, 0, vict, TO_CHAR);
  act("&12$n&15 kills &11$N with with blow!&00.", TRUE, ch, 0, vict, TO_NOTVICT);
  act("&12$n&15's kick kills you!&00", FALSE, ch, 0, vict, TO_VICT);
  char_from_room(vict);
  char_to_room(vict, r_death_start_room);
  GET_HIT(vict) = GET_MAX_HIT(vict)*0.1;
  GET_MANA(vict) = GET_MAX_MANA(vict)*0.1;
  GET_MOVE(vict) = GET_MAX_MOVE(vict)*0.1;
  GET_POS(vict) = POS_STANDING;
  look_at_room(vict, 0);
  }
/*-----------------------------------------------------------------*/
  if (!(vict = get_char_room_vis(ch, arg1))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Kick who?\r\n", ch);
      return;
    }
  }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
}


ACMD(do_tailwhip)
{
  struct char_data *vict;
  int percent, prob, dam;

  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (!PLR_FLAGGED(ch, PLR_TAIL)) {
     send_to_char("You don't have a tail!\r\n", ch);
     return;
     }
  if (!GET_SKILL(ch, SKILL_TAILWHIP)) {
    send_to_char("You don't know how!\r\n", ch);
    return;
  }
  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Tailwhip who?\r\n", ch);
      return;
    }
  }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);	/* 101% is a complete
								 * failure */
  prob = GET_SKILL(ch, SKILL_TAILWHIP);

  if (percent > prob) {
    damage(ch, vict, 0, SKILL_TAILWHIP);
  } else
    act("You &15swing your tail at &14$N&00&06'&15s throat&11!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("$n &15swings their tail at &14your&15s throat&11!&00", FALSE, ch, 0, vict, TO_VICT);
    act("$n &15swings their tail at &14$N&00&06'&15s throat&11!&00", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * GET_LBS(ch) * GET_DEX(ch) / 128, SKILL_TAILWHIP);
    dam = GET_LEVEL(ch) * GET_LBS(ch) * GET_DEX(ch) / 128;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

    GET_POS(vict) = POS_SITTING;
    WAIT_STATE(vict, PULSE_VIOLENCE);

  WAIT_STATE(ch, PULSE_VIOLENCE * 2);
}

ACMD(do_knee)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
     }
  if (!GET_SKILL(ch, SKILL_KNEE)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }
  one_argument(argument, arg);
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Knee who?\r\n", ch);
      return;
    }
  }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);	/* 101% is a complete
								 * failure */
  prob = GET_SKILL(ch, SKILL_KNEE);

  if (percent > prob) {
    damage(ch, vict, 0, SKILL_KNEE);
  } else
    act("&11You &15crush your knee into &14$N's &15gut&11!", FALSE, ch, 0, vict, TO_CHAR);
    act("&11$n &15crushes their knee into &14your &15gut&11!", FALSE, ch, 0, vict, TO_VICT);
    act("&11$n &15crushes their knee into &14$N's &15gut&11!", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * GET_LBS(ch) * GET_DEX(ch) / 150, SKILL_KNEE);
    dam = GET_LEVEL(ch) * GET_LBS(ch) * GET_DEX(ch) / 150;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);
}

ACMD(do_elbow)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
     }
  if (!GET_SKILL(ch, SKILL_ELBOW)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }
  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Elbow who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);	/* 101% is a complete
								 * failure */
  prob = GET_SKILL(ch, SKILL_ELBOW);

  if (percent > prob) {
    damage(ch, vict, 0, SKILL_ELBOW);
  } else
    act("&15You spin and ram your &10elbow &15into &14$N's &09spine&11.&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&15$n spins and rams their &10elbow &15into &14your &09spine&11.&00", FALSE, ch, 0, vict, TO_VICT);
    act("&15$n spins and rams their &10elbow &15into &14$N's &09spine&11.&00", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * GET_UBS(ch) * GET_DEX(ch) / 150, SKILL_ELBOW);
    dam = GET_LEVEL(ch) * GET_UBS(ch) * GET_DEX(ch) / 150;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);
}

ACMD(do_roundhouse)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You have no legs!\r\n", ch);
     return;
}
  if (!PLR_FLAGGED(ch, PLR_RLEG) && PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
}
  if (PLR_FLAGGED(ch, PLR_RLEG) && !PLR_FLAGGED(ch, PLR_LLEG)) {
     send_to_char("You only have one leg!\r\n", ch);
     return;
     }
  if (!GET_SKILL(ch, SKILL_ROUNDHOUSE)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }
  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Roundhouse who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);	/* 101% is a complete
								 * failure */
  prob = GET_SKILL(ch, SKILL_ROUNDHOUSE);

  if (percent > prob) {
    damage(ch, vict, 0, SKILL_ROUNDHOUSE);
  } else
    act("&11You &15leap into the air and spin doing a &12roundhouse&15 into the side of &14$N's head&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&11$n &15leaps into the air and spins doing a &12roundhouse&15 into the side of &14your head&00", FALSE, ch, 0, vict, TO_VICT);
    act("&11$n &15leaps into the air and spins doing a &12roundhouse&15 into the side of &14$N's head&00", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * GET_LBS(ch) * GET_DEX(ch) / 140, SKILL_ROUNDHOUSE);
    dam = GET_LEVEL(ch) * GET_LBS(ch) * GET_DEX(ch) / 140;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);
}

ACMD(do_twin)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_TWIN)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }
  if (!GET_EQ(ch, WEAR_WIELD)) {
    send_to_char("You need to wield a sword to use Twin Blade Slash.\r\n", ch);
    return;
  }
  if (GET_OBJ_VAL(GET_EQ(ch, WEAR_WIELD), 3) != TYPE_SLASH - TYPE_HIT) {
    send_to_char("Only you need a sword!.\r\n", ch);
    return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/36) {
     send_to_char("You don't have the Ki to do a Twin Blade Slash!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Twin Blade Slash who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_TWIN);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/36) {
    damage(ch, vict, 0, SKILL_TWIN);
  } else
 act("&11You &15focus &10energy &15into your hands forming &11T&00&07W&11I&00&07N &09B&00&01L&09A&00&01D&09E&00&01S&15 of &10e&14n&00&07er&14g&10y&15 and slash $N&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&15$n &15focus &10energy &15into their hands forming &11T&00&07W&11I&00&07N &09B&00&01L&09A&00&01D&09E&00&01S&15 of &10e&14n&00&07er&14g&10y&15 and slash $N&00", FALSE, ch, 0, vict, TO_ROOM);
 act("woo", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * GET_DAMROLL(ch) / 100, SKILL_TWIN);
    dam = GET_LEVEL(ch) * GET_DAMROLL(ch) / 100;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

    GET_POS(vict) = POS_SITTING;
    WAIT_STATE(vict, PULSE_VIOLENCE);

 WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/36;
}

ACMD(do_shogekiha)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}

  if (!GET_SKILL(ch, SKILL_SHOGEKIHA)) {
   send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/ 100) {
     send_to_char("You don't have the Ki to fire a shogekiha!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Hit who with a shogekiha?\r\n", ch);
      return;
    }
  }
 if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
 if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_SHOGEKIHA);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch) /100) {
    damage(ch, vict, 0, SKILL_SHOGEKIHA);
  }
else
   act("woo", FALSE, ch, 0, vict, TO_CHAR);
   act("woo", FALSE, ch, 0, vict, TO_VICT);
   act("woo", FALSE, ch, 0, vict, TO_NOTVICT);
       damage(ch, vict, GET_LEVEL(ch) *  3 + 30000, SKILL_SHOGEKIHA);
       dam = GET_LEVEL(ch) * 3 + 30000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

 WAIT_STATE(ch, PULSE_VIOLENCE * .5);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/100;
}


ACMD(do_tsuihidan)
{
  struct char_data *vict;
  struct room_data *room;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}

  if (!GET_SKILL(ch, SKILL_TSUIHIDAN)) {
   send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/ 125) {
     send_to_char("You don't have the Ki to fire a tsuihidan!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Hit who with a tsuihidan?\r\n", ch);
      return;
    }
  }
 if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
 if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_TSUIHIDAN);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/100) {
    damage(ch, vict, 0, SKILL_TSUIHIDAN);
  }
else
   act("woo", FALSE, ch, 0, vict, TO_CHAR);
   act("woo", FALSE, ch, 0, vict, TO_VICT);
   act("woo", FALSE, ch, 0, vict, TO_NOTVICT);
       damage(ch, vict, GET_LEVEL(ch) *  3 + 40000, SKILL_TSUIHIDAN);
       dam = GET_LEVEL(ch) * 3 + 40000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

 WAIT_STATE(ch, PULSE_VIOLENCE * .5);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/125;
}


ACMD(do_gigabeam)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_GIGABEAM)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/40) {
     send_to_char("You don't have the Ki to do a Giga Beam!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Giga Beam who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                * failure */
  prob = GET_SKILL(ch, SKILL_GIGABEAM);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/40) {
    damage(ch, vict, 0, SKILL_GIGABEAM);
  } else
 act("&11You &15lean back as &16dark &13e&00&05n&13e&00&05r&13g&00&05y &15swells around your body. You bring your right fist up as your &13e&00&05n&13e&00&05r&13g&00&05y &15begins to &12pool&15 there. Just as the attack is ready you bring it forward and fire your &10G&00&02i&10g&00&02a&10s &11B&00&07e&11a&00&07m &15at &14$N&11!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&11$n&15's &15leans back as &16dark &13e&00&05n&13e&00&05r&13g&00&05y &15swells around their body. They bring their right fist up as their &13e&00&05n&13e&00&05r&13g&00&05y &15begins to &12pool&15 there. Just as the attack is ready $n brings it forward and fires their &10G&00&02i&10g&00&02a&10s &11B&00&07e&11a&00&07m &15at &14$N&11!&00", FALSE, ch, 0, vict, TO_NOTVICT);
 act("&11$n&15's &15leans back as &16dark &13e&00&05n&13e&00&05r&13g&00&05y &15swells around their body. They bring their right fist up as their &13e&00&05n&13e&00&05r&13g&00&05y &15begins to &12pool&15 there. Just as the attack is ready $n bring it forward and fires their &10G&00&02i&10g&00&02a&10s &11B&00&07e&11a&00&07m &15at &14you&11!&00", FALSE, ch, 0, vict, TO_VICT);
    damage(ch, vict, GET_LEVEL(ch) * 28 +65000, SKILL_GIGABEAM);
    dam = GET_LEVEL(ch) * 28 + 65000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15  from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You s that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
 
    GET_POS(vict) = POS_SITTING;
  WAIT_STATE(vict, PULSE_VIOLENCE);

 WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/40;
}


ACMD(do_hellspear)
{
  struct char_data *vict, *next_v;
  int dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_HELLSPEAR)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  
  if (!GET_EQ(ch, WEAR_WIELD)) {
    send_to_char("You need to wield a spear to use Hell Spear Blast.\r\n", ch);
    return;
  }
  if (GET_OBJ_VAL(GET_EQ(ch, WEAR_WIELD), 3) != TYPE_STAB - TYPE_HIT) {
    send_to_char("Only you need a spear!.\r\n", ch);
    return;
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/50) {
     send_to_char("You don't have the Ki to do a Hell Spear Blast!\r\n", ch);
     return;
  } else {
 act("&11You &10grin &16e&13v&16i&13l&16l&13y&15 as you pull out your spear. You begin to spin your spear wickedly right as you begin to pump &00&06e&00&02n&10er&00&02g&00&06y&15 into it. After only a few moments the spear begins to radiate &09r&00&01e&09d&15. Right as it reaches the utmost capacity, you launch the &09H&00&01e&09l&00&01l &16S&15p&00&07e&15a&16r &10B&00&02l&10a&00&02s&10t &15down at the ground, and watch it explode into a fury of energy&11!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&11$n &10grins &16e&13v&16i&13l&16l&13y&15 as he pulls out his spear. &10$n&15 begins to spin his spear wickedly right as he begins to pump &00&06e&00&02n&10er&00&02g&00&06y&15 into it. After only a few moments the spear begins to radiate &09r&00&01e&09d&15. Right as it reaches the utmost capacity, &10$n&15 launches the &09H&00&01e&09l&00&01l &16S&15p&00&07e&15a&16r &10B&00&02l&10a&00&02s&10t &15at the ground, the spear explodes catching you in the explosion&11!&00", FALSE, ch, 0, vict, TO_ROOM);
 for (vict = world[ch->in_room].people; vict; vict = next_v) {
      next_v = vict->next_in_room;
      if (vict == ch)
        continue;
      damage(ch, vict, GET_LEVEL(ch) * 10 + 60000, SKILL_HELLSPEAR);
      dam = GET_LEVEL(ch) * 10 + 60000;
      if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
      else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
      sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
      sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
      sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
      act(buf, FALSE, ch, NULL, vict, TO_CHAR);
      act(buf2, FALSE, ch, NULL, vict, TO_ROOM);
      act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
      GET_POS(vict) = POS_SITTING;
      WAIT_STATE(vict, PULSE_VIOLENCE);
  WAIT_STATE(ch, PULSE_VIOLENCE * 2);
  }
GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/50;
 }
}

ACMD(do_scatter)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_SCATTER)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/30) {
     send_to_char("You don't have the Ki to do Scatter Shot!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Scattershot who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                * failure */
  prob = GET_SKILL(ch, SKILL_SCATTER);

  if (percent > prob && GET_MANA(ch) >= 10000) {
    damage(ch, vict, 0, SKILL_SCATTER);
  } else
    act("woo!", FALSE, ch, 0, vict, TO_NOTVICT);
    act("woo!", FALSE, ch, 0, vict, TO_VICT);
    act("woo!", FALSE, ch, 0, vict, TO_CHAR);
    dam = GET_LEVEL(ch) * 30 + 45000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
      damage(ch, vict, GET_LEVEL(ch) * 30 + 45000, SKILL_SCATTER);
     GET_POS(vict) = POS_SITTING;
  WAIT_STATE(vict, PULSE_VIOLENCE);

 WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/30;
}


ACMD(do_spirit)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_SPIRITBALL)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/30) {
     send_to_char("You don't have the Ki to do a Spirit Ball!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Spirit Ball who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_SPIRITBALL);

if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/30) {
    damage(ch, vict, 0, SKILL_SPIRITBALL);
  } else
 act("&11You &15hold your right hand out, palm upward with your other hand gripping your wrist, and form a &09large&15 radiating &14S&12p&14i&12r&14i&12t&16-&11B&09a&11l&09l&15. You quickly launch it at $N&15. Bringing it down on them from above in a brilliant &09e&16x&09p&16l&09o&16s&09i&16o&09n&15!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&15$n holds their right hand out, palm upward with their other hand gripping their wrist, and form a &09large&15 radiating &14S&12p&14i&12r&14i&12t&16-&11B&09a&11l&09l&15. They quickly launch it at $N&15. Bringing it down on them from above in a brilliant &09e&16x&09p&16l&09o&16s&09i&16o&09n&15!&00", FALSE, ch, 0, vict, TO_NOTVICT);
 act("&15$n holds their right hand out, palm upward with their other hand gripping their wrist, and form a &09large&15 radiating &14S&12p&14i&12r&14i&12t&16-&11B&09a&11l&09l&15. They quickly launch it at you. Bringing it down on them from above in a brilliant &09e&16x&09p&16l&09o&16s&09i&16o&09n&15!&00", FALSE, ch, 0, vict, TO_VICT);
    damage(ch, vict, GET_LEVEL(ch) * 30 + 50000, SKILL_SPIRITBALL);
    dam = GET_LEVEL(ch) * 30 + 50000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

    GET_POS(vict) = POS_SITTING;
    WAIT_STATE(vict, PULSE_VIOLENCE);

  WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/30;
}

ACMD(do_yoiko)
{
  struct char_data *vict;
  int percent, prob;

  one_argument(argument, arg);
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }


  if (!GET_SKILL(ch, SKILL_YOIKOMINMINKEN)) {
    send_to_char("You have no idea how.\r\n", ch);
    return;
  }
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    send_to_char("This room just has such a peaceful, easy feeling...\r\n", ch);
    return;
  }
  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Sleep who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/40) {
     send_to_char("You don't have the Ki to do Yoikominminken!\r\n", ch);
    return;
  }

  percent = number(1, 101);     /* 101% is a complete failure */
  prob = GET_SKILL(ch, SKILL_YOIKOMINMINKEN);

  
  if (percent > prob) {
    damage(ch, vict, 0, SKILL_YOIKOMINMINKEN);
    GET_POS(ch) = POS_SLEEPING;
  } else {
    if (damage(ch, vict, 1, SKILL_YOIKOMINMINKEN) > 0) { /* -1 = dead, 0 = miss */
      act("&15$n waves their arms in lulling motions as they focus ki into their eyes....slowly....putting...you to...sleeeeep...&00", FALSE, ch, 0, vict, TO_VICT);
      act("&15$n waves their arms in lulling motions as they focus ki into their eyes....slowly....putting...$N to...sleeeeep...", FALSE, ch, 0, vict, TO_NOTVICT);
      act("&15You wave your arms in lulling motions as you focus ki into your eyes....slowly....putting...$N to...sleeeeep...", FALSE, ch, 0, vict, TO_CHAR);
      GET_POS(vict) = POS_SLEEPING;
      WAIT_STATE(vict, PULSE_VIOLENCE);
    }
  }
  WAIT_STATE(ch, PULSE_VIOLENCE * 3);
GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/40;

}



ACMD(do_dragon)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_SEVENDRAGON)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/30) {
     send_to_char("You don't have the Ki to do Dance of the Seven Dragons!\r\n", ch);
    return;
  }

 one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Dance of the Seven Dragons who?\r\n", ch);
      return;
    }
  }
 if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }  
 if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_SEVENDRAGON);
 
 if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/30) {
    damage(ch, vict, 0, SKILL_SEVENDRAGON);
  } else
 act("&15You run at $N, and jump into the air. As you draw energy into your body, you shout, &16D&00&15a&00&07n&00&15c&00&16e &00of the &06S&00&14e&00v&14e&00&06n &00&10D&00&02r&15ag&00&02o&00&10n&15s! And fly at your opponent, and deliver a hellacious combo of punches and kicks to their body in a blur of violence!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&15$n runs at $N, they jump majestically into the air, and glow a soft yellow, then scream out, &16D&00&15a&00&07n&00&15c&00&16e &00of the &06S&00&14e&00v&14e&00&06n &00&10D&00&02r&15ag&00&02o&00&10n&15s! They seemingly vanish, then the sounds of thudding impacts on $N resonate through the area!&00", FALSE, ch, 0, vict, TO_ROOM);
 act("woo", FALSE, ch, 0, vict, TO_NOTVICT);

    damage(ch, vict, GET_LEVEL(ch) *37 + 70000, SKILL_SEVENDRAGON);
    dam = GET_LEVEL(ch) * 37 + 70000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

    GET_POS(vict) = POS_SITTING;
    WAIT_STATE(vict, PULSE_VIOLENCE);

  WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/30;
}





ACMD(do_burning)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_BURNINGATTACK)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/30) {
     send_to_char("You don't have the Ki to do a Burning Attack!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

   if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Burning Attack who?\r\n", ch);
      return;
    }
  }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_BURNINGATTACK);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/30) {
    damage(ch, vict, 0, SKILL_BURNINGATTACK);
  } else
 act("&15You hold your arms straight out infront of you, your forearms crackling with &11energy&00. &15 Your arms move in a rythmic fashion, becoming a blur. As the energy reaches max, you throw your arms out and yell, &09B&00&01u&05rn&00&01in&09g &11A&00&03t&09t&00&01a&03c&00&11k&00!&15 and a flaming orb forms and flies at $N&15, engulfing them in an &01inferno!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&15$n begins to move their arms in a stylish fashion, the area around you beginning to heat up as you finally hear &09B&00&01u&00&05rn&00&01in&00&09g &00&11A&00&03t&00&09t&00&01a&00&03c&00&11k!&15 come from them. You watch a raging inferno engulf $N's&15 form as $n unleashes their firey orb!", FALSE, ch, 0, vict, TO_NOTVICT);
 act("&15$n begins to move their arms in a stylish fashion, the area around you beginning to heat up as you finally hear &09B&00&01u&00&05rn&00&01in&00&09g &00&11A&00&03t&00&09t&00&01a&00&03c&00&11k!&15 come from them. You feel a raging inferno engulf your form as they unleash their firey orb!", FALSE, ch, 0, vict, TO_VICT);
    damage(ch, vict, GET_LEVEL(ch) * 32 + 50000, SKILL_BURNINGATTACK);
    dam = GET_LEVEL(ch) * 32 + 50000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

    GET_POS(vict) = POS_SITTING;
    WAIT_STATE(vict, PULSE_VIOLENCE);
 
  WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/30;
}

ACMD(do_bbk)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}

  if (!GET_SKILL(ch, SKILL_BBK)) {
   send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/ 30) {
     send_to_char("You don't have the Ki to fire a Big Bang Kamehameha!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Hit who with a Big Bang Kamehameha?\r\n", ch);
      return;
    }
  }
 if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
 if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_BBK);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/30) {
    damage(ch, vict, 0, SKILL_BBK);
  }
else
   act("&16You pull your right and left hands by your side, grinding your teeth as you charge &00e&14n&00&06er&00&14g&00y&00 &16into your palms. The &00e&14n&00&06er&00&14g&00y&00 &16grows as well as your anger, your eyes going pure &00w&15hit&00e &16as you thrust your right fist out, a large &00o&00&14r&00&06b&00 &16of &00e&14n&00&06er&00&14g&00y&00 &16forming a foot from your palm. A ring of pure &00e&14n&00&06er&00&14g&00y&00 &16formed around the &00&03k&00&11i&00 &06b&00&16a&00&06l&00&16l, and you thrust out your other hand, the &00o&00&14r&00&06b&00 &16growing larger as it turns from a &00&06b&00&16a&00&06l&00&16l of &00&05p&00&13u&00rp&13l&00&05e &16ki to a soft &00&04b&00&12lu&00&04e&16. As you push all of your ki into it, you yell, &00&05B&00&13i&00g B&00&15a&00&13n&00&05g&00 &04K&00&12a&00m&00&14e&00&06ha&00&14m&00e&00&12h&00&04a&00&16! For what seems like an eternity, the ball seems to melt into a thick, wide &00&06b&00&14e&00a&14m&00&16, taking out most of the area before you as it slams into $N!&00", FALSE, ch, 0, vict, TO_CHAR);
   act("&16$n pulls back their hands by their sides, their face contorts as they grit their teeth. You feel mass amounts of &00e&14n&00&06er&00&14g&00y&00 &16welling up in their body as you see their hands start to form two &00&06b&00&16a&00&06l&00&16ls of different colored energies. They thrust their right hand out, a large &00&06b&00&16a&00&06l&00&16l of &00e&14n&00&06er&00&14g&00y&00 &16forming there, with a ring of &00e&14n&00&06er&00&14g&00y&00 &16forming around it, like a planets ring. They push out their other hand, pushing the other hands &00e&14n&00&06er&00&14g&00y&00 &16into the other hands &00e&14n&00&06er&00&14g&00y&00 &16, making it change a completely different color. The earth quakes like the its the end of days as they yell out, &00&05B&00&13i&00g B&00&15a&00&13n&00&05g&00 &04K&00&12a&00m&00&14e&00&06ha&00&14m&00e&00&12h&00&04a&00&16 The &00&06b&00&16a&00&06l&00&16l explodes into a brilliant &00&04b&00&12lu&00&04e &00w&15hit&00e &00&06b&00&14e&00a&14m&00&16 as it slams into you!&00", FALSE, ch, 0, vict, TO_VICT);
   act("&16$n pulls back their hands by their sides, their face contorts as they grit their teeth. You feel mass amounts of &00e&14n&00&06er&00&14g&00y&00 &16welling up in their body as you see their hands start to form two &00&06b&00&16a&00&06l&00&16ls of different colored energies. They thrust their right hand out, a large &00&06b&00&16a&00&06l&00&16l of &00e&14n&00&06er&00&14g&00y&00 &16forming there, with a ring of &00e&14n&00&06er&00&14g&00y&00 &16forming around it, like a planets ring. They push out their other hand, pushing the other hands &00e&14n&00&06er&00&14g&00y&00 &16into the other hands &00e&14n&00&06er&00&14g&00y&00 &16, making it change a completely different color. The earth quakes like the its the end of days as they yell out, &00&05B&00&13i&00g B&00&15a&00&13n&00&05g&00 &04K&00&12a&00m&00&14e&00&06ha&00&14m&00e&00&12h&00&04a&00&16 The &00&06b&00&16a&00&06l&00&16l explodes into a brilliant &00&04b&00&12lu&00&04e &00w&15hit&00e &00&06b&00&14e&00a&14m&00&16 as it slams into $N!&00", FALSE, ch, 0, vict, TO_NOTVICT);
       damage(ch, vict, GET_LEVEL(ch) * 50 + 100000, SKILL_BBK);
       dam = GET_LEVEL(ch) * 50 + 100000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

       GET_POS(vict) = POS_SITTING;
    WAIT_STATE(vict, PULSE_VIOLENCE);
 WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/30;
}


ACMD(do_kamehame)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_KAMEHAMEHA)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

 else  if (GET_MANA(ch) < GET_MAX_MANA(ch)/100) {
     send_to_char("You don't have the Ki to do a Kamehameha!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Kamehameha who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_KAMEHAMEHA);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/100) {
    damage(ch, vict, 0, SKILL_KAMEHAMEHA);
  } else
 act("&15Your &01ka&06me&04ha&06me&01ha&15 hits &12$N&15 full force!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&15You stagger as a &01ka&06me&04ha&06me&01ha&15 from &01$n&15 hits you!&00", FALSE, ch, 0, vict, TO_VICT);
 act("&01$n&15 blasts a &01ka&06me&04ha&06me&01ha&15 at &12$N&15 who staggers under the blow!&00", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * 4 + 35000, SKILL_KAMEHAMEHA);
    dam = GET_LEVEL(ch) * 4 + 35000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/100;
}


ACMD(do_bigbang)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_BIGBANG)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/60) {
     send_to_char("You don't have the Ki to do a Big Bang Attack!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Big Bang who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_BIGBANG);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/60) {
    damage(ch, vict, 0, SKILL_BIGBANG);
  } else
    act("&15You turn sideways to &14$N&15, smirking as you lift your left arm up, with your palm pointed at your opponent, thumb tucked in. Your body starts to crackle with &00e&14n&00&06er&00&14g&00y&00 &15as you start to charge ki into your hand. As you feel the &00e&14n&00&06er&00&14g&00y&00 &15rise within your arm, you yell out, &00&05B&00&13i&00g B&00&15a&00&13n&00&05g&00 &03A&00&11t&16ta&11c&00&03k&15! A large &00&06b&14e&00a&14m&00 &15of &00e&14n&00&06er&00&14g&00y&00 &15flies towards &14$N, slamming into them when it hits.&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&14$n&15 turns sideways to you, smirking as they point their left hand at you. You can feel the &00e&14n&00&06er&00&14g&00y&00 &15well up inside them as you hear, &00&05B&00&13i&00g B&00&15a&00&13n&00&05g&00 &03A&00&11t&16ta&11c&00&03k&15! You feel the air heat up as the &00&06b&00&14e&00a&14m&00 &15slams into your body!&00", FALSE, ch, 0, vict, TO_VICT); 
    act("&14$n&15 turns sideways to &14$N, smirking as they point their left hand at &14$N&15. You can feel the &00e&14n&00&06er&00&14g&00y&00 &15well up inside them as you hear, &00&05B&00&13i&00g B&00&15a&00&13n&00&05g&00 &03A&00&11t&16ta&11c&00&03k&15! You feel the air heat up as the &00&06b&00&14e&00a&14m&00 &15slams into &14$N&15!&00", FALSE, ch, 0, vict, TO_NOTVICT);  
    damage(ch, vict, GET_LEVEL(ch) * 20 + 100000, SKILL_BIGBANG);
    dam = GET_LEVEL(ch) * 20 + 100000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  GET_POS(vict) = POS_SITTING;
  WAIT_STATE(vict, PULSE_VIOLENCE);

  WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - 75;
}


ACMD(do_finalflash)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_FINALFLASH)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < 125) {
     send_to_char("You don't have the Ki to do a Final Flash!\r\n", ch);
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Final Flash who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_FINALFLASH);

  if (percent > prob && GET_MANA(ch) >= 125) {
    damage(ch, vict, 0, SKILL_FINALFLASH);
  } else
    act("&15You thrust your arms forward, wrists together, palms open. You push &00e&14n&00&06er&00&14g&00y&00&15 into your palms as &00li&00&14gh&00&06t&00&14ni&00ng&15 crackles around you. As you feel you have enough &00e&14n&00&06er&00&14g&00y&00&15 into your hands, you yell, &11F&00&03i&16n&00&03a&11l&00 &16F&00&03l&11a&00&03s&16h&00&15! And unleash a hellacious blast at &14$N&15!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&15$n thrusts their arms out at you, their palms pointing straight out at you. As you feel the &00e&14n&00&06er&00&14g&00y&00&15 well within them, they scream, &11F&00&03i&16n&00&03a&11l&00 &16F&00&03l&11a&00&03s&16h&00&15! And your body feels like its on fire as a massive &00&06b&14e&00a&14m&00 slams into you!&00", FALSE, ch, 0, vict, TO_VICT);
    act("&15$n thrusts their arms out at you, their palms pointing straight out at you. As you feel the &00e&14n&00&06er&00&14g&00y&00&15 well within them, they scream, &11F&00&03i&16n&00&03a&11l&00 &16F&00&03l&11a&00&03s&16h&00&15! And your body feels like its on fire as a massive &00&06b&14e&00a&14m&00 slams into $N!&00", FALSE, ch, 0, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * 12 + 40000, SKILL_FINALFLASH);
    dam = GET_LEVEL(ch) * 12 + 40000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - 125;
}

ACMD(do_galikgun)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_GALIKGUN)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/100) {
     send_to_char("You don't have the Ki to do a Galik Gun!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Galik Gun who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                * failure */
  prob = GET_SKILL(ch, SKILL_GALIKGUN);

  if (percent > prob && GET_MANA(ch) >= 10000) {
    damage(ch, vict, 0, SKILL_GALIKGUN);
  } else
 act("&16You fly up into the air, twisting your body as you begin to charge &00e&14n&00&06er&00&14g&00y&16 into your palms. As you continue to charge, a large &00o&14r&00&06b&00&16 of &00e&14n&00&06er&00&14g&00y&16 encases you, and as you yell, &00&05G&13a&00&16l&13i&00&05k&00 &16G&15u&00n&16! You throw your hands forward, and the &00o&14r&00&06b&00&16 around you explodes towards &14$N&16 in a large &00&06b&14e&00a&14m&16, smashing into them!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&16$n flies up into the air, twisting their body as you feel the &00e&14n&00&06er&00&14g&00y&16 well up in them. Suddenly a large &13p&00&05urpl&13e&00 &00o&14r&00&06b&00&16 surrounds their form, and as you hear them scream &00&05G&13a&00&16l&13i&00&05k&00 &16G&15u&00n&16! You watch as a massive &00&06b&14e&00a&14m&16 slams into you!&00", FALSE, ch, 0, vict, TO_VICT);
 act("&16$n flies up into the air, twisting their body as you feel the &00e&14n&00&06er&00&14g&00y&16 well up in them. Suddenly a large &13p&00&05urpl&13e&00 &00o&14r&00&06b&00&16 surrounds their form, and as you hear them scream &00&05G&13a&00&16l&13i&00&05k&00 &16G&15u&00n&16! You watch as a massive &00&06b&14e&00a&14m&16 slams into &14$N&15!&00", FALSE, ch, 0, vict, TO_NOTVICT);

    damage(ch, vict, GET_LEVEL(ch) * 4 + 35000, SKILL_GALIKGUN);
     dam = GET_LEVEL(ch) * 4 + 35000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
   WAIT_STATE(ch, PULSE_VIOLENCE * 1);

 GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/50;
}


ACMD(do_choukame)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_CHOUKAME)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/60) {
     send_to_char("You don't have the Ki to do a Chou Kamehameha!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Chou Kamehameha who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_CHOUKAME);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/60) {
    damage(ch, vict, 0, SKILL_CHOUKAME);
  } else 
 act("&15Your &11Chou &01ka&06me&04ha&06me&01ha&15 hits &12$N&15! full force&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&15You stagger as a &11Chou &01ka&06me&04ha&06me&01ha&15 from &01$n&15 hits you!&00", FALSE, ch, 0, vict, TO_VICT);
 act("&01$n&15 blasts a &11Chou &01ka&06me&04ha&06me&01ha&15 at &12$N&15 who staggers under the blow!&00", FALSE, ch, 0, vict, TO_NOTVICT);
   damage(ch, vict, GET_LEVEL(ch) * 20 + 110000, SKILL_CHOUKAME);
   dam = GET_LEVEL(ch) * 3 + 3000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

   GET_POS(vict) = POS_SITTING;
   WAIT_STATE(vict, PULSE_VIOLENCE);
  
  WAIT_STATE(vict, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - 150;
}



ACMD(do_disk)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_DISK)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/90) {
     send_to_char("You don't have the Ki to do a Destructo Disk!\r\n", ch);
     return;
   }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Destructo Disk who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_DISK);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/60) {
    damage(ch, vict, 0, SKILL_DISK);
  }
  if (IS_saiyan(vict) && PLR_FLAGGED(vict, PLR_STAIL)) {
    REMOVE_BIT(PLR_FLAGS(vict), PLR_STAIL);
    act("&15You cut $N's tail off&11!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&15$n cuts your tail off&11!&00", FALSE, ch, 0, vict, TO_VICT);
    act("&15$n cuts $N's tail off&11!&00", FALSE, ch, 0, vict, TO_ROOM);
    if (IS_saiyan(vict) && PRF_FLAGGED(vict, PRF_OOZARU)) {
     REMOVE_BIT(PRF_FLAGS(vict), PRF_OOZARU);
     act("&12Your rage calms down and you begin to slowly shrink as the hair on your body disolves and you pass out on the ground.&00\n\r", FALSE, ch, 0, vict, TO_VICT);
     act("&12$N's rage calms down and $N begins to slowly shrink as the hair on $N's body disolves and they pass out on the ground.&00\n\r",  FALSE, ch, 0, vict, TO_NOTVICT);
     act("&12$N's rage calms down and $N begins to slowly shrink as the hair on $N's body disolves and they pass out on the ground.&00\n\r",  FALSE, ch, 0, vict, TO_CHAR);
     GET_MAX_HIT(vict) -= 100000;
     GET_MAX_MANA(vict) -= 100000;
     }
    return;
    }
  else if (IS_HALF_BREED(vict) && PLR_FLAGGED(vict, PLR_STAIL)) {
    REMOVE_BIT(PLR_FLAGS(vict), PLR_STAIL);
    act("&15You cut $N's tail off&11!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&15$n cuts your tail off&11!&00", FALSE, ch, 0, vict, TO_VICT);
    act("&15$n cuts $N's tail off&11!&00", FALSE, ch, 0, vict, TO_ROOM);
    if (IS_HALF_BREED(vict) && PRF_FLAGGED(vict, PRF_OOZARU)) {
     REMOVE_BIT(PRF_FLAGS(vict), PRF_OOZARU);
     send_to_char("&12Your rage calms down and you begin to slowly shrink as the hair on your body disolves and you pass out on the ground.&00\n\r", ch);
     act("&12$N's rage calms down and $N begins to slowly shrink as the hair on $N's body disolves and they pass out on the ground.&00\n\r",  FALSE, ch, 0, vict, TO_ROOM);
     act("&12$N's rage calms down and $N begins to slowly shrink as the hair on $N's body disolves and they pass out on the ground.&00\n\r",  FALSE, ch, 0, vict, TO_CHAR);
     GET_MAX_HIT(vict) -= 100000;
     GET_MAX_MANA(vict) -= 100000;
     }
    return;
    }
  else if (IS_BIODROID(vict) && PLR_FLAGGED(vict, PLR_TAIL)) {
    REMOVE_BIT(PLR_FLAGS(vict), PLR_TAIL);
    act("&15You cut $N's tail off&11!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&15$n cuts your tail off&11!&00", FALSE, ch, 0, vict, TO_VICT);
    act("&15$n cuts $N's tail off&11!&00", FALSE, ch, 0, vict, TO_ROOM);
    return;
    }
  else if (IS_icer(vict) && PLR_FLAGGED(vict, PLR_TAIL)) {
    REMOVE_BIT(PLR_FLAGS(vict), PLR_TAIL);
    act("&15You cut $N's tail off&11!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&15$n cuts your tail off&11!&00", FALSE, ch, 0, vict, TO_VICT);
    act("&15$n cuts $N's tail off&11!&00", FALSE, ch, 0, vict, TO_ROOM);
    return;
    }
  else if (GET_MAX_MANA(ch) >= 5000000 && number(1, 250) == 125) {
    act("&15Your &11destructo &00&07disk&15 cuts &14$N&15 in half!&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&14$n &11destructo &00&07disk&15 cuts &14$N&15 in half!&00", FALSE, ch, 0, vict, TO_ROOM);
    act("&14$n &11destructo &00&07disk&15 cuts you&15 in half!&00", FALSE, ch, 0, vict, TO_VICT);
    GET_POS(vict) == POS_DEAD;
  }
    else
     act("&15You hit &12$N&15 with your &03destructo disk&15 dead on!&00", FALSE, ch, 0, vict, TO_CHAR);
     act("&15You are hit full force by &01$n&15's &03destructo disk&15!&00", FALSE, ch, 0, vict, TO_VICT);
     act("&12$N is hit by &01$n&15's &03destructo disk&15!&00", FALSE, ch, 0, vict, TO_NOTVICT);

    damage(ch, vict, GET_LEVEL(ch) * 6 + 54000, SKILL_DISK);
    dam = GET_LEVEL(ch) * 6 + 54000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - 75;
}

ACMD(do_masenko)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_MASENKO)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/80) {
     send_to_char("You don't have the Ki to do a Masenko!\r\n", ch);
     return; 
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Masenko who?\r\n", ch);
      return;
    }
  }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_MASENKO);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/80) {
    damage(ch, vict, 0, SKILL_MASENKO);
  } else
    act("&15Your &11Ki&00&01ko&00&06ho&15 hits &12your target&15 full force!&00", FALSE, ch, 0, 0, TO_CHAR);
    act("&15You stagger as a &11ki&00&01ko&00&06ho15 from &00&01$n&15 hits you!&00", FALSE, ch, 0, 0, TO_VICT);
     damage(ch, vict, GET_LEVEL(ch) * 18 + 65000, SKILL_MASENKO);
     dam = GET_LEVEL(ch) * 18 + 65000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

   GET_POS(vict) = POS_SITTING;
   WAIT_STATE(vict, PULSE_VIOLENCE);

  WAIT_STATE(ch, PULSE_VIOLENCE * 2);

GET_MANA(ch) = GET_MANA(ch) - 100;
}

ACMD(do_renzo)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_RENZO)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/100) {
     send_to_char("You don't have the Ki to do a Renzokou Energy Dan!\r\n", ch);
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Renzokou Energy Dan who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_RENZO);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/100) {
    damage(ch, vict, 0, SKILL_RENZO);
  } else
    damage(ch, vict, (GET_LEVEL(ch) * GET_UBS(ch) / 5) + 40000, SKILL_RENZO);
    dam = (GET_LEVEL(ch) * GET_UBS(ch) / 5) + 40000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/100;
}
ACMD(do_makanko)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_MAKANKO)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/60) {
     send_to_char("You don't have the Ki to do a Makankosappo!\r\n", ch);
  }

  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Makankosappo who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  
/* 
* 101% 
* is a complete                                                                 
* failure
*/
  prob = GET_SKILL(ch, SKILL_MAKANKO);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/60) {
    damage(ch, vict, 0, SKILL_MAKANKO);
  } else
    damage(ch, vict, GET_LEVEL(ch) * GET_UBS(ch) / 20, SKILL_MAKANKO);
    dam = GET_LEVEL(ch) * GET_UBS(ch) / 20;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

  WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/60;

}

ACMD(do_beam)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}

  if (!GET_SKILL(ch, SKILL_BEAM)) {
   send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/ 150) {
     send_to_char("You don't have the Ki to fire a beam!\r\n", ch);
     return;
  }

  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Hit who with a beam?\r\n", ch);
      return;
    }
  }
 if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                 * failure */
  prob = GET_SKILL(ch, SKILL_BEAM);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/150) {
    damage(ch, vict, 0, SKILL_BEAM);
  }
   if (IS_ANDROID(vict) && GET_SKILL(vict, SKILL_ABSORB) || IS_BIODROID(vict) && GET_SKILL(vict, SKILL_ABSORB)) {
       switch (number(1, 10)) {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
        case 6:
        case 7:
         break;
        case 8:
         act("&15You &11absorbs &14$n's &15attack!&00", TRUE, ch, 0, vict, TO_VICT);
         act("&15$N &11absorbs &14$n's &15attack!&00", TRUE, ch, 0, vict, TO_NOTVICT);
         act("&15$N &11absorbs &14your &15attack!&00", TRUE, ch, 0, vict, TO_CHAR);
         GET_MANA(vict) = GET_MANA(vict) + dam;
         return;
         break;
        case 9:
        case 10:
         break;
       }
      }
else
   act("woo", FALSE, ch, 0, vict, TO_CHAR);
   act("woo", FALSE, ch, 0, vict, TO_VICT);
       damage(ch, vict, GET_LEVEL(ch) *  3 + 17000, SKILL_BEAM);
       dam = GET_LEVEL(ch) * 3 + 17000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
 WAIT_STATE(ch, PULSE_VIOLENCE * .5);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/150;
}


ACMD(do_kishot)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
}
  if (!GET_SKILL(ch, SKILL_KISHOT)) {
    send_to_char("You don't know how to do that!\r\n", ch);
    return;
  }

  if (GET_MANA(ch) < GET_MAX_MANA(ch)/200) {
     send_to_char("You don't have the Ki to do a Kishot!\r\n", ch);
     return;  
  }
  one_argument(argument, arg);

  if (!(vict = get_char_room_vis(ch, arg))) {
    if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Kishot who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% 
is a complete
                                                                 * 
failure */
  prob = GET_SKILL(ch, SKILL_KISHOT);
  
  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/200) {
    damage(ch, vict, 0, SKILL_KISHOT);
  } else
    act("&15You concentrate hard as you point your right forefinger at &14$N&15 and &12charge&15 and &09fire&15 a small &11yellow &15kishot at them&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&14$n &15concentrates hard and &09fires&15 a small &11kishot &15at &10$N&16!&00", FALSE, ch, 0, vict, TO_ROOM);
    dam = GET_LEVEL(ch) * 3 + 10000;
    if (IS_ANDROID(vict) && GET_SKILL(vict, SKILL_ABSORB) || IS_BIODROID(vict) && GET_SKILL(vict, SKILL_ABSORB)) {
       switch (number(1, 10)) {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
        case 6:
        case 7:
         break;
        case 8:
         act("&15You &11absorbs &14$n's &15attack!&00", TRUE, ch, 0, vict, TO_VICT);
         act("&15$N &11absorbs &14$n's &15attack!&00", TRUE, ch, 0, vict, TO_NOTVICT);
         act("&15$N &11absorbs &14your &15attack!&00", TRUE, ch, 0, vict, TO_CHAR);
         GET_MANA(vict) = GET_MANA(vict) + dam;
         return;
         break;
        case 9:
        case 10:
         break;
       }
      }
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
    damage(ch, vict, GET_LEVEL(ch) * 3 + 10000, SKILL_KISHOT);
  WAIT_STATE(ch, PULSE_VIOLENCE * .5);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/200;

}

ACMD(do_honoo)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_HONOO)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/100) {
     send_to_char("You don't have the Ki to do a Honoo!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Honoo who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                * failure */
  prob = GET_SKILL(ch, SKILL_HONOO);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch) / 100) {
    damage(ch, vict, 0, SKILL_HONOO);
  } else
 act("&16You smirk at $N&16, and start to push ki into your stomach. You lean your head back as you push the ki upwards, then open your mouth and unleash a&00 &09m&00&01a&15s&16s&00&15i&00&01v&09e&16 blast of &09f&00&03i&00&11r&00e&16 at $N!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&16$n smirks at you as they start to push ki into their stomach. You see curls of &09f&00&03i&00&11r&15e&16 lick at the edges of their lips as they open their mouth fully and fire a hellacious blast of &09f&00&03i&00&11r&15e&16 at you!", FALSE, ch, 0, vict, TO_VICT);
 act("&16$n smirks at $N&16 as they start to push ki into their stomach. You see curls of &09f&00&03i&00&11r&15e&16 lick at the edges of their lips as they open their mouth fully and fire a hellacious blast of &09f&00&03i&00&11r&15e&16 at $N!", FALSE, ch, 0, vict, TO_NOTVICT);

    damage(ch, vict, GET_LEVEL(ch) * 12 + 45000, SKILL_HONOO);
     dam = GET_LEVEL(ch) * 12 + 45000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);

 WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/50;
}

ACMD(do_eraser)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_ERASER)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/70) {
     send_to_char("You don't have the Ki to do an eraser cannon!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Eraser cannon who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999) {
    send_to_char("The newbie shield protects them right now.", ch);
    return;
    }
  if (vict == ch) {
    send_to_char("Aren't we funny today...\r\n", ch);
    return;
  }
  percent = ((10 - (GET_AC(vict) / 10)) * 2) + number(1, 101);  /* 101% is a complete
                                                                * failure */
  prob = GET_SKILL(ch, SKILL_ERASER);

  if (percent > prob && GET_MANA(ch) >= GET_MAX_MANA(ch)/70) {
    damage(ch, vict, 0, SKILL_ERASER);
  } else
 act("&00&05You push ki deep down into your body, as you cross your arms over you forehead. As the &00e&14n&00&06er&00&14g&00y&05 grows as much as possible, you yell, &00&02E&00&10r&15a&16s&00&02e&10r&00 &16C&15a&00nn&15o&16n&00&05! And fire a &09m&00&01a&15s&16s&00&15i&00&01v&09e &00&06b&14e&00a&14m&00&05 of ki from your mouth at $N!&00", FALSE, ch, 0, vict, TO_CHAR);
 act("&00&05$n crosses their arms over their forehead, and as you feel the &00e&14n&00&06er&00&14g&00y&05 build up within them, they yell out &00&02E&00&10r&15a&16s&00&02e&10r&00 &16C&15a&00nn&15o&16n&00&05! And unleash a &09m&00&01a&15s&16s&00&15i&00&01v&09e &00&06b&14e&00a&14m&00&05 at you!&00", FALSE, ch, 0, vict, TO_VICT);
 act("&00&05$n crosses their arms over their forehead, and as you feel the &00e&14n&00&06er&00&14g&00y&05 build up within them, they yell out &00&02E&00&10r&15a&16s&00&02e&10r&00 &16C&15a&00nn&15o&16n&00&05! And unleash a &09m&00&01a&15s&16s&00&15i&00&01v&09e &00&06b&14e&00a&14m&00&05 at $N!&00", FALSE, ch, 0, vict, TO_NOTVICT);

    damage(ch, vict, GET_LEVEL(ch) * 7 + 45000, SKILL_ERASER);
     dam = GET_LEVEL(ch) * 7 + 45000;
    if (GET_MAX_HIT(ch) > 60000000 && dam > 1500000) {
       dam = 1500000;
       }
    else if (GET_MAX_HIT(ch) < 60000000 && dam > 1000000) {
       dam = 1000000;
       }
    sprintf(buf, "&14%s&15 writhes in &09pain&15 from the attack&12! &16[&12%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf1, "&15You sense the amount of energy that hit &14%s&12! &16[&10%d&16]&00", GET_NAME(vict), dam);
    sprintf(buf2, "&15Your body is wracked with &11pain&12! &16[&09%d&16]&00", dam);
    act(buf, FALSE, ch, NULL, vict, TO_CHAR);
    act(buf2, FALSE, ch, NULL, vict, TO_VICT);
    act(buf1, FALSE, ch, NULL, vict, TO_NOTVICT);
     
 WAIT_STATE(ch, PULSE_VIOLENCE * 1);

GET_MANA(ch) = GET_MANA(ch) - GET_MAX_MANA(ch)/70;
}


ACMD(do_crusher)
{
  struct char_data *vict;
  int percent, prob, dam;
  if (ROOM_FLAGGED(IN_ROOM(ch), ROOM_PEACEFUL)) {
    return;
  }

  if (!PLR_FLAGGED(ch, PLR_LARM) && !PLR_FLAGGED(ch, PLR_LARM)) {
     send_to_char("You have no arms!\r\n", ch);
     return;
  }
  if (!GET_SKILL(ch, SKILL_CRUSHER)) {
    send_to_char("You don't know how to do that!\r\n", ch);
   return;
  }
  if (GET_MANA(ch) < GET_MAX_MANA(ch)/30) {
     send_to_char("You don't have the Ki to do a crusher ball!\r\n", ch);
     return;
  }
  one_argument(argument, arg);

 if (!(vict = get_char_room_vis(ch, arg))) {
   if (FIGHTING(ch) && IN_ROOM(ch) == IN_ROOM(FIGHTING(ch))) {
      vict = FIGHTING(ch);
    } else {
      send_to_char("Crusher Ball who?\r\n", ch);
      return;
    }
  }
  if (!IS_NPC(vict) && GET_MAX_HIT(vict) <= 24999)

Showing the first 100 KB of 123.6 KB. Download the archive for the full file.

Site Stats

Snippets: 1791
Codebases: 571