10444 {
10446 {
10447 byte meleeEnchant = Main.player[
owner].meleeEnchant;
10448 if (meleeEnchant == 1)
10449 {
10450 Main.player[
i].AddBuff(70, 60 * Main.rand.Next(5, 10),
quiet:
false);
10451 }
10452 if (meleeEnchant == 2)
10453 {
10454 Main.player[
i].AddBuff(39, 60 * Main.rand.Next(3, 7),
quiet:
false);
10455 }
10456 if (meleeEnchant == 3)
10457 {
10458 Main.player[
i].AddBuff(24, 60 * Main.rand.Next(3, 7),
quiet:
false);
10459 }
10460 if (meleeEnchant == 5)
10461 {
10462 Main.player[
i].AddBuff(69, 60 * Main.rand.Next(10, 20),
quiet:
false);
10463 }
10464 if (meleeEnchant == 6)
10465 {
10466 Main.player[
i].AddBuff(31, 60 * Main.rand.Next(1, 4),
quiet:
false);
10467 }
10468 if (meleeEnchant == 8)
10469 {
10470 Main.player[
i].AddBuff(20, 60 * Main.rand.Next(5, 10),
quiet:
false);
10471 }
10472 }
10474 {
10475 Main.player[
i].AddBuff(24, 180);
10476 }
10478 {
10479 Main.player[
i].AddBuff(323, 60 * Main.rand.Next(8, 16),
quiet:
false);
10480 }
10482 {
10483 Main.player[
i].AddBuff(24, 60 * Main.rand.Next(3, 7),
quiet:
false);
10484 }
10486 {
10487 Main.player[
i].AddBuff(39, 60 * Main.rand.Next(3, 7),
quiet:
false);
10488 }
10490 {
10491 Main.player[
i].AddBuff(324, 60 * Main.rand.Next(1, 8),
quiet:
false);
10492 }
10494 {
10495 if (Main.rand.Next(4) == 0)
10496 {
10498 }
10499 else if (Main.rand.Next(2) == 0)
10500 {
10502 }
10503 else
10504 {
10506 }
10507 }
10508 if (
type == 2 && Main.rand.Next(3) == 0)
10509 {
10511 }
10513 {
10514 if (Main.rand.Next(3) == 0)
10515 {
10517 }
10518 }
10519 else if (
type == 15)
10520 {
10521 int num = 24;
10522 if (Main.remixWorld)
10523 {
10524 num = 323;
10525 }
10526 if (Main.rand.Next(2) == 0)
10527 {
10529 }
10530 }
10531 else if (
type == 253)
10532 {
10533 if (Main.rand.Next(2) == 0)
10534 {
10536 }
10537 }
10538 else if (
type == 19)
10539 {
10540 if (Main.rand.Next(5) == 0)
10541 {
10543 }
10544 }
10545 else if (
type == 113)
10546 {
10547 if (Main.rand.Next(5) == 0)
10548 {
10550 }
10551 }
10552 else if (
type == 33)
10553 {
10554 if (Main.rand.Next(5) == 0)
10555 {
10557 }
10558 }
10559 else if (
type == 976)
10560 {
10561 if (Main.rand.Next(4) == 0)
10562 {
10564 }
10565 }
10566 else if (
type == 34)
10567 {
10568 if (Main.rand.Next(2) == 0)
10569 {
10571 }
10572 }
10573 else if (
type == 35)
10574 {
10575 if (Main.rand.Next(4) == 0)
10576 {
10578 }
10579 }
10580 else if (
type == 54)
10581 {
10582 if (Main.rand.Next(2) == 0)
10583 {
10585 }
10586 }
10587 else if (
type == 267)
10588 {
10589 if (Main.rand.Next(3) == 0)
10590 {
10592 }
10593 else
10594 {
10596 }
10597 }
10598 else if (
type == 63)
10599 {
10600 if (Main.rand.Next(3) != 0)
10601 {
10603 }
10604 }
10605 else if (
type == 85 ||
type == 188)
10606 {
10608 }
10610 {
10612 }
10614 {
10616 }
10617 else if (
type == 282 ||
type == 283)
10618 {
10620 }
10622 {
10623 if (Main.rand.Next(3) == 0)
10624 {
10626 }
10627 else
10628 {
10630 }
10631 }
10633 {
10635 }
10636 else if (
type == 265)
10637 {
10639 }
10640 else if (
type == 355)
10641 {
10643 }
10644 }