act.other.c.save

dbt/src/act.other.c.save · 357.2 KB

From the archive dbtv1-8.tar.gz

Download the archive   « Back to the archive contents

/* 
************************************************************************
*   File: act.other.c                                   Part of CircleMUD *
*  Usage: Miscellaneous player-level commands                             *
*                                                                         *
*  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.               *
************************************************************************ */

#define __ACT_OTHER_C__

#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"
#include "screen.h"
#include "house.h"
#include "dg_scripts.h"

/* extern variables */
extern char arg1 [MAX_INPUT_LENGTH];
extern char arg2 [MAX_INPUT_LENGTH];
extern int spell_sort_info[MAX_SKILLS+1];
extern struct str_app_type str_app[];
extern struct room_data *world;
extern struct descriptor_data *descriptor_list;
extern struct dex_skill_type dex_app_skill[];
extern struct spell_info_type spell_info[];
extern struct index_data *mob_index;
extern char *class_abbrevs[];
extern struct spell_entry spells[];
extern int free_rent;
extern int pt_allowed;
extern int max_filesize;
extern int nameserver_is_slow;
extern int top_of_world;
extern int auto_save;
extern sh_int r_death_start_room;
extern sh_int r_mortal_start_room;
extern sh_int r_immort_start_room;
extern sh_int r_demon_start_room;
extern sh_int r_saiyan_start_room;
extern sh_int r_angel_start_room;
extern sh_int r_konack_start_room;
extern sh_int r_majin_start_room;
extern sh_int r_pk1_room;
extern sh_int r_pk2_room;
extern sh_int r_pk3_room;
extern sh_int r_pk4_room;
extern sh_int r_icer_start_room;
extern sh_int r_truffle_start_room;
extern sh_int r_namek_start_room;
extern int dotmode;
extern int value1;
extern int value2;

/* extern procedures */
void list_skills(struct char_data * ch);
void appear(struct char_data * ch);
void perform_immort_vis(struct char_data *ch);
SPECIAL(shop_keeper);
ACMD(do_gen_comm);
void die(struct char_data * ch, struct char_data * killer);
void Crash_rentsave(struct char_data * ch, int cost);
void make_corpse(struct char_data * ch);

/* local functions */
ACMD(do_quit);
ACMD(do_save);
ACMD(do_fly);
ACMD(do_land);
ACMD(do_not_here);
ACMD(do_SWIFTNESS);
ACMD(do_hide);
ACMD(do_mug);
ACMD(do_practice);
ACMD(do_visible);
ACMD(do_title);
int perform_group(struct char_data *ch, struct char_data *vict);
void print_group(struct char_data *ch);
ACMD(do_group);
ACMD(do_ungroup);
ACMD(do_inplant);
ACMD(do_report);
ACMD(do_sbreed);
ACMD(do_split);
ACMD(do_ssj);
ACMD(do_kaioken);
ACMD(do_kyodaika);
ACMD(do_spar);
ACMD(do_sparkick);
ACMD(do_sparpunch);
ACMD(do_sparelbow);
ACMD(do_sparknee);
ACMD(do_sparkiblast);
ACMD(do_transform);
ACMD(do_learn);
ACMD(do_use);
ACMD(do_repair);
ACMD(do_wimpy);
ACMD(do_display);
ACMD(do_stealth);
ACMD(do_gen_write);
ACMD(do_powerup);
ACMD(do_meditate);
ACMD(do_powerdown);
ACMD(do_gen_tog);
ACMD(do_ingest);
ACMD(do_deflect);
ACMD(do_upgrade);
ACMD(do_mystic);
ACMD(do_perfection);
ACMD(do_heal);
ACMD(do_heal2);
ACMD(do_pk);
ACMD(do_majinmorph);
ACMD(do_innerfire);
ACMD(do_clanlist);
ACMD(do_clanjoin);
ACMD(do_clanresign);
ACMD(do_rlist);
ACMD(do_mlist);
ACMD(do_olist);
ACMD(do_whois);
ACMD(do_mutate);
ACMD(do_shadow);
ACMD(do_augment);
ACMD(do_reincarnate);
ACMD(do_lp);
ACMD(do_potential);
ACMD(do_majinize);
ACMD(do_majinyes);
ACMD(do_mindread);
ACMD(do_skanassan);
ACMD(do_training);
ACMD(do_scouter);
ACMD(do_clan);
ACMD(do_race);
ACMD(do_roleplay);
ACMD(do_quote);
ACMD(do_bounty);
ACMD(do_password);
ACMD(do_trade);
ACMD(do_suicide);
ACMD(do_drop);
ACMD(do_wish);
ACMD(do_calc);
ACMD(do_sangel);

ACMD(do_sangel)
{

 int MAX_MANA = 0, MAX_HIT = 0;

    one_argument(argument, arg);

    if ((!IS_ANGEL(ch)))
    {
      act("&15You're not an Angel&11!&00", TRUE, ch, 0, 0, TO_CHAR);
      return;
    }
   else if (!*argument)
    {
act("&10o&12---------------&10[&15Super &11A&00&03n&16g&15e&00&07l &09Forms&10]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &15Stage     Powerlevel Req.", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Super Angel first     &122000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Super Angel second   &1218000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Super Angel Seraphim &1228000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10All PL Req. go off base pl.&00", TRUE, ch, 0, 0, TO_CHAR);
act("&10o&12---------------&10[&15Super &11A&00&03n&16g&15e&00&07l &09forms&10]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
send_to_char("&15All powerlevel req. go off of BASE pl.&00\r\n", ch);
  return;
}

  if (!str_cmp(arg,"second") && !PLR_FLAGGED(ch, PLR_trans1)) {
   act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
   return;
  }
  if (!str_cmp(arg,"seraphim") && !PLR_FLAGGED(ch, PLR_trans2)) {
   act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
   return;
  }
/*-------------------------------------------------------------------------------------*/
/*----------------------------------  Reverting  --------------------------------------*/

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans3)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans3);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(38000000, 38000000);
  MAX_MANA = number(38000000, 38000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &16Super &11A&00&03n&16g&15e&00&07l&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &16Super &11A&00&03n&16g&15e&00&07l&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans2)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(18000000, 18000000);
  MAX_MANA = number(18000000, 18000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;

  act("&15$n reverts from $s form of &16Super &11A&00&03n&16g&15e&00&07l&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &16Super &11A&00&03n&16g&15e&00&07l&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
  if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans1)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(4000000, 4000000);
  MAX_MANA = number(4000000, 4000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;

  act("&15$n reverts from $s form of &16Super &11A&00&03n&16g&15e&00&07l&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &16Super &11A&00&03n&16g&15e&00&07l&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 if (!str_cmp(arg,"first") && PLR_FLAGGED(ch, PLR_trans1)) {
  send_to_char("&15You are already in that form!&00\r\n", ch);
  return;
  }
 if (!str_cmp(arg,"first") && GET_MAX_HIT(ch) <= 1999999) {
  act("&15You do not have the power to attain that form of &16Super &11A&00&03n&16g&15e&00&07l!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"first") && GET_MAX_HIT(ch) > 1999999) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(4000000, 4000000);
  MAX_MANA = number(4000000, 4000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&16A &00&07w&15h&16i&00&07t&15e &14b&15e&00&06a&14m &16of &11l&00&07i&11g&00&07h&11t &14e&15x&00&06p&00&07l&14o&15d&00&06e&00&07s &15around you and shoots high into the &14s&12k&00&07y. &15A loud &09r&16o&00&01a&15r &15follows the &14b&15e&00&06a&14m &15just before it disappears. Bending over you &15g&00&07r&16o&15w&00&07l &15in agony as your &14w&00&07i&15n&00&06g&15s &15begin to change, their soft &00&07f&15e&00&07a&15t&00&07h&15e&00&07r&15s &15hardening into a &16s&15t&16e&15e&16l &16a&00&07l&15l&16o&07y&15. As your wings finish changing a &11b&00&07r&11i&00&07g&11h&00&07t &15s&00&07i&16l&15v&00&07e&16r &14a&15u&00&06r&14a &16 &15surrounds your body, and you stand up having reached &14S&00&07u&00&06p&14e&00&07r &11A&00&03n&16g&15e&00&07l &14F&15i&00&07r&14s&15t.&00", FALSE, ch, 0, 0, TO_CHAR);
  act("&16A &00&07w&15h&16i&00&07t&15e &14b&15e&00&06a&14m &16of &11l&00&07i&11g&00&07h&11t &14e&15x&00&06p&00&07l&14o&15d&00&06e&00&07s &15around $n &15and shoots high into the&14s&12k&00&07y&15. A loud &09r&16o&00&01a&15r &15follows the &14b&15e&00&06a&14m &15just before it disappears. Bending over $e &15g&00&07r&16o&15w&00&07l &15in agony as $s wings begin to change, their soft &00&07f&15e&00&07a&15t&00&07h&15e&00&07r&15s &15harpening into a &16s&15t&16e&15e&16l &16a&00&07l&15l&16o&07y&15. As $s wings finish changing a &11b&00&07r&11i&00&07g&11h&00&07t &15s&00&07i&16l&15v&00&07e&16r &14a&15u&00&06r&14a &16 &15surrounds $s &15body, and $e stands up having &14S&00&07u&00&06p&14e&00&07r &11A&00&03n&16g&15e&00&07l &14F&15i&00&07r&14s&15t.&00", FALSE, ch, 0, 0, TO_ROOM);
  }

 if (!str_cmp(arg,"second") && PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15Your already in that form of &16Super &11A&00&03n&16g&15e&00&07l&15!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
if (!str_cmp(arg,"second") && GET_MAX_HIT(ch) - 4000000 <= 18000000) {
  act("&15You do not have the power to attain that form of &16Super &11A&00&03n&16g&15e&00&07l&15!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"second") && GET_MAX_HIT(ch) - 4000000 >= 18000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans2);

  MAX_HIT = number(14000000, 14000000);
  MAX_MANA = number(14000000, 14000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;
  act("&15A sudden &09s&16h&00&01o&09c&15k&14w&00&07a&00&06v&14e &15rips out from your body as you &14f&15o&00&07c&00&06u&16s &15your inner power. Your wings stretch out, and begin to &09c&15h&00&01a&16n&09g&00&01e&15! The &16s&15t&16e&15e&16l &00&07f&15e&00&07a&15t&00&07h&15e&00&07r&15s  start to turn &00&07s&15h&00&07i&15n&00&07y&15  as they become &15t&00&07i&16t&15a&00&07n&16i&15u&00&07m&15, and the end &00&07f&15e&00&07a&15t&00&07h&15e&00&07r&15s  become &15r&00&07a&16z&15o&00&07r&15 sharp. Your &15s&00&07i&16l&15v&00&07e&16r &14a&15u&00&06r&14a&15 grows &14b&00&07r&16i&00&03g&15h&14t&00&07e&16r, &15and &14l&00&07a&14r&00&06g&14e&00&07r,&15 ballooning out to an &09o&16r&00&01b&15 shape. &16B&00&07o&15l&16t&00&07s &15of &15s&00&07i&16l&15v&00&07e&16r  &11l&00&07i&00&03g&11h&00&07t&00&03n&14i&00&07n&00&03g &15strike within the &09o&16r&00&01b, &15coarsing faster and faster as you reach &14S&00&07u&00&06p&14e&00&07r &11A&00&03n&16g&15e&00&07l &09S&15e&00&07c&09o&15n&00&01d&00", FALSE, ch, 0, 0, TO_CHAR);
  act("&15A sudden &09s&16h&00&01o&09c&15k&14w&00&07a&00&06v&14e &15rips out from $n's body as $e &14f&15o&00&07c&00&06u&16s &15$s inner power. $s wings stretch out, and begin to &09c&15h&00&01a&16n&09g&00&01e&15! The &16s&15t&16e&15e&16l &00&07f&15e&00&07a&15t&00&07h&15e&00&07r&15s  start to turn &00&07s&15h&00&07i&15n&00&07y&15  as they become &15t&00&07i&16t&15a&00&07n&16i&15u&00&07m&15, and the end &00&07f&15e&00&07a&15t&00&07h&15e&00&07r&15s  become &15r&00&07a&16z&15o&00&07r&15 sharp. $s &15s&00&07i&16l&15v&00&07e&16r &14a&15u&00&06r&14a&15 grows &14b&00&07r&16i&00&03g&15h&14t&00&07e&16r, &15and &14l&00&07a&14r&00&06g&14e&00&07r,&15 ballooning out to an &09o&16r&00&01b&15 shape. &16B&00&07o&15l&16t&00&07s &15of &15s&00&07i&16l&15v&00&07e&16r  &11l&00&07i&00&03g&11h&00&07t&00&03n&14i&00&07n&00&03g &15strike within the &09o&16r&00&01b, &15coarsing faster and faster as $e reaches &14S&00&07u&00&06p&14e&00&07r &11A&00&03n&16g&15e&00&07l &09S&15e&00&07c&09o&15n&00&01d&00", FALSE, ch, 0, 0, TO_ROOM);

  }
 if (!str_cmp(arg,"seraphim") && PLR_FLAGGED(ch, PLR_trans3)) {
  act("&15Your already in that form of &16Super &11A&00&03n&16g&15e&00&07l&15!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
if (!str_cmp(arg,"seraphim") && GET_MAX_HIT(ch) - 18000000 <= 28000000) {
  act("&15You do not have the power to attain that form of &16Super &11A&00&03n&16g&15e&00&07l&15!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"seraphim") && GET_MAX_HIT(ch) - 18000000 >= 28000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans3);

  MAX_HIT = number(20000000, 20000000);
  MAX_MANA = number(20000000, 20000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&15You &14f&00&07l&00&06y&15 high into the air, beating your wings with &12r&15a&00&04p&12i&15d &15 speed. As you reach high into the &14a&00&07t&15m&12o&16s&14p&00&07h&15e&12r&16e&15 your &15s&00&07i&16l&15v&00&07e&16r &14a&15u&00&06r&14a &09e&15x&00&01p&16l&09o&15d&00&01e&16s&15 from your body, &09b&15l&09a&16s&09t&15i&09n&16g &15the surrounding air. A &00&07w&15h&16i&00&07t&15e  &14l&00&07i&14&00&07g&14h&00&07t &15covers your whole body, obscuring it from view as your wings change into &15r&00&07a&16z&15o&00&07r  &15sharp &11g&00&07o&00&03l&11d.&15 Your eyes &14g&00&07l&14o&00&07w &11g&00&07o&00&03l&11d&15 as a &11g&00&07o&00&03l&11d&00&07e&00&01n &14a&15u&00&06r&14a&15 envelopes your whole body, and the &00&07w&15h&16i&00&07t&15e &14g&00&07l&14o&99&97w &15disappears. You laugh as you realize you have achieved &14S&00&07u&00&06p&14e&00&07r &11A&00&03n&16g&15e&00&07l &14S&16e&00&06r&15a&00p&06h&14i&15m!&00", FALSE, ch, 0, 0, TO_CHAR);
  act("&15$n &14f&00&07l&00&06ies&15 high into the air, beating $s wings with &12r&15a&00&04p&12i&15d &15 speed. As $e reaches high into the &14a&00&07t&15m&12o&16s&14p&00&07h&15e&12r&16e&15 $s &15s&00&07i&16l&15v&00&07e&16r &14a&15u&00&06r&14a &09e&15x&00&01p&16l&09o&15d&00&01e&16s&15 from $s body, &09b&15l&09a&16s&09t&15i&09n&16g &15the surrounding air. A &00&07w&15h&16i&00&07t&15e  &14l&00&07i&14&00&07g&14h&00&07t &15covers $s whole body, obscuring it from view as $s wings change into &15r&00&07a&16z&15o&00&07r  &15sharp &11g&00&07o&00&03l&11d.&15 $s eyes &14g&00&07l&14o&00&07w &11g&00&07o&00&03l&11d&15 as a &11g&00&07o&00&03l&11d&00&07e&00&01n &14a&15u&00&06r&14a&15 envelopes $s whole body, and the &00&07w&15h&16i&00&07t&15e &14g&00&07l&14o&99&97w &15disappears. $e laughs as $e realize $e has achieved &14S&00&07u&00&06p&14e&00&07r &11A&00&03n&16g&15e&00&07l &14S&16e&00&06r&15a&00p&06h&14i&15m!&00", FALSE, ch, 0, 0, TO_ROOM);
  }
 return;
}

ACMD(do_calc)
{
 int value1 = 0, value2 = 0, pro = 0, pro2 = 0, pro3 = 0;

 /*half_chop(argument, buf, buf1);*/
   three_arguments(argument, arg, buf, buf1);
   value1 = atoi(buf);
   value2 = atoi(buf1);
  
  if (!*arg) {
   send_to_char("&15You can subtract, add, multiply, or divide any whole number with this mud calculator. You can also figure up how much is charged in a certain number of posts by exchanging the add/subtract/multiply/divide with the size of the skill such as small/medium/large/massive. Then after that would go your maxki at the time of charging, and then the number of posts charged. You will get the answer.&00\r\n", ch);
   return;
  }
  if (!*buf) {
   send_to_char("&11Syntax&16: &16(&14multiply&16/&14divide&16/&14subtract&16/&14add&16/&14small&16/&14medium&16/&14large&16/&14massive&&16) &16(&14number&16) &16(&14number&16)\r\n&12Example&16: &15divide 44 4\r\n", ch);
   return;
  }
  if (!*buf1) {
  send_to_char("&11Syntax&16: &16(&14multiply&16/&14divide&16/&14subtract&16/&14add&16) &16(&14number&16) &16(&14number&16)\r\n&12Example&16: &15divide 44 4\r\n", ch);
   return;
  }
  if (!str_cmp(arg,"multiply")) {
   pro = value1 * value2;
   sprintf(buf2, "&16[&14%d &09x &14%d &12= &14%d&16]&00\r\n", value1, value2, pro);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"add")) {
   pro = value1 + value2;
   sprintf(buf2, "&16[&14%d &09+ &14%d &12= &14%d&16]&00\r\n", value1, value2, pro);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"subtract")) {
   pro = value1 - value2;
   sprintf(buf2, "&16[&14%d &09- &14%d &12= &14%d&16]&00\r\n", value1, value2, pro);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"divide")) {
   pro = value1 / value2;
   sprintf(buf2, "&16[&14%d &09/ &14%d &12= &14%d&16]&00\r\n", value1, value2, pro);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"small")) {
   pro = value1 / 100;
   pro2 = pro * 10 / 100;
   pro3 = pro2 * 50 * value2;
   sprintf(buf2, "&16[&14Maxki&11: &09%d &14Posts&11: &09%d &14Total&11: &09%d&16]\r\n&00", value1, value2, pro3);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"medium")) {
   pro = value1 / 100;
   pro2 = pro * 20 / 100;
   pro3 = pro2 * 25 * value2;
   sprintf(buf2, "&16[&14Maxki&11: &09%d &14Posts&11: &09%d &14Total&11: &09%d&16]&00\r\n", value1, value2, pro3);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"large")) {
   pro = value1 / 100;
   pro2 = pro * 40 / 100;
   pro3 = pro2 * 15 * value2;
   sprintf(buf2, "&16[&14Maxki&11: &09%d &14Posts&11: &09%d &14Total&11: &09%d&16]&00\r\n", value1, value2, pro3);
   send_to_char(buf2, ch);
   return;
  }
  else if (!str_cmp(arg,"massive")) {
   pro = value1 / 100;
   pro2 = pro * 60 / 100;
   pro3 = pro2 * 7 * value2;
   sprintf(buf2, "&16[&14Maxki&11: &09%d &14Posts&11: &09%d &14Total&11: &09%d&16]&00\r\n", value1, value2, pro3);
   send_to_char(buf2, ch);
   return;
  }
}

ACMD(do_wish)
{
   struct obj_data *obj, *next_obj;
   int num = 0;
   one_argument(argument, arg);
   if (!*arg) {
   send_to_char("&16[&09Power &10:: &11800k - 1.2mil&16]\r\n", ch);
   send_to_char("&16[&09Spirit&10:: &11800k - 1.2mil&16]\r\n", ch);
   send_to_char("&16[&09Zenni &10:: &115mil - 8mil  &16]\r\n", ch);
   send_to_char("&16[&09Con   &10:: &11     1       &16]\r\n", ch);
   send_to_char("&16[&09Int   &10:: &11     1       &16]\r\n", ch);
   send_to_char("&16[&09Wis   &10:: &11     1       &16]\r\n", ch);

   return;
   }
    for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
    if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
     num += 3;
     continue;
    }
    if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
     num += 1;
     continue;
    }
    if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
     num += 7;
     continue;
    }
    if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
     num += 11;
     continue;
    }
    if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
     num += 13;
     continue;
    }
    if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
     num += 15;
     continue;
    }
    if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
     num += 17;
     continue;
    }
    continue;
   }
   if (!str_cmp(arg,"power") && num == 67) {
     send_to_char("&15Lightning fills the sky as clouds form. The dragon balls flash omniously just before a streak of lighting hits all seven at once. Shenron the great dragon blasts out of the dragonballs, it's form filling the sky. After a few moments of sheer awe you manage to ask for your wish.\r\n", ch);
     sprintf(buf, "&16[&14WISH&16] &12%s &15has been granted a wish!&00\r\n", GET_NAME(ch));
     send_to_all(buf);
     for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
      if (!IS_NPC(ch)) {
       if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
       extract_obj(obj);
       }
       continue;
      }
     }
     GET_MAX_HIT(ch) += number(800000, 1200000);
     return;
     }
     if (!str_cmp(arg,"spirit") && num == 67) {
     send_to_char("&15Lightning fills the sky as clouds form. The dragon balls flash omniously just before a streak of lighting hits all seven at once. Shenron the great dragon blasts out of the dragonballs, it's form filling the sky. After a few moments of sheer awe you manage to ask for your wish.\r\n", ch);  
     sprintf(buf, "&16[&14WISH&16] &12%s &15has been granted a wish!&00\r\n", GET_NAME(ch));
     send_to_all(buf);
     for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
      if (!IS_NPC(ch)) {
       if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
       extract_obj(obj);
       }
       continue;
      }
     }
     GET_MAX_MANA(ch) += number(800000, 1200000);
     return;
     }
     if (!str_cmp(arg,"zenni") && num == 67) {
     send_to_char("&15Lightning fills the sky as clouds form. The dragon balls flash omniously just before a streak of lighting hits all seven at once. Shenron the great dragon blasts out of the dragonballs, it's form filling the sky. After a few moments of sheer awe you manage to ask for your wish.\r\n", ch);
     sprintf(buf, "&16[&14WISH&16] &12%s &15has been granted a wish!&00\r\n", GET_NAME(ch));
     send_to_all(buf);
     for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
      if (!IS_NPC(ch)) {
       if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
       extract_obj(obj);
       }
       continue;
      }
     }
     GET_GOLD(ch) += number(5000000, 8000000);
     return;;
     }
    if (!str_cmp(arg,"con") && num == 67) {
     if (GET_CON(ch) >= 25) {
       send_to_char("Remove your equipment, and you can no longer boost this stat.\r\n", ch);
       return;
     }
     send_to_char("&15Lightning fills the sky as clouds form. The dragon balls flash omniously just before a streak of lighting hits all seven at once. Shenron the great dragon blasts out of the dragonballs, it's form filling the sky. After a few moments of sheer awe you manage to ask for your wish.\r\n", ch);
     sprintf(buf, "&16[&14WISH&16] &12%s &15has been granted a wish!&00\r\n", GET_NAME(ch));
     send_to_all(buf);
     for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
      if (!IS_NPC(ch)) {
       if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
       extract_obj(obj);
       }
       continue;
      }
     }
     ch->real_abils.con += 1;
     return;
     }
    if (!str_cmp(arg,"int") && num == 67) {
     if (GET_INT(ch) >= 25) {
       send_to_char("Remove your equipment, and you can no longer boost this stat.\r\n", ch);
       return;
     }
     send_to_char("&15Lightning fills the sky as clouds form. The dragon balls flash omniously just before a streak of lighting hits all seven at once. Shenron the great dragon blasts out of the dragonballs, it's form filling the sky. After a few moments of sheer awe you manage to ask for your wish.\r\n", ch);
     sprintf(buf, "&16[&14WISH&16] &12%s &15has been granted a wish!&00\r\n", GET_NAME(ch));
     send_to_all(buf);
     for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
      if (!IS_NPC(ch)) {
       if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
       extract_obj(obj);
       }
       continue;
      }
     }
     ch->real_abils.intel += 1;
     return;
     }
    if (!str_cmp(arg,"wis") && num == 67) {
     if (GET_WIS(ch) >= 25) {
       send_to_char("Remove your equipment, and you can no longer boost this stat.\r\n", ch);
       return;
     }
     send_to_char("&15Lightning fills the sky as clouds form. The dragon balls flash omniously just before a streak of lighting hits all seven at once. Shenron the great dragon blasts out of the dragonballs, it's form filling the sky. After a few moments of sheer awe you manage to ask for your wish.\r\n", ch);
     sprintf(buf, "&16[&14WISH&16] &12%s &15has been granted a wish!&00\r\n", GET_NAME(ch));
     send_to_all(buf);
     for (obj = ch->carrying; obj; obj = next_obj) {
          next_obj = obj->next_content;
      if (!IS_NPC(ch)) {
       if (GET_OBJ_TYPE(obj) == ITEM_dball1) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball2) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball3) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball4) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball5) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball6) {
       extract_obj(obj);
       }
       if (GET_OBJ_TYPE(obj) == ITEM_dball7) {
       extract_obj(obj);
       }
       continue;
      }
     }
     ch->real_abils.wis += 1;
     return;
     }
   else {
    send_to_char("You need all seven dragonballs", ch);
     return;
     }
}

ACMD(do_suicide)
{
  if (PLR_FLAGGED(ch, PLR_KILLER)) {
     send_to_char("&15You have a desire to kill all in the arena, suicide is not on your mind&11!&00\r\n", ch);
     return;
    }
  if (ROOM_FLAGGED(ch->in_room, ROOM_NOQUIT))
      {
      send_to_char("You cannot kill yourself here!\r\n", ch);
    return;
     }
  if (GET_GOLD(ch) <= 49999) {
   send_to_char("&15You do not have enough money to ensure you will\r\nkeep your body in the afterlife.&00\r\n", ch);
   return;
  }
  if (GET_GOLD(ch) >= 50000) {
   send_to_char("&15After praying over your money, the gods accept the sacrifice.\r\nThe money disappears in a cloud of smoke. Smiling afterwards, you\r\ndraw your knife and stab yourself in the gut. You slowly bleed to\r\ndeath as you fade from this life.\r\n", ch); 
   GET_GOLD(ch) -= 50000;
   sprintf(buf2, "&16[&09SUICIDE&16] &14%s &15dies, having commited suicide.&00\r\n", GET_NAME(ch));
   send_to_all(buf2);
   char_from_room(ch);
   char_to_room(ch, r_death_start_room);
   GET_POS(ch) = POS_STANDING;
   look_at_room(ch, 0);
   return;
  }
}

ACMD(do_trade)
{
  struct char_data *victim;
  int value = 0;

  half_chop(argument, buf, buf1);
  value = atoi(buf1);  
  if (!*buf) {
   send_to_char("Who do you wish to trade Truth Points with?\r\n", ch);
   return;
  }
  if (!(victim = get_char_room_vis(ch, buf))) {
      send_to_char("Trade with who?\r\n", ch);
      return;
  }
  if (victim == ch) {
   send_to_char("You do not need to trade with yourself...\r\n", ch);
   return;
  }
  if (!*buf1) {
   send_to_char("You need to specify an amount to trade.\r\n", ch);
   return;
  }
  if (GET_ALIGNMENT(ch) < value) {
     send_to_char("You do not have that many Truth Points!", ch);
     return;
   }
  if (GET_ALIGNMENT(ch) >= value) {
   sprintf(buf2, "&16[&10TP&16] &14%s &15has traded &09%s &12%d &15Truth Points&00\r\n", GET_NAME(ch), GET_NAME(victim), value);
   send_to_all(buf2);
   GET_ALIGNMENT(ch) -= value;
   GET_ALIGNMENT(victim) += value;
    if (GET_ALIGNMENT(ch) < 0) {
     GET_ALIGNMENT(ch) = 0;
    }
   return;
  }
}

ACMD(do_password)
{
  one_argument(argument, arg);
  
   if (IS_NPC(ch)) {
     send_to_char("Mobs do not HAVE passwords you crazy digital being.\r\n", ch);
     return;
   }
   if (!*arg) {
     sprintf(buf, "&15Your current password is &16[&11%s&16]&00\r\n", GET_PASSWD(ch));
     send_to_char(buf, ch);
     return;
    }
  else if (GET_LEVEL(ch) >= 2 && !IS_NPC(ch)) {
   strncpy(GET_PASSWD(ch), CRYPT(arg, GET_NAME(ch)), MAX_PWD_LENGTH);
   *(GET_PASSWD(ch) + MAX_PWD_LENGTH) = '\0';
   sprintf(buf, "&15Password changed to &16[&11%s&16]&00", GET_PASSWD(ch));
   send_to_char(buf, ch);
  }
}

ACMD(do_bounty)
{
  struct char_data *victim;
  struct descriptor_data *i;

    one_argument(argument, arg);

    if (!*arg) {
      send_to_char("Who is it that you wish to place a bounty on?\r\n", ch);
      return;
    }
    for (i = descriptor_list; i; i = i->next) {
      if (!i->connected && i->character && i->character != ch) {
        victim = i->character;
        if (!(victim = get_char_vis(ch, arg))) {
          send_to_char(NOPERSON, ch);
          return;
        }
        if (victim == ch) {
          send_to_char("You want to place a bounty on yourself? Nah.\r\n", ch);
          return;
        }
        if (GET_LEVEL(victim) >= LVL_IMMORT) {
          send_to_char("Let's just call that person 'priviledged', okay?\r\n", ch);
          return;
        }
        if (IS_NPC(victim)) {
          send_to_char("Not on mobs!", ch);
          return;
        }
        if (GET_MAX_HIT(victim) <= 24999 && !IS_NPC(ch)) {
          send_to_char("You can't place bounties on players under power"
                       "level of 25k.\r\n", ch);
          return;
        }
        if (GET_GOLD(ch) < 250000) {
          send_to_char("You do not have the funds to place a bounty upon them.\r\n"
                       "The cost to place a bounty is 250,000 gold.\r\n", ch);
          return;
        }
        if (PLR_FLAGGED(victim, PLR_icer)) {
          send_to_char("That person already has a bounty on them.\r\n", ch);
          return;
        } else
          SET_BIT(PLR_FLAGS(victim), PLR_icer);
          GET_GOLD(ch) = GET_GOLD(ch) - 250000;
          send_to_char("You pay the 250,000 gold to place the bounty.\r\n", ch);
          send_to_char("A bounty has been placed upon your head - watch your "
                       "back!\r\n", victim);
          sprintf (buf, "\r\n&14BOUNTY&11::&15 A bounty has been placed upon &09%s&15's "
                        "life by &12%s&15!\r\n", GET_NAME(victim), GET_NAME(ch));
          send_to_all(buf);
          return;
       }
     }
   return;
}



ACMD(do_quote)
{
   struct descriptor_data *pt;
    skip_spaces(&argument);
    delete_doubledollar(argument);
    DYN_DEFINE;
    DYN_CREATE;
    *dynbuf = 0;

        for (pt = descriptor_list; pt; pt = pt->next){
                if (STATE(pt) == CON_PLAYING && pt->character && !IS_NPC(pt->character)){
              if (!*argument) {
              send_to_char("What do you want to say on your race channel???\r\n", ch);
              return;
              }
              if (GET_MAX_HIT(ch) <= 999) {
              send_to_char("You must be at least 1k powerlevel to use this channel.", ch);
              return;
              }
              if (ROOM_FLAGGED(ch->in_room, ROOM_SOUNDPROOF)) {
               send_to_char("The walls absorb your words!", ch);
               return;
              }
              if (PLR_FLAGGED(ch, PLR_NOSHOUT)) {
               send_to_char("You can't use this channel when muted!\r\n", ch);
               return;
              }
                if (GET_ADD(ch) >= 30) {
                 sprintf(buf2, "&16[&14FROZEN&16] &12%s &15has been frozen for spamming&00.\r\n", GET_NAME(ch));
                 send_to_all(buf2);
                 SET_BIT(PLR_FLAGS(ch), PLR_FROZEN);
                 GET_FREEZE_LEV(ch) = 1000000;
                 GET_ADD(ch) = 0;
                 return;
                }
              else {
               sprintf(buf, "&15%s &16(&10Quote&16)&00&07's, '&15%s&00&07'&00\r\n", GET_NAME(ch), argument);
               if (!ROOM_FLAGGED(pt->character->in_room, ROOM_SOUNDPROOF) && GET_NAME(pt->character) != GET_NAME(ch)) {
                send_to_char(buf, pt->character);
               }
              }

   }
  }
               sprintf(buf1, "&15You &16(&10Quote&16)&00&07, '&15%s&00&07'&00\r\n", argument);
               send_to_char(buf1, ch);
               GET_ADD(ch
}
ACMD(do_roleplay)
{
   struct descriptor_data *pt;
    skip_spaces(&argument);
    delete_doubledollar(argument);
        for (pt = descriptor_list; pt; pt = pt->next){
                if (STATE(pt) == CON_PLAYING && pt->character && !IS_NPC(pt->character)){
              if (!*argument) {
              send_to_char("What do you want to say on your race channel???\r\n", ch);
              return;
              }
              if (GET_MAX_HIT(ch) <= 999) {
              send_to_char("You must be at least 1k powerlevel to use this channel.", ch);
              return;
              }
              if (ROOM_FLAGGED(ch->in_room, ROOM_SOUNDPROOF)) {
               send_to_char("The walls absorb your words!", ch);
               return;
              }
              if (PLR_FLAGGED(ch, PLR_NOSHOUT)) {
               send_to_char("You can't use this channel when muted!\r\n", ch);
               return;
              }
              if (!PRF_FLAGGED(ch, PRF_QUEST)) {
               send_to_char("You need to type rp to join the channel first!", ch);
               return;
              }
              if (PRF_FLAGGED(ch, PRF_NOGOSS)) {
               send_to_char("You have no roleplay turned on!", ch);
               return;
              }
                if (GET_ADD(ch) >= 30) {
                 sprintf(buf2, "&16[&14FROZEN&16] &12%s &15has been frozen for spamming&00.\r\n", GET_NAME(ch));
                 send_to_all(buf2);
                 SET_BIT(PLR_FLAGS(ch), PLR_FROZEN);
                 GET_FREEZE_LEV(ch) = 1000000;
                 GET_ADD(ch) = 0;
                 return;
                }
              else {
               sprintf(buf, "&15%s &16(&14Roleplay&16)&00&07's, '&15%s&00&07'&00\r\n", GET_NAME(ch), argument);
               if (!ROOM_FLAGGED(pt->character->in_room, ROOM_SOUNDPROOF) && PRF_FLAGGED(pt->character, PRF_QUEST) && !PRF_FLAGGED(pt->character, PRF_NOGOSS) && GET_NAME(pt->character) != GET_NAME(ch)) {
                send_to_char(buf, pt->character);
               }
              }

   }
  }
               sprintf(buf1, "&15You &16(&14Roleplay&16)&00&07's, '&15%s&00&07'&00\r\n", argument);
               send_to_char(buf1, ch);
               GET_ADD(ch) += 1;
}

ACMD(do_race)
{
   struct descriptor_data *pt;
    skip_spaces(&argument);
    delete_doubledollar(argument);
        for (pt = descriptor_list; pt; pt = pt->next){
                if (STATE(pt) == CON_PLAYING && pt->character && !IS_NPC(pt->character)){
              if (!*argument) {
              send_to_char("What do you want to say on your race channel???\r\n", ch);
              return;
              }
              if (GET_MAX_HIT(ch) <= 999) {
              send_to_char("You must be at least 1k powerlevel to use this channel.", ch);
              return;
              }
              if (ROOM_FLAGGED(ch->in_room, ROOM_SOUNDPROOF)) {
               send_to_char("The walls absorb your words!", ch);
               return;
              }
              if (PLR_FLAGGED(ch, PLR_NOSHOUT)) {
               send_to_char("You can't use this channel when muted!\r\n", ch);
               return;
              }
                if (GET_ADD(ch) >= 30) {
                 sprintf(buf2, "&16[&14FROZEN&16] &12%s &15has been frozen for spamming&00.\r\n", GET_NAME(ch));
                 send_to_all(buf2);
                 SET_BIT(PLR_FLAGS(ch), PLR_FROZEN);
                 GET_FREEZE_LEV(ch) = 1000000;
                 GET_ADD(ch) = 0;
                 return;
                }
              else {
               sprintf(buf, "&14%s &16(&09race&16)&00&07's, '&15%s&00&07'&00\r\n", GET_NAME(ch), argument);
               if (!ROOM_FLAGGED(pt->character->in_room, ROOM_SOUNDPROOF) && GET_CLASS(pt->character) == GET_CLASS(ch) && GET_NAME(pt->character) != GET_NAME(ch)) {
                send_to_char(buf, pt->character);
               }
              }

   }
  }
               sprintf(buf1, "&15You &16(&09race&16)&00&07's, '&15%s&00&07'&00\r\n", argument);
               send_to_char(buf1, ch);
               GET_ADD(ch) += 1;
}
ACMD(do_clan)
{
   struct descriptor_data *pt;
    skip_spaces(&argument);
    delete_doubledollar(argument);
        for (pt = descriptor_list; pt; pt = pt->next){
                if (STATE(pt) == CON_PLAYING && pt->character && !IS_NPC(pt->character)){
             if (GET_CLAN(ch) <= 0) {
              send_to_char("You do not have a clan scouter\r\n", ch);
              return;
             }
             if (!*argument) {
              send_to_char("What do you want to say on your clan channel???\r\n", ch);
              return;
              }
             if (GET_ADD(ch) >= 30) {
                 sprintf(buf2, "&16[&14FROZEN&16] &12%s &15has been frozen for spamming&00.\r\n", GET_NAME(ch));
                 send_to_all(buf2);
                 SET_BIT(PLR_FLAGS(ch), PLR_FROZEN);
                 GET_FREEZE_LEV(ch) = 1000000;
                 GET_ADD(ch) = 0;
                 return;
                }
             else {
               sprintf(buf, "&14%s &16(&12clan&16)&00&07's, '&10%s&00&07'&00\r\n", GET_NAME(ch), argument);
               if (GET_CLAN(pt->character) == GET_CLAN(ch) && GET_NAME(pt->character) != GET_NAME(ch)) {
                send_to_char(buf, pt->character);
               }
              }
             
   } 
  }
               sprintf(buf1, "&15You &16(&12clan&16)&00&07's, '&10%s&00&07'&00\r\n", argument);
               send_to_char(buf1, ch);
               GET_ADD(ch) += 1;
}

ACMD(do_scouter) {

  struct char_data * vict;
  one_argument(argument, arg);

  if (!GET_EQ(ch, WEAR_SHIELD)) {
    send_to_char("You need to wear a scouter to scout someone's power.\r\n", ch);
    return;
  }

  if (!(vict = get_char_room_vis(ch, arg))) {
      send_to_char("Scout who's power?\r\n", ch);
      return;
    }
  else {
act("&10 _____________________     &00", FALSE, ch, 0, vict, TO_CHAR);
act("&10//&20                    &00", FALSE, ch, 0, vict, TO_CHAR);
act("&10|]&20                    &00", FALSE, ch, 0, vict, TO_CHAR);
act("&10|]&20                    &00", FALSE, ch, 0, vict, TO_CHAR);
act("&10|]&20&09Loading&16...       &10   &00", FALSE, ch, 0, vict, TO_CHAR);
act("&10|]&20                    &00", FALSE, ch, 0, vict, TO_CHAR);
act("&10|]&20____________________&00  ", FALSE, ch, 0, vict, TO_CHAR);
act("&09...................... []&00", FALSE, ch, 0, vict, TO_CHAR);
    sprintf(buf, "&10PL&15: &11%d&15&00\r\n", GET_HIT(vict));
     send_to_char(buf, ch);
    sprintf(buf, "&10Ki&15: &11%d&15&00\r\n", GET_MANA(vict));
     send_to_char(buf, ch);
   if (!IS_NPC(vict)) {
    sprintf(buf, "&10Str&15: &11%d&15&00\r\n", GET_STR(vict));
     send_to_char(buf, ch);
    sprintf(buf, "&10Con&15: &11%d&15&00\r\n", GET_CON(vict));
     send_to_char(buf, ch);
    sprintf(buf, "&10Int&15: &11%d&15&00\r\n", GET_INT(vict));
     send_to_char(buf, ch);
    sprintf(buf, "&10Wis&15: &11%d&15&00\r\n", GET_WIS(vict));
     send_to_char(buf, ch);
    sprintf(buf, "&10Dex&15: &11%d&15&00\r\n", GET_DEX(vict));
     send_to_char(buf, ch);
    sprintf(buf, "&10Speed&15: &11%d&15&00\r\n", GET_RAGE(vict));
     send_to_char(buf, ch);
    }
   act("&14$n&15 points their scouter at you, and pushes a button.&00\r\n", FALSE, ch, 0, vict, TO_VICT);
   act("&14$n&15 points their scouter at &09$N&15 and pushes a button.&00\r\n", FALSE, ch, 0, vict, TO_NOTVICT);
   WAIT_STATE(ch, PULSE_VIOLENCE * .5);
 }
}

ACMD(do_skanassan)
{

int MAX_MANA = 0, MAX_HIT = 0;

    one_argument(argument, arg);
    WAIT_STATE(ch, PULSE_VIOLENCE * .5);
    if ((!IS_KANASSAN(ch)))
    {
      act("&15You're not a Kanassan&11!&00", TRUE, ch, 0, 0, TO_CHAR);
      return;
    }
   else if (!*argument)
    {
act("&10o&12---------------&11[&14Super Kanassan &09Forms&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &15Stage     Powerlevel Req.", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Skanassan first     &121000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Skanassan second   &1222000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10All PL Req. go off base pl.&00", TRUE, ch, 0, 0, TO_CHAR);
act("&10o&12---------------&11[&14Super Kanassan &09forms&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
}

if (!str_cmp(arg,"second") && !PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
/*-------------------------------------------------------------------------------------*/
/*----------------------------------  Reverting  --------------------------------------*/

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans2)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(34000000, 34000000);
  MAX_MANA = number(34000000, 34000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &16SKanassan&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &16SKanassan&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans1)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(4000000, 4000000);
  MAX_MANA = number(4000000, 4000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;

  act("&15$n reverts from $s form of &14SKanassan&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &14SKanassan&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
if (!str_cmp(arg,"firzt") && PLR_FLAGGED(ch, PLR_trans1)) {
  send_to_char("&15You are already in that form!&00\r\n", ch);
  return;
  }
  if (!str_cmp(arg,"first") && PLR_FLAGGED(ch, PLR_trans1)) {
   act("&15Your already in that form of &16SKanassan!&00", TRUE, ch, 0, 0, TO_CHAR);
   return;
  }
if (!str_cmp(arg,"first") && GET_MAX_HIT(ch) <= 999999) {
  act("&15You do not have the power to attain that form of &16SKanassan!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"first") && GET_MAX_HIT(ch) > 999999) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(4000000, 4000000);
  MAX_MANA = number(4000000, 4000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&15The area around you begins to &00&03q&16u&15a&00&03k&16e&15, the &00&02e&10a&11r&00&03t&00&02h&15 cracking beneath your feet. You feel your &11a&00&03u&15r&00a&15 explode from your body as if it were part of you. Chunks of &00&03s&16t&15o&00n&03e&15 and rocks float into the air, surrounding your body as a great rushing as heard. Your &14s&00&06c&16al&00&06e&14s&15 begin to grow hard, lengthening and turning a &12d&00&04a&16r&15k &00&02g&10r&15e&10e&00&02n&15 shade. &14W&12a&00&06t&12e&14r&15 begins exploding from the cracks around you as your aura turns into a hazy teal color. You have achieved &11S&00&03u&15p&00&03e&11r &12K&00&04a&00&06n&14as&00&06s&00&04a&12n &16F&15i&00r&14s&00&06t&15!&00", FALSE, ch, 0, 0, TO_CHAR);
  act("&15The area around you begins to &00&03q&16u&15a&00&03k&16e&15, the &00&02e&10a&11r&00&03t&00&02h&15 cracking beneath your feet. Chunks of &00&03s&16t&15o&00n&03e&15 and rocks float into the air, surrounding your body as a great rushing as heard. $n&15's &14s&00&06c&16al&00&06e&14s&15 begin to grow hard, lengthening and turning a &12d&00&04a&16r&15k &00&02g&10r&15e&10e&00&02n&15 shade. &14W&12a&00&06t&12e&14r&15 begins exploding from the cracks around $n&15's as thier aura turns into a hazy teal color. They have achieved &11S&00&03u&15p&00&03e&11r &12K&00&04a&00&06n&14as&00&06s&00&04a&12n &16F&15i&00r&14s&00&06t&15!&00", FALSE, ch, 0, 0, TO_ROOM);
  }

 if (!str_cmp(arg,"second") && PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15Your already in that form of &16SKanassan!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
if (!str_cmp(arg,"second") && GET_MAX_HIT(ch) - 1000000 <= 24000000) {
  act("&15You do nthe power to attain that form of &16SKanassan!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"second") && GET_MAX_HIT(ch) - 1000000 >= 24000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans2);

  MAX_HIT = number(30000000, 30000000);
  MAX_MANA = number(30000000, 30000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&15Your body screams in &11p&09a&00&01i&03n&15, sending you to your knees. Your &14s&00&06c&16al&00&06e&14s&15 lengthen and sharpen, while turning a dark o&16ny&15x shade. Your &14s&00&06c&16al&00&06e&14s&15 turn hard, like armor plating, as the ground beneath you begins to &00&03q&16u&15a&00&03k&16e&15. The ground breaks away as you stand, a large, sharp &10f&00&06i&10n&15 exploding from your back as a &00g&14e&00&06ys&14e&00r&15 of &14w&12a&00&06t&12e&14r&15 surrounds you, crackling with &16b&15l&00a&16c&15k &00el&15e&11c&00&03tri&11c&15i&00ty&15. You have achieved &11S&00&03u&15p&00&03e&11r &12K&00&04a&00&06n&14as&00&06s&00&04a&12n &10S&00&02e&00&06co&00&02n&10d&15!&00", FALSE, ch, 0, 0, TO_CHAR);
  act("&15$n&15's body starts to crackle with &00e&14n&00&06er&14g&00y&15, a scream escaping them as they  fall to there knees. You notice there scales change and grow, turning a dark shade. The scales turn shiny as the ground begins to shake beneath your feet. As $n begins to stand, the ground breaks away around them and a massive  &00g&14e&00&06ys&14e&00r&15 of &14w&12a&00&06t&12e&14r&15 explodes from the ground, crackling with &16b&15l&00a&16c&15k &00el&15e&11c&00&03tri&11c&15i&00ty&15. They have achieved &11S&00&03u&15p&00&03e&11r &12K&00&04a&00&06n&14as&00&06s&00&04a&12n &10S&00&02e&00&06co&00&02n&10d&15!&00", FALSE, ch, 0, 0, TO_ROOM);
  return;
 }
}
ACMD(do_training) { 


  one_argument(argument, arg);

  if (!*argument) {
    send_to_char("&15Training Flags you on who so people know you are training and do not wish to be bothered.\r\n&11Syntax&16: &15training &00&06(&14yes&00&06/&14no&00&06)&00\r\n", ch);
    return;
   }
  if (!IS_NPC(ch)) {
  if (!str_cmp(arg,"yes") && !PRF_FLAGGED(ch, PRF_TRAINING)) {
     send_to_char("&15You announce you are ready to train hard!&00", ch);
     SET_BIT(PRF_FLAGS(ch), PRF_TRAINING);
     return;
    }
  else if (!str_cmp(arg,"no") && PRF_FLAGGED(ch, PRF_TRAINING)) {
     send_to_char("&15You remove the training flag.&00", ch);
     REMOVE_BIT(PRF_FLAGS(ch), PRF_TRAINING);
     return;    
    }
   }
}

ACMD(do_mindread)
{
   struct char_data * vict;

   if (!GET_SKILL(ch, SKILL_MINDREAD)) {
    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("&15Not enough mana to mind read right now....&00", ch);
    return;
   }
   one_argument(argument, arg);
   
   if (!*argument) {
   send_to_char("&15You need to target a player to mindread.", ch);
   return;
   }

   if (!(vict = get_char_room_vis(ch, arg))) {
      send_to_char("Read whom's mind?\r\n", ch);
      return;
    }
   else
   if (vict == ch) {
    send_to_char("Just type score for yourself....\r\n", ch);
    return;
   }
   if (IS_KAI(vict)) {
    send_to_char("You can't read a kai.\r\n", ch);
    return;
    }
   if (IS_NPC(vict)) {
    send_to_char("You can not use that on mobiles!", ch);
    return;
   }
   if (GET_INT(vict) >= GET_INT(ch) * 2) {
    sprintf(buf2, "&14%s &15just read your mind, and you managed a glimpse into their's.&00\r\n", GET_NAME(ch));
    sprintf(buf1, "&11Gold&15: &15%d &16| &10Lp&15: %d &16| &12Intelligence&15: %d &16| &09Constitution&15: %d &16| &14Wisdom&15: %d&00\r\n", GET_GOLD(ch), GET_PRACTICES(ch), GET_INT(ch), GET_CON(ch), GET_WIS(ch));
    send_to_char(buf2, vict);
    send_to_char(buf1, vict);
   }
   else if (GET_INT(vict) >= GET_INT(ch) && GET_INT(vict) < GET_INT(ch) * 2) {
   sprintf(buf1, "&14%s &15just read your mind....&00\r\n", GET_NAME(ch));
    send_to_char(buf1, vict);
   }
   else if (GET_INT(vict) < GET_INT(ch) && GET_INT(vict) >= GET_INT(ch) / 2) {
   send_to_char("&15Someone just read your mind.&00\r\n", vict);
   }

   sprintf(buf,"                    &16[&14Information for&16:&00 &15%s&16]&00\r\n", GET_NAME(vict));
   sprintf(buf, "%s&15o&00&06=------------------------------------------------------------=&15o&00\r\n", buf); sprintf(buf, "%s&00&06|&10Race:&00 %s     \r\n&00&06|&10Sex: &00 ", buf,
               CLASS_ABBR(vict));
  switch (GET_SEX(vict)) {
    case SEX_MALE: strcat(buf, "&12Male&00\r\n"); break;
    case SEX_FEMALE: strcat(buf, "&13Female&00\r\n"); break;
    case SEX_NEUTRAL: strcat(buf, "&10Neutral&00\r\n"); break;
   }
  if (GET_INT(ch) >= number(1, 40)) {
  sprintf(buf, "%s&00&06|&10Powerlevel&15: &15%d&12/&15%d&00\r\n", buf, GET_HIT(vict), GET_MAX_HIT(vict));
  sprintf(buf, "%s&00&06|&10Ki&15:         &15%d&12/&15%d&00\r\n", buf, GET_MANA(vict), GET_MAX_MANA(vict));
  if (IS_Namek(vict) || IS_KAI(vict) || IS_MAJIN(vict)) {
   sprintf(buf, "%s&00&06|&14Spirit&15:     &15%d&12/&1520000&00\r\n", buf, GET_HOME(vict));
   }
   }
   sprintf(buf, "%s&00&06|&00&06=------------------------------------------------------------=&15o&00\r\n", buf);
  if (GET_INT(ch) >= number(1, 50)) {
  sprintf(buf, "%s&00&06|&12Strength&15:           &00 &16[&15%d&16]&00 &12Dexterity&15:       &00 &16[&15%d&16]&00\r\n", buf, GET_STR(vict), GET_DEX(vict));
  sprintf(buf, "%s&00&06|&12Upper Body Strength&15:&00 &16[&15%d&16]&00 &12Constitution&15:    &00 &16[&15%d&16]&00\r\n", buf, GET_UBS(vict), GET_CON(vict));
  sprintf(buf, "%s&00&06|&12Lower Body Strength&15:&00 &16[&15%d&16]&00 &12Hitroll&15:         &00 &16[&15%d&16]&00\r\n", buf, GET_LBS(vict), (vict)->points.hitroll);
  if (GET_WIS(vict) >= 100)
   sprintf(buf, "%s&00&06|&12Wisdom&15:&00              &16[&15%d&16]&00 &12Damroll&15:         &00 &16[&15%d&16]&00\r\n", buf,  GET_WIS(vict), (vict)->points.damroll);
  else
   sprintf(buf, "%s&00&06|&12Wisdom&15:&00              &16[&15%d&16]&00 &12Damroll&15:         &00 &16[&15%d&16]&00\r\n", buf,  GET_WIS(vict), (vict)->points.damroll); 
  if (GET_INT(vict) >= 100)
   sprintf(buf, "%s&00&06|&12Intelligence&15:&00        &16[&15%d&16]&00 &12Speed&15:           &00 &16[&15%d&16]&00\r\n", buf, GET_INT(vict), GET_RAGE(vict));
  else
    sprintf(buf, "%s&00&06|&12Intelligence&15:&00        &16[&15%d&16]&00 &12Speed&15:            &00 &16[&15%d&16]&00\r\n", buf, GET_INT(vict), GET_RAGE(vict));
  sprintf(buf, "%s&00&06|&12Age&15:&00                 &16[&15%d&16]&00 &09PKs&15:             &00 &16[&15%d&16]&00\r\n", buf, GET_AGE(vict), GET_HEIGHT(vict));
  if (GET_CHA(vict) >= 100)
   sprintf(buf, "%s&00&06|&12Intuition&15:&00           &16[&15%d&16]&00 &00&01P.Deaths&15:        &00 &16[&15%d&16]&00\r\n", buf, GET_CHA(vict), GET_WEIGHT(vict));
  else
   sprintf(buf, "%s&00&06|&12Intuition&15:&00           &16[&15%d&16]&00 &00&01P.Deaths&15:        &00 &16[&15%d&16]&00\r\n", buf, GET_CHA(vict), GET_WEIGHT(vict));
  }
  sprintf(buf, "%s&00&06|&00&06=------------------------------------------------------------=&15o&00\r\n", buf);
  if (GET_INT(ch) >= number(1, 45)) {
  sprintf(buf, "%s&00&06|&14Zenni Carried&15: &00  &16[&11%d&16]&00\r\n", buf, GET_GOLD(vict));
  sprintf(buf, "%s&00&06|&14Zenni In bank&15: &00  &16[&11%d&16]&00\r\n", buf, GET_BANK_GOLD(vict));
  sprintf(buf, "%s&00&06|&14Zenni Total&15: &00    &16[&11%d&16]&00\r\n", buf, GET_BANK_GOLD(vict) + GET_GOLD(vict));
  sprintf(buf, "%s&00&06|&00&06Experience&15:&00      &16[&15%Ld&16]&00\r\n", buf, GET_EXP(vict));
  sprintf(buf, "%s&00&06|&00&06Experience TNB&15:&00  &16[&15%Ld&16]&00\r\n", buf, GET_LEVEL(vict)*2000);
  /*sprintf(buf, "%s&00&06|&10Reincarnations&15: &00  &16[&11%d&16]&00\r\n", buf, 
GET_REINC(vict));*/
  sprintf(buf, "%s&00&06|&12T&00&07r&00&06u&00&07t&12h &00&05Points&15:&00 &16[&15%d&16]&00      &12Learning &00&06Points&15: &00  &16[&11%d&16]&00\r\n", buf, GET_ALIGNMENT(vict), GET_PRACTICES(vict));
  sprintf(buf, "%s&00&06|&14Years&15: &16[&15%d&16] &14Weeks&15:&16 [&15%d&16] &14Days&15:&16 [&15%d&16] &14Hours&15:&16 [&15%d&16] &14Minutes&15:&16 [&15%d&16]&00\r\n", buf, vict->player.time.played / 31536000, ((vict->player.time.played % 31536000) / 604800), ((vict->player.time.played % 604800) / 86400), ((vict->player.time.played % 86400) / 3600), ((vict->player.time.played % 3600) / 60));
  }
  sprintf(buf, "%s&15o&00&06=------------------------------------------------------------=&15o&00\r\n", buf);
  GET_MANA(ch) -= GET_MAX_MANA(ch) / 30;
  send_to_char(buf, ch);
}



ACMD(do_majinyes)
{
 one_argument(argument, arg);
  
  if (!*argument) {
   send_to_char("&15Type allow yes to allow a majin to majinize you. Be careful though, once majinized there is no going back.&00", ch);
   return;
   }
  if (!str_cmp(arg,"yes") && !PLR_FLAGGED(ch, PLR_MAJINIZE)) {
   send_to_char("&15You now accept majinization!&00", ch);
   REMOVE_BIT(PLR_FLAGS(ch), PLR_NOMAJIN);
   return;
   }
}
ACMD(do_majinize)
{
  struct char_data * vict;

  if (!GET_SKILL(ch, SKILL_MAJIN)) {
   send_to_char("You can't do that!\r\n", ch);
   return;
  }
  one_argument(argument, arg);

  if (!*argument) {
   send_to_char("&15You need to target a player to majinize.", ch);
   return;
   }
   if (!(vict = get_char_room_vis(ch, arg))) {
      send_to_char("Majinize who?\r\n", ch);
      return;
    }
  else
   if (vict == ch) {
    send_to_char("No using it on yourself!\r\n", ch);
    return;
   }
   if (GET_MAX_HIT(vict) >= 15000000) {
    send_to_char("They are too strong to majinize!", ch);
    return;
   }
   if (PLR_FLAGGED(vict, PLR_NOMAJIN)) {
    send_to_char("They are not set to accept majinizing right now.", ch);
    return;
    }
   if (PLR_FLAGGED(vict, PLR_MAJINIZE)) {
    send_to_char("They already are being boosted by a majin!", ch);
    return;
    }
   if (IS_MAJIN(vict)) {
    send_to_char("You can't majinize fellow majins!", ch);
    return;
   }
   if (GET_HOME(ch) <= 4999) {
    send_to_char("You do not have enough spirit to majinize!", ch);
    return;
   }
   if (GET_HOME(ch) >= 5000) {
    act("&15You grin as you hold your hands out towards &14$N&15, &00&05dark &10energy &15flows from your hands and courses through &14$N's &15body. After a moment an &13M&15 appears on their forhead as their power is boosted by your own.&00", FALSE, ch, 0, vict, TO_CHAR);
    act("&14$n &15grins as $e holds $s hands out towards &14$N&15, &00&05dark &10energy &15flows from $n's hands and courses through &10$N's &15body. After a moment an &13M&15 appears on $N's forhead as their power is boosted by &14$n's&15 own.&00", FALSE, ch, 0, vict, TO_NOTVICT);
    act("&14$n &15grins as $e holds $s hands out towards you&15, &00&05dark &10energy &15flows from $n's hands and courses through your &15body. After a moment an &13M&15 appears on your forhead as your power is boosted by &14$n's&15 own.&00", FALSE, ch, 0, vict, TO_VICT);
    SET_BIT(PLR_FLAGS(vict), PLR_MAJINIZE);
    GET_MAX_HIT(vict) += 2000000;
    GET_MAX_MANA(vict) += 2000000;
    GET_HOME(ch) -= 5000;
    return;
    }
}
ACMD(do_potential)
{

 struct char_data * vict;

  if (!GET_SKILL(ch, SKILL_POTENTIAL)) {
   send_to_char("You can't do that!\r\n", ch);
   return;
  }

 one_argument(argument, arg);
  
  if (!*argument) {
   send_to_char("&15You need to target a player to increase.", ch);
   return;
   }

  if (!(vict = get_char_room_vis(ch, arg))) {
      send_to_char("Raise who's power?\r\n", ch);
      return;
    }
 else
  if (vict == ch) {
    send_to_char("No using it on yourself!\r\n", ch);
    return;
  }
  if (GET_MAX_HIT(vict) < GET_MAX_HIT(ch) /10) {
    send_to_char("They are too weak!", ch);
    return;
   }
  if (PLR_FLAGGED(vict, PLR_MAJINIZE)) {
    send_to_char("You can't release the potential of a majinized person!", ch);
    return;
    }
  if (IS_ANDROID(vict)) {
    send_to_char("You can't release the potential of a artificial being!", ch);
    return;
   }

  if (GET_HOME(ch) <= 999) {
   send_to_char("You do not have enough spirit to use this technique! You need at least 1000 spirit per increase", ch);
   return;
   }
  if (GET_MAX_HIT(vict) <= 1999999) {
   send_to_char("They need to grow past 2mil powerlevel before their potential can be released.....\r\n", ch);
   return;
   }

  if (GET_HOME(ch) >= 1000 && GET_MAX_HIT(vict) >= 2000000) {
   act("&15You place your hand on &14$N's &15head, suddenly as you concentrate a beam of light invelopes them. Moments later their newly released power rushes outward.", FALSE, ch, 0, vict, TO_CHAR);
   act("&14$n &15places $s hand on &14$N's &15head, suddenly as $e concentrates a beam of light invelopes $n. Moments later their newly released power rushes outward.", FALSE, ch, 0, vict, TO_NOTVICT); 
   act("&14$n &15places $s hand on your head, suddenly as $e concentrates a beam of light invelopes you. Moments later your newly released power rushes outward.", FALSE, ch, 0, vict, TO_VICT);
   sprintf(buf, "&16[&14Potential &10Release&11: &09Pl&11: &15%d &12Ki&11: &15%d&16]", GET_MAX_HIT(ch) / 100, GET_MAX_MANA(ch) / 100);
   send_to_char(buf, vict);
   GET_MAX_HIT(vict) += GET_MAX_HIT(ch) / 100;
   GET_MAX_MANA(vict) += GET_MAX_MANA(ch) / 100;
   GET_HOME(ch) -= 1000;
   return;
   }
}
/*ACMD(do_reincarnate)
{
 if (GET_LEVEL(ch) >= 1000000) {
   send_to_char("You are an immortal dumbass! No reincarnating!\n", ch);
   return;
  }
 if (IS_saiyan(ch)) {
  send_to_char("Yeah right, don't make us take away your saiyan, ass.\n", ch);
  return;
  }

 one_argument(argument, arg);
  if (PLR_FLAGGED(ch, PLR_trans1) || PRF_FLAGGED(ch, PRF_MYSTIC2)) {
   act("&15You can't reincarnate while in a transformation!!&00\n", TRUE, ch, 0, 0, TO_CHAR);
   return;
  }
  if (!*argument) {
   send_to_char("&15Choose carefully, and type reincarnate plus the race you wish to be. Once you\rdecide, that will be that, no going back.&00\n", ch);
   return;
   }
  if (GET_GOLD(ch) <= 1999999) {
  act("&15You need 2000000 zenni before the gods will hear your plea for reincarnation!&00\n", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 if (!str_cmp(arg,"human") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_Human;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a\r %s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"namek") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_Namek;
  GET_SEX(ch) = SEX_NEUTRAL;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"truffle") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_TRUFFLE;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"kai") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_KAI;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"konatsu") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_KONATSU;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"mutant") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_MUTANT;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"demon") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_demon;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"bioandroid") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_CLASS(ch) = CLASS_BIODROID;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"halfbreed") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_HALF_BREED;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"android") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_ANDROID;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"majin") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_MAJIN;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
 if (!str_cmp(arg,"icer") && GET_GOLD(ch) >= 2000000) {
  send_to_char("&15You feel strange as you are immersed in &00&07light&15!\n", ch);
  GET_PRACTICES(ch) = 0;
   if (GET_WIS(ch) >= 25) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 7;
   }
   else if (GET_WIS(ch) >= 20) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 5;
   }
   else if (GET_WIS(ch) >= 15) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 3;
   }
   else if (GET_WIS(ch) >= 10) {
   GET_PRACTICES(ch) = GET_LEVEL(ch) * 2;
   }
  if (PLR_FLAGGED(ch, PLR_MAJINIZE)) {
    REMOVE_BIT(PLR_FLAGS(ch), PLR_MAJINIZE);
    }
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) / 4;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) / 4;
  GET_LEVEL(ch) = GET_LEVEL(ch) / 4;
  GET_EXP(ch) = GET_EXP(ch) / 4;
  GET_GOLD(ch) -= 2000000;
  GET_REINC(ch) += 1;
  GET_CLASS(ch) = CLASS_icer;
  act("&14$n &15is suddenly surrounded by &11bright &00&07light&15, when the light disappears they are gone!&00\n", FALSE, ch, 0, 0, TO_NOTVICT);
  sprintf(buf, "&16[&11Reincarnation&16] &15The gods listened to &14%s &15and have reincarnated them into a \r%s&00\n", GET_NAME(ch), CLASS_ABBR(ch));
  char_from_room(ch);
  char_to_room(ch, r_death_start_room);
  send_to_all(buf);
  look_at_room(ch, 0);
  return;
 }
}*/

ACMD(do_lp)
{
  int add_num = 0, num = 0;
  one_argument(argument, arg);
  
 
  add_num += number(GET_CHA(ch) * 50, GET_CHA(ch) * 100);
  if (!IS_NPC(ch) && GET_ADD(ch) >= 1) {
   GET_ADD(ch) -= 2;
  }
  if (!*arg) {
   send_to_char("&14O&16----------------------------------------&14O\r\n", ch);
   send_to_char("&16|&15Power 100 lp for increase to pl         &16|\r\n", ch);
   send_to_char("&16|&15Spirit 100 lp for increase to ki        &16|\r\n", ch);
   send_to_char("&16|&15All exchange all lp for increase to both&16|\r\n", ch);
   send_to_char("&16|&15Con 100k lp to increase con by 1        &16|\r\n", ch);
   send_to_char("&16|&15Int 100k lp to increase int by 1        &16|\r\n", ch);
   send_to_char("&16|&15Wis 100k lp to increase wis by 1        &16|\r\n", ch);
   send_to_char("&16|&15Intu 100k lp to increase intu by 1      &16|\r\n", ch);
   send_to_char("&16|             &11Syntax                     &16|\r\n", ch);
   send_to_char("&14O&16----------------------------------------&14O\r\n", ch);
   sprintf(buf1, "&15Regular Trade in for &09Power&16/&14Spirit &15between &11%d &15and &11%d&00\r\n", GET_CHA(ch) * 50, GET_CHA(ch) * 100);
   send_to_char(buf1, ch);
   return;
   }
  if (!str_cmp(arg, "all") && GET_PRACTICES(ch) <= 1) {
    act("&15You do not have enough to trade in for pl and ki.&00\r\n", TRUE, ch, 0, 0, TO_CHAR);
    return;
   }
  if (!str_cmp(arg, "power") && GET_PRACTICES(ch) <= 99) {
   act("&15You do not have enough &00&07knowledge&15 to train that&11.&00", TRUE, ch, 0, 0, TO_CHAR);
   return;
  }
  if (!str_cmp(arg, "spirit") && GET_PRACTICES(ch) <= 99) {
   act("&15You do not have enough &00&07knowledge&15 to train that&11.&00", TRUE, ch, 0, 0, TO_CHAR);
   return;
  }
  if (!str_cmp(arg, "all") && GET_PRACTICES(ch) >= 2) {
   num += (GET_CHA(ch) * 2) * GET_PRACTICES(ch);
    sprintf(buf, "&15You exchange &11100 &15of your &10gained &00&07knowledge&15 for &09strength &15and &14spirit&11!\r\n&16[&10%d&16]&00\r\n", num / 4);
   GET_PRACTICES(ch) -= GET_PRACTICES(ch);   
   GET_MAX_HIT(ch) += num / 4;
   GET_MAX_MANA(ch) += num / 4;
   send_to_char(buf, ch);
   return;
  }
  if (!str_cmp(arg, "power") && GET_PRACTICES(ch) >= 100) {
   sprintf(buf, "&15You exchange &11100 &15of your &10gained &00&07knowledge&15 for &09strength&11!\r\n&16[&10%d&16]&00\r\n", add_num);
   GET_PRACTICES(ch) = GET_PRACTICES(ch) - 100;
   GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + add_num;
   send_to_char(buf, ch);
   return;
  }
  if (!str_cmp(arg, "spirit") && GET_PRACTICES(ch) >= 100) {
   sprintf(buf, "&15You exchange &11100 &15of your &10gained &00&07knowledge&15 for &14spirit&11!\r\n&16[&10%d&16]&00\r\n", add_num);
   GET_PRACTICES(ch) = GET_PRACTICES(ch) - 100;
   GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + add_num;
   send_to_char(buf, ch);
   return;
  }
  if (!str_cmp(arg,"con") && GET_PRACTICES(ch) <= 99999) {
     send_to_char("You do not have enough lp to boost that stat!", ch);
     return;
     }
  if (!str_cmp(arg,"con") && GET_PRACTICES(ch) >= 100000) {
     send_to_char("&15You have learned a new way to use your body, your stats increase!", ch);
     ch->real_abils.con += 1;
     GET_PRACTICES(ch) = GET_PRACTICES(ch) - 100000;
     return;
     }
  if (!str_cmp(arg,"int") && GET_PRACTICES(ch) <= 99999) {
     send_to_char("You do not have enough lp to boost that stat!", ch);
     return;
     }
  if (!str_cmp(arg,"int") && GET_PRACTICES(ch) >= 100000) {
     send_to_char("&15You have learned a new way to use your body, your stats increase!", ch);
     ch->real_abils.intel += 1;
     GET_PRACTICES(ch) = GET_PRACTICES(ch) - 100000;
     return;
     }
  if (!str_cmp(arg,"wis") && GET_PRACTICES(ch) <= 99999) {
     send_to_char("You do not have enough lp to boost that stat!", ch);
     return;
     }
  if (!str_cmp(arg,"wis") && GET_PRACTICES(ch) >= 100000) {
     send_to_char("&15You have learned a new way to use your body, your stats increase!", ch);
     ch->real_abils.wis += 1;
     GET_PRACTICES(ch) = GET_PRACTICES(ch) - 100000;
     return;
     }
  if (!str_cmp(arg,"intu") && GET_PRACTICES(ch) <= 99999) {
     send_to_char("You do not have enough lp to boost that stat!", ch);
     return;
     }
  if (!str_cmp(arg,"int") && GET_PRACTICES(ch) >= 100000) {
     send_to_char("&15You have learned a new way to use your body, your stats increase!", ch);
     ch->real_abils.cha += 1;
     GET_PRACTICES(ch) = GET_PRACTICES(ch) - 100000;
     return;
     }
  if (auto_save && !IS_NPC(ch)) {
        save_char(ch, NOWHERE);
        Crash_crashsave(ch);
        if (ROOM_FLAGGED(ch->in_room, ROOM_HOUSE_CRASH))
        House_crashsave(GET_ROOM_VNUM(IN_ROOM(ch)));
  }
}

ACMD(do_shadow)
{

int MAX_MANA = 0, MAX_HIT = 0;

    one_argument(argument, arg);

    if ((!IS_KONATSU(ch)))
    {
      act("&15You're not a Konatsu&11!&00", TRUE, ch, 0, 0, TO_CHAR);
      return;
    }
   else if (!*argument)
    {
act("&10o&12---------------&11[&16Shadow &09Forms&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &15Stage     Powerlevel Req.", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Shade     &123000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Shadow    &1220000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10All PL Req. go off base pl.&00", TRUE, ch, 0, 0, TO_CHAR);
act("&10o&12---------------&11[&16Shadow &09forms&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
}

if (!str_cmp(arg,"shadow") && !PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

/*-------------------------------------------------------------------------------------*/
/*----------------------------------  Reverting  --------------------------------------*/

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans2)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(30000000, 30000000);
  MAX_MANA = number(30000000, 30000000);
  
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &16Shadow&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &16Shadow&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans1)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);
  
  MAX_HIT = number(10000000, 10000000);
  MAX_MANA = number(10000000, 10000000);
  
  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;

  act("&15$n reverts from $s form of &16Shadow&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &16Shadow&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 if (!str_cmp(arg,"shade") && PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15Your already in that form of &16Shadow!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"shade") && GET_MAX_HIT(ch) <= 2999999) {
  act("&15You do not have the power to attain that form of &16Shadow!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"shade") && GET_MAX_HIT(ch) >= 3000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(10000000, 10000000);
  MAX_MANA = number(10000000, 10000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;
  
  act("&16Your body begins to p&00&07h&15a&00&07s&16e out of the material plane briefly, just before &16s&15t&00&07r&16e&00&07a&15k&16s of &15white&16 and &16B&15l&00&07a&15c&16k move up and down your entire body in erattic patterns. Then a &00&04d&12a&16r&15k&16 aura bursts up around your body as you reach S&16h&16a&00&07d&15o&16w S&00&07h&15a&00&07d&16e form!", TRUE, ch, 0, 0, TO_CHAR);
  act("&14$n's &16body begins to p&00&07h&15a&00&07s&16e out of the material plane briefly, just before &16s&15t&00&07r&16e&00&07a&15k&16s of &15white&16 and &16B&15l&00&07a&15c&16k move up and down your entire body in erattic patterns. Then a &00&04d&12a&16r&15k&16 aura bursts up around your body as you reach S&16h&16a&00&07d&15o&16w S&00&07h&15a&00&07d&16e form!", TRUE, ch, 0, 0, TO_ROOM);
  }

 if (!str_cmp(arg,"shadow") && PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15Your already in that form of &16Shadow!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 
 if (!str_cmp(arg,"shadow") && GET_MAX_HIT(ch) - 9999999 <= 19999999) {
  act("&15You do not have the power to attain that form of &16Shadow!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 
 if (!str_cmp(arg,"shadow") && GET_MAX_HIT(ch) - 9999999 > 19999999) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans2);

  MAX_HIT = number(20000000, 20000000);
  MAX_MANA = number(20000000, 20000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&16You &00&04di&12s&16a&15p&00&07p&16e&12a&00&04r&16 instantly leaving a &00&04d&12a&16r&15k&16 form in your wake. &00&06D&14a&16r&15k &00&06l&14i&16g&15h&00&07t&15n&16i&14n&00&06g &16crackles around your shadowy form. Looking at your new form is a strain on the eyes of any viewer, the edges of your body blurred to an almost transparent extent. You have attained &00&04T&12r&16u&15e&16 S&16h&16a&00&07d&15o&16w form!", FALSE, ch, 0, 0, TO_CHAR);
  act("&14$n &00&04di&12s&16a&15p&00&07p&16e&12a&00&04r&16s instantly leaving a &00&04d&12a&16r&15k&16 form in their wake. &00&06D&14a&16r&15k &00&06l&14i&16g&15h&00&07t&15n&16i&14n&00&06g &16crackles around their shadowy form. Looking at their new form is a strain on the eyes of any viewer, the edges of their body blurred to an almost transparent extent. &14$n &16has attained &00&04T&12r&16u&15e&16 S&16h&16a&00&07d&15o&16w form!", FALSE, ch, 0, 0, TO_ROOM);
 return;
  }

}

ACMD(do_augment)
{

 int MAX_MANA = 0, MAX_HIT = 0;

    one_argument(argument, arg);
    WAIT_STATE(ch, PULSE_VIOLENCE * .5);
    if ((!IS_TRUFFLE(ch)))
    {
      act("&15You're not a truffle&11!&00", TRUE, ch, 0, 0, TO_CHAR);
      return;
    }
   else if (!*argument)
    {
act("&10o&12---------------&11[&09Augmentation&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &15Stage     Powerlevel Req.", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Alpha     &141000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Beta      &1415000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Infusion  &1430000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &12Syntax: augment (type)&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10All PL Req. go off base pl.&00", TRUE, ch, 0, 0, TO_CHAR);
act("&10o&12---------------&11[&09Augmentation&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
if (PLR_FLAGGED(ch, PLR_trans1) && !PLR_FLAGGED(ch, PLR_trans2)) {
sprintf(buf, "&15Your base powerlevel &16[&10%d&16]&00\r\n", GET_MAX_HIT(ch) - 2000000);
send_to_char(buf, ch);
}
if (PLR_FLAGGED(ch, PLR_trans2) && !PLR_FLAGGED(ch, PLR_trans3)) {
sprintf(buf, "&15Your base powerlevel &16[&10%d&16]&00\r\n", GET_MAX_HIT(ch) - 17000000);
send_to_char(buf, ch);
}
if (PLR_FLAGGED(ch, PLR_trans3)) {
sprintf(buf, "&15Your base powerlevel &16[&10%d&16]&00\r\n", GET_MAX_HIT(ch) - 39000000);
send_to_char(buf, ch);
}
  return;
}

/*-------------------------------------------------------------------------------------*/
/*-------------------------------- Augmentation -----------------------------------------*/
/*-------------------------------------------------------------------------------------*/

 if (!str_cmp(arg,"alpha") && PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15Your already have that augmentation implanted!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"alpha") && GET_MAX_HIT(ch) <= 999999) {
  act("&15You do not have the power to handle that augmentation without dieing!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"alpha") && GET_MAX_HIT(ch) >= 999999) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(2000000, 2000000);
  MAX_MANA = number(2000000, 2000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("$n&16 starts to become indistinct as they finish working on themselves. Their body shaking as everything around you with &00e&15l&11e&00&03c&16t&15ro&16n&00&03i&11c&15a&00l&16 and &00m&15e&14c&00&06h&16an&00&06i&14c&15a&00l&16 parts flies at them, and it disappears into their skin! $n&16 looks around, scratching their head at what happened as they achieve their &14A&00&06l&16p&15h&00a&16 transformation!&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&16You finish implimenting the new augmentation to the &12w&00&04e&00&06t&14w&15a&00r&06e&16 in your brain as you realize somethings gone wrong. You feel an overwhelming &10p&00&02o&16w&00&02e&10r&16 overtake your body, as everything &00e&15l&11e&00&03c&16t&15ro&16n&00&03i&11c&15a&00l&16 and &00m&15e&14c&00&06h&16an&00&06i&14c&15a&00l&16 around you sucks into your body. Slowly the items merge into your skin until all of it slowly disappears underneath your flesh, making you wonder what just happened. You have achieved your &14A&00&06l&16p&15h&00a&16 transformation!&00", TRUE, ch, 0, 0, TO_CHAR);
  }

 if (!str_cmp(arg,"beta") && PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15Your already have that augmentation installed!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"beta") && GET_MAX_HIT(ch) - 1999999 <= 15000000) {
  act("&15You do not have the power for that augmentation without dieing!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"beta") && GET_MAX_HIT(ch) - 1999999 >= 15000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans2);

  MAX_HIT = number(15000000, 15000000);
  MAX_MANA = number(15000000, 15000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("$n&16 wraps their arms around their waist, falling to their knees as a blood curdling scream escapes them. Long &00&06m&16e&15t&00al&15l&16i&00&06c &16s&15p&00ik&15e&16s erupt from all over their flesh, their eyes glowing bright &10g&00&02r&10e&15e&00n&16 as their voice becomes &00m&15e&14c&00&06h&16an&00&06i&14c&15a&00l&16 sounding, as if a computer was talking. They begin to lift up into the air as the &16s&15p&00ik&15e&16s explode, forming metallic orbs that hovers around $n&16's body. The orbs suddenly fly into $n, flowing over their skin and forming &00c&15ir&16c&15ui&00t &10b&00&02o&16a&00&02r&10d&16 like patterns onto their skin. $n&16's body explodes in a &00s&15i&14l&00v&15e&14r&16 &00a&15u&16r&15a&16 as they land onto the ground. $n&16 has achieved their &12B&00&04e&16t&15a&16 Transformation!&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&16You wrap your arms around your waist as you fall to your knees, screaming in &00&01p&09a&15i&00n&16 as &00&06m&16e&15t&00al&15l&16i&00&06c &16s&15p&00ik&15e&16s erupt from all over your skin, your eyes glow a harsh &10g&00&02r&10e&15e&00n&16 as your voice starts to sound something &00m&15e&14c&00&06h&16an&00&06i&14c&15a&00l&16. The &16s&15p&00ik&15e&16s suddenly &15e&09x&00&01p&16l&00&01o&09d&15e&16 and surround your body as it begins to lift into the air, globs of metallic goo sticking to your flesh and slowly seeping in, leaving &00c&15ir&16c&15ui&00t &10b&00&02o&16a&00&02r&10d&16 like markings all over your flesh, except your face and palms. Your &00a&15u&16r&15a&16 explodes with a &00s&15i&14l&00v&15e&14r&16 hue as you land gently back onto the ground. You have achieved your &12B&00&04e&16t&15a&16 transformation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"infusion") && PLR_FLAGGED(ch, PLR_trans3)) {
  act("&15Your already have that augmentation installed!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"infusion") && GET_MAX_HIT(ch) - 16999999 <= 30000000) {
  act("&15You do not have the power for that augmentation without dieing!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"infusion") && GET_MAX_HIT(ch) - 16999999 >= 30000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans3);

  MAX_HIT = number(22000000, 22000000);
  MAX_MANA = number(22000000, 22000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("$n&16 seems to root to where their standing, their arms and legs thrusting out to their sides as far as they can go. The markings upon their skin begin to glow a &10n&00&02u&16c&15l&16e&00&02a&10r g&00&02r&10e&15e&00n&16, and the sound of ripping flesh echoes about. $n&16's flesh seemingly melts and pools underneath their feet, revealing &00&06m&16e&15t&00al&15l&16i&00&06c&16 body plating beneath. The &16m&15e&00t&15a&16l seems to melt then puff up, covering $n&16's body in a swirling pool of &00&06c&16h&15ro&16m&00&06e&16. The pool cools rapidly, then cracks, and explodes, throwing shards of metal all around. $n&16's body looks competely different as you feel an immense power flowing from them. They have achieved their &10I&00&02n&16f&15u&16s&00&02e&10d&16 Transformation!&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&16You freeze in place, your limbs throwing themselves to your sides as an unbelieveable &00&01p&09a&15i&00n&16 rips through your body. The markings on your flesh glow a bright, &10n&00&02u&16c&15l&16e&00&02a&10r g&00&02r&10e&15e&00n&16 color, the sound of flesh ripping echoes around you as you realize its your own skin peeling apart. As your flesh pools beneath your feet, &00l&15i&14q&00&06u&14i&15d &16m&15e&00t&15a&16l starts to pool out over your body, coating every inch. As the &16m&15e&00t&15a&16l &16seems to cool, cracks form all over, and in a blinding explosion, the excess &16m&15e&00t&15a&16l flies in all different directions. As the &00s&15t&14e&15a&00m&16 cools from your form, you notice that your hands, chest, and the inside of your legs were remade to look like flesh, while the rest of your skin took a metallic tone to it. You feel an &10u&00&02n&16g&15o&16d&00&02l&10y&16 power resonate from within yourself. You have achieved your &10I&00&02n&16f&15u&16s&00&02e&10d&16 Transformation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
}



ACMD(do_mutate)
{

int MAX_MANA = 0, MAX_HIT = 0;

    one_argument(argument, arg);
    WAIT_STATE(ch, PULSE_VIOLENCE * .5);
    if ((!IS_MUTANT(ch)))
    {
      act("&15You're not a mutant&11!&00", TRUE, ch, 0, 0, TO_CHAR);
      return;
    }
   else if (!*argument)
    {

act("&10o&12---------------&11[&09Mutate&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &15Stage     Powerlevel Req.", TRUE, ch, 0, 0, TO_CHAR);
act("    &10First     &121000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Second    &128000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10Third     &1240000000&00", TRUE, ch, 0, 0, TO_CHAR);
act("    &10All PL Req. go off base pl.&00", TRUE, ch, 0, 0, TO_CHAR);
act("&10o&12---------------&11[&09Mutate&11]&12---------------&10o&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
}

if (!str_cmp(arg,"second") && !PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
if (!str_cmp(arg,"third") && !PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
/*-------------------------------------------------------------------------------------*/
/*----------------------------------  Reverting  --------------------------------------*/
 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans3)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans3);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(43000000, 43000000);
  MAX_MANA = number(43000000, 43000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &09Mutation&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &09Mutation&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans2)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);
     
  MAX_HIT = number(13000000, 13000000);
  MAX_MANA = number(13000000, 13000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &09Mutation&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &09Mutation&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg, "revert") && PLR_FLAGGED(ch, PLR_trans1)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(3000000, 3000000);
  MAX_MANA = number(3000000, 3000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  
  act("&15$n reverts from $s form of &09Mutation&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &09Mutation&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

/*-------------------------------------------------------------------------------------*/
/*------------------------------------ Mutate -----------------------------------------*/
/*-------------------------------------------------------------------------------------*/

 if (!str_cmp(arg,"first") && PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15Your already in that form of mutation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"first") && GET_MAX_HIT(ch) <= 999999) {
  act("&15You do not have the power to attain that form of mutation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"first") && GET_MAX_HIT(ch) >= 999999) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(3000000, 3000000);
  MAX_MANA = number(3000000, 3000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&11$n's &15skin begins to harden as their muscles expand, their face begins to take on a &00&01ugly&15 appearance as &10claws&15 grow out of their fingers. Finally their eyes glow &09r&00&01e&09d&15 as their mutation finishes it's work&11!&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&11Your &15skin begins to harden as your muscles expand, your face begins to take on a &00&01ugly&15 appearance as &10claws&15 grow out of your fingers. Finally your eyes glow &09r&00&01e&09d&15 as their mutation finishes it's work&11!&00", TRUE, ch, 0, 0, TO_CHAR);
  }

 if (!str_cmp(arg,"second") && PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15Your already in that form of Mutation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"second") && GET_MAX_HIT(ch) - 2999999 <= 8000000) {
  act("&15You do not have the power to attain that form of Mutation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

 if (!str_cmp(arg,"second") && GET_MAX_HIT(ch) - 2999999 >= 8000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans2);

  MAX_HIT = number(10000000, 10000000);
  MAX_MANA = number(10000000, 10000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&11$n &16bends over as &13dark&16 energy flows about them&11!&16 Their muscles bulge uncontrollable, showing sickening detail of their muscle structure as their &10claws&16 grow longer and sharper&11!&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&11You &16bend over as &13dark&16 energy flows about you&11!&16 Your muscles bulge uncontrollably, showing sickening detail of your muscle structure as your &10claws&16 grow longer and sharper&11!&00", TRUE, ch, 0, 0, TO_CHAR);
 return;
  }
 if (!str_cmp(arg,"third") && PLR_FLAGGED(ch, PLR_trans3)) {
  act("&15Your already in that form of Mutation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 if (!str_cmp(arg,"third") && GET_MAX_HIT(ch) - 12999999 <= 40000000) {
  act("&15You do not have the power to attain that form of Mutation!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
 if (!str_cmp(arg,"third") && GET_MAX_HIT(ch) - 12999999 >= 40000000) {
     SET_BIT(PLR_FLAGS(ch), PLR_trans3);

  MAX_HIT = number(30000000, 30000000);
  MAX_MANA = number(30000000, 30000000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) + MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) + MAX_MANA;

  act("&14$n &16growls as $s eyes &10g&10l&00&06o&10w &13d&00&05a&16r&00&05k &16with energy. $s muscles quadruple in size, and spikes grow out of their elbows. &14$n&16 shouts out in pain as spikes pop out of their back completing their transformation to &00&05M&00&01u&16ta&00&01t&00&05e &11Third&00\r\n.", FALSE, ch, 0, 0, TO_ROOM);
  act("&16You growl as your eyes &10g&10l&00&06o&10w &13d&00&05a&16r&00&05k &16with energy. Your muscles quadruple in size, and spikes grow out of your elbows. &16You shout out in pain as spikes pop out of your back completing the transformation to &00&05M&00&01u&16ta&00&01t&00&05e &11Third&00\r\n.", FALSE, ch, 0, 0, TO_CHAR);
 }
}

ACMD(do_innerfire)
{
   int MAX_MANA = 0, MAX_HIT = 0;

    one_argument(argument, arg);
    WAIT_STATE(ch, PULSE_VIOLENCE * .5);
    if ((!IS_demon(ch)))
    {
      act("You're not a Demon!", TRUE, ch, 0, 0, TO_CHAR);
      return;
    }
   else if (!*argument)
    {
act("        &10o&12_&09-------------------------&12_&10o&00\r\n         &09|   &11   InnerFire Forms&00    &09|&00\r\n        &10o&12_&09-------------------------&12_&10o&00\r\n         &09|&10You can do the following:&09|&00\r\n         &09|&09-------------------------&09|&00\r\n         &09|&15Stage:  Power Level Req.:&09|&00 ", TRUE, ch, 0, 0, TO_CHAR);
act("         &09| &10First       &14800000&00      &09|&00", TRUE, ch, 0, 0, TO_CHAR);
act("         &09| &10Second      &145000000&00     &09|&00", TRUE, ch, 0, 0, TO_CHAR);
act("         &09| &10Third       &1410000000&00    &09|&00", TRUE, ch, 0, 0, TO_CHAR);
act("         &09| &10Fourth      &1425000000&00    &09|&00", TRUE, ch, 0, 0, TO_CHAR);
act("        &10o&12_&09-------------------------&12_&10o&00", TRUE, ch, 0, 0, TO_CHAR);
act("        &10All PL Req. go off base pl.&00", TRUE, ch, 0, 0, TO_CHAR);
return;
}
/*------------------  Checks to see if already in that stage if evil   -----------------*/


if (!str_cmp(arg,"second") && !PLR_FLAGGED(ch, PLR_trans1)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

if (!str_cmp(arg,"third") && !PLR_FLAGGED(ch, PLR_trans2)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

if (!str_cmp(arg,"fourth") && !PLR_FLAGGED(ch, PLR_trans3)) {
  act("&15You can't go straight to that form!&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }
/*-------------------------------------------------------------------------------------*/
/*----------------------------------  Reverting  --------------------------------------*/

 if (!str_cmp(arg,"revert") && PLR_FLAGGED(ch, PLR_trans4)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans3);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans4);

  MAX_HIT = number(35250000, 35250000);
  MAX_MANA = number(35250000, 35250000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &09Innerfire&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &09Innerfire&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

else if (!str_cmp(arg,"revert") && PLR_FLAGGED(ch, PLR_trans3)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans3);

  MAX_HIT = number(15250000, 15250000);
  MAX_MANA = number(15250000, 15250000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &09Innerfire&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &09Innerfire&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
  }

else if (!str_cmp(arg,"revert") && PLR_FLAGGED(ch, PLR_trans2)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans2);

  MAX_HIT = number(5250000, 5250000);
  MAX_MANA = number(5250000, 5250000);

  GET_MAX_HIT(ch) = GET_MAX_HIT(ch) - MAX_HIT;
  GET_MAX_MANA(ch) = GET_MAX_MANA(ch) - MAX_MANA;
  act("&15$n reverts from $s form of &09Innerfire&15.&00", TRUE, ch, 0, 0, TO_ROOM);
  act("&15You revert from your form of &09Innerfire&15.&00", TRUE, ch, 0, 0, TO_CHAR);
  return;
}
else if (!str_cmp(arg,"revert") && PLR_FLAGGED(ch, PLR_trans1)) {
     REMOVE_BIT(PLR_FLAGS(ch), PLR_trans1);

  MAX_HIT = number(1250000, 

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

Site Stats

Snippets: 1791
Codebases: 571