public AttackInfo(AttackInfo a) { cost = a.cost; damage = a.damage; desc = a.desc; }
static AttackList() { attack[0] = new AttackInfo(100, 1, DamageType.NORMAL, "& ^hit *"); //the player's default attack attack[1] = new AttackInfo(100, 2, DamageType.NORMAL, "& ^hits *"); attack[2] = new AttackInfo(100, 1, DamageType.PIERCING, "& ^bites *"); attack[3] = new AttackInfo(100, 1, DamageType.SLASHING, "& ^scratches *"); attack[4] = new AttackInfo(100, 2, DamageType.PIERCING, "& ^bites *"); attack[5] = new AttackInfo(100, 3, DamageType.PIERCING, "& ^bites *"); attack[6] = new AttackInfo(100, 3, DamageType.SLASHING, "& ^rakes *"); attack[7] = new AttackInfo(100, 2, DamageType.COLD, "& hits * with a blast of cold"); attack[8] = new AttackInfo(100, 4, DamageType.COLD, "& releases a burst of cold"); attack[9] = new AttackInfo(100, 0, DamageType.NONE, "& ^hits *"); //dream warrior's clone attack attack[10] = new AttackInfo(100, 3, DamageType.NORMAL, "& ^hits *"); attack[11] = new AttackInfo(200, 2, DamageType.NORMAL, "& lunges forward and ^hits *"); attack[12] = new AttackInfo(100, 3, DamageType.BASHING, "& ^hammers *"); attack[13] = new AttackInfo(100, 2, DamageType.NORMAL, "& touches *"); attack[14] = new AttackInfo(100, 2, DamageType.SLASHING, "& ^claws *"); attack[15] = new AttackInfo(100, 3, DamageType.NORMAL, "& ^punches *"); attack[16] = new AttackInfo(100, 3, DamageType.NORMAL, "& ^kicks *"); attack[17] = new AttackInfo(100, 3, DamageType.NORMAL, "& ^strikes *"); attack[18] = new AttackInfo(100, 2, DamageType.NORMAL, "& slimes *"); attack[19] = new AttackInfo(100, 0, DamageType.NONE, "& grabs at *"); attack[20] = new AttackInfo(100, 2, DamageType.NORMAL, "& clutches at *"); attack[21] = new AttackInfo(100, 3, DamageType.BASHING, "& ^slams *"); attack[22] = new AttackInfo(100, 3, DamageType.SLASHING, "& ^claws *"); attack[23] = new AttackInfo(200, 5, DamageType.BASHING, "& ^hits * with a huge mace"); attack[24] = new AttackInfo(100, 1, DamageType.NORMAL, "& hits *"); attack[25] = new AttackInfo(100, 4, DamageType.NORMAL, "& ^hits *"); attack[26] = new AttackInfo(100, 0, DamageType.NONE, "& lashes * with a tentacle"); attack[27] = new AttackInfo(100, 2, DamageType.SLASHING, "& ^scratches *"); attack[28] = new AttackInfo(100, 4, DamageType.BASHING, "& ^slams *"); attack[29] = new AttackInfo(120, 3, DamageType.NORMAL, "& extends a tentacle and ^hits *"); attack[30] = new AttackInfo(120, 1, DamageType.NORMAL, "& extends a tentacle and drags * closer"); attack[31] = new AttackInfo(100, 5, DamageType.BASHING, "& ^clobbers *"); attack[32] = new AttackInfo(150, 6, DamageType.FIRE, "& breathes fire"); }