Commit c3df837fea7a457d5a8c2395b2263a3660a42619

Authored by Chris Davidson
1 parent 4b6bbde4

Revise Spellhunt Remnants

- Can't be worn with arcane knowledge instead of resource drain.  Resource drain doesn't actually prevent the use of this it just makes for tedious cheesing.

- Better stats for mindcasters, especially nature mindcasters (which now scales Antimagic damage)

- Less extreme on hit procs
... ... @@ -3608,7 +3608,7 @@ newEntity{ base = "BASE_GAUNTLETS",
3608 3608 name = "Spellhunt Remnants", color = colors.GREY, image = "object/artifact/spellhunt_remnants.png",
3609 3609 unided_name = "heavily corroded voratun gauntlets",
3610 3610 desc = [[These once brilliant voratun gauntlets have fallen into a deep decay. Originally used in the spellhunt, they were often used to destroy arcane artifacts, curing the world of their influence.]],
3611   - special_desc = function(self) return "Drains arcane resources while worn." end,
  3611 + special_desc = function(self) return "Can't be worn by those with arcane powers." end,
3612 3612 -- material_level = 1, --Special: this artifact can appear anywhere and adjusts its material level to the zone
3613 3613 level_range = {1, nil},
3614 3614 rarity = 550, -- Extra rare to make it not ALWAYS appear.
... ... @@ -3620,31 +3620,25 @@ newEntity{ base = "BASE_GAUNTLETS",
3620 3620 self.power_up(self, nil, mat_level)
3621 3621 end
3622 3622 end,
3623   - on_wear = function(self, who)
  3623 + on_canwear = function(self, who)
3624 3624 if who:attr("has_arcane_knowledge") then
3625   - game.logPlayer(who, "#ORCHID#The %s begin draining your arcane resources as they are worn!", self:getName({do_color=true}))
  3625 + game.logPlayer(who, "#ORCHID#Your arcane equipment or powers conflict with the gauntlets!#LAST#", self:getName({do_color=true}))
  3626 + return true
3626 3627 end
3627 3628 end,
3628 3629 on_preaddobject = function(self, who, inven) -- generated in an actor's inventory
3629 3630 if not self.material_level then self.addedToLevel(self, game.level) end
3630 3631 end,
3631   - cost = 1000,
3632   - callbackOnAct = function(self, who) -- Burn the wearer's arcane resources while worn
3633   - if who:attr("has_arcane_knowledge") then
3634   - local burn = who:burnArcaneResources(self.material_level*2)
3635   - if burn > 0 then
3636   - game.logSeen(who, "#ORCHID#%s's %s drain %s magic!", who.name:capitalize(), self:getName({do_color=true}), who:his_her())
3637   - who:restStop("Antimagic Drain")
3638   - who:runStop("Antimagic Drain")
3639   - end
3640   - end
3641   - end,
3642 3632 wielder = {
3643 3633 combat_mindpower=4,
3644   - combat_mindcrit=1,
  3634 + combat_mindcrit=3,
3645 3635 combat_spellresist=4,
3646 3636 combat_def=1,
3647 3637 combat_armor=2,
  3638 + inc_stats = { [Stats.STAT_CUN] = 2, [Stats.STAT_WIL] = 2, },
  3639 + inc_damage = { [DamageType.NATURE] = 5 },
  3640 + resists_pen = { [DamageType.NATURE] = 5 },
  3641 + max_life = 20,
3648 3642 combat = {
3649 3643 dam = 12,
3650 3644 apr = 4,
... ... @@ -3653,7 +3647,7 @@ newEntity{ base = "BASE_GAUNTLETS",
3653 3647 dammod = {dex=0.4, str=-0.6, cun=0.4,},
3654 3648 damrange = 0.3,
3655 3649 melee_project={[DamageType.RANDOM_SILENCE] = 10},
3656   - talent_on_hit = { [Talents.T_DESTROY_MAGIC] = {level=1, chance=100} },
  3650 + talent_on_hit = { },
3657 3651 },
3658 3652 },
3659 3653 power_up= function(self, who, level)
... ... @@ -3670,10 +3664,14 @@ newEntity{ base = "BASE_GAUNTLETS",
3670 3664 self.desc = [[These once brilliant voratun gauntlets appear heavily decayed. Originally used in the spellhunt, they were often used to destroy arcane artifacts, ridding the world of their influence.]]
3671 3665 self.wielder={
3672 3666 combat_mindpower=6,
3673   - combat_mindcrit=2,
  3667 + combat_mindcrit=6,
3674 3668 combat_spellresist=6,
3675 3669 combat_def=2,
3676 3670 combat_armor=3,
  3671 + inc_stats = { [Stats.STAT_CUN] = 4, [Stats.STAT_WIL] = 4, },
  3672 + inc_damage = { [DamageType.NATURE] = 10 },
  3673 + resists_pen = { [DamageType.NATURE] = 10 },
  3674 + max_life = 40,
3677 3675 combat = {
3678 3676 dam = 17,
3679 3677 apr = 8,
... ... @@ -3682,7 +3680,7 @@ newEntity{ base = "BASE_GAUNTLETS",
3682 3680 dammod = {dex=0.4, str=-0.6, cun=0.4,},
3683 3681 damrange = 0.3,
3684 3682 melee_project={[DamageType.RANDOM_SILENCE] = 12},
3685   - talent_on_hit = { [Talents.T_DESTROY_MAGIC] = {level=2, chance=100} },
  3683 + talent_on_hit = { },
3686 3684 },
3687 3685 }
3688 3686 elseif level == 3 then -- LEVEL 3
... ... @@ -3690,10 +3688,14 @@ newEntity{ base = "BASE_GAUNTLETS",
3690 3688 self.desc = [[These voratun gauntlets appear to have suffered considerable damage. Originally used in the spellhunt, they were often used to destroy arcane artifacts, ridding the world of their influence.]]
3691 3689 self.wielder={
3692 3690 combat_mindpower=8,
3693   - combat_mindcrit=3,
  3691 + combat_mindcrit=9,
3694 3692 combat_spellresist=8,
3695 3693 combat_def=3,
3696 3694 combat_armor=4,
  3695 + inc_stats = { [Stats.STAT_CUN] = 6, [Stats.STAT_WIL] = 6, },
  3696 + inc_damage = { [DamageType.NATURE] = 15 },
  3697 + resists_pen = { [DamageType.NATURE] = 15 },
  3698 + max_life = 60,
3697 3699 combat = {
3698 3700 dam = 22,
3699 3701 apr = 12,
... ... @@ -3702,7 +3704,7 @@ newEntity{ base = "BASE_GAUNTLETS",
3702 3704 dammod = {dex=0.4, str=-0.6, cun=0.4,},
3703 3705 damrange = 0.3,
3704 3706 melee_project={[DamageType.RANDOM_SILENCE] = 15, [DamageType.ITEM_ANTIMAGIC_MANABURN] = 20,},
3705   - talent_on_hit = { [Talents.T_DESTROY_MAGIC] = {level=3, chance=100}, [Talents.T_MANA_CLASH] = {level=1, chance=5} },
  3707 + talent_on_hit = { [Talents.T_MANA_CLASH] = {level=1, chance=5} },
3706 3708 },
3707 3709 }
3708 3710 elseif level == 4 then -- LEVEL 4
... ... @@ -3710,10 +3712,14 @@ newEntity{ base = "BASE_GAUNTLETS",
3710 3712 self.desc = [[These voratun gauntlets shine brightly beneath a thin layer of wear. Originally used in the spellhunt, they were often used to destroy arcane artifacts, ridding the world of their influence.]]
3711 3713 self.wielder={
3712 3714 combat_mindpower=10,
3713   - combat_mindcrit=4,
  3715 + combat_mindcrit=12,
3714 3716 combat_spellresist=10,
3715 3717 combat_def=4,
3716 3718 combat_armor=5,
  3719 + inc_stats = { [Stats.STAT_CUN] = 8, [Stats.STAT_WIL] = 8, },
  3720 + inc_damage = { [DamageType.NATURE] = 20 },
  3721 + resists_pen = { [DamageType.NATURE] = 20 },
  3722 + max_life = 80,
3717 3723 combat = {
3718 3724 dam = 27,
3719 3725 apr = 15,
... ... @@ -3722,7 +3728,7 @@ newEntity{ base = "BASE_GAUNTLETS",
3722 3728 dammod = {dex=0.4, str=-0.6, cun=0.4,},
3723 3729 damrange = 0.3,
3724 3730 melee_project={[DamageType.RANDOM_SILENCE] = 17, [DamageType.ITEM_ANTIMAGIC_MANABURN] = 35,},
3725   - talent_on_hit = { [Talents.T_DESTROY_MAGIC] = {level=4, chance=100}, [Talents.T_MANA_CLASH] = {level=2, chance=10} },
  3731 + talent_on_hit = { [Talents.T_MANA_CLASH] = {level=2, chance=10} },
3726 3732 },
3727 3733 }
3728 3734 elseif level >= 5 then -- LEVEL 5
... ... @@ -3730,10 +3736,14 @@ newEntity{ base = "BASE_GAUNTLETS",
3730 3736 self.desc = [[These brilliant voratun gauntlets shine with an almost otherworldly glow. Originally used in the spellhunt, they were often used to destroy arcane artifacts, ridding the world of their influence. Pride in the fulfillment of this ancient duty practically radiates from them.]]
3731 3737 self.wielder={
3732 3738 combat_mindpower=12,
3733   - combat_mindcrit=5,
  3739 + combat_mindcrit=15,
3734 3740 combat_spellresist=15,
3735 3741 combat_def=6,
3736 3742 combat_armor=8,
  3743 + inc_stats = { [Stats.STAT_CUN] = 10, [Stats.STAT_WIL] = 10, },
  3744 + inc_damage = { [DamageType.NATURE] = 25 },
  3745 + resists_pen = { [DamageType.NATURE] = 25 },
  3746 + max_life = 100,
3737 3747 lite=1,
3738 3748 combat = {
3739 3749 dam = 33,
... ... @@ -3743,7 +3753,7 @@ newEntity{ base = "BASE_GAUNTLETS",
3743 3753 dammod = {dex=0.4, str=-0.6, cun=0.4,},
3744 3754 damrange = 0.3,
3745 3755 melee_project={[DamageType.RANDOM_SILENCE] = 20, [DamageType.ITEM_ANTIMAGIC_MANABURN] = 50,},
3746   - talent_on_hit = { [Talents.T_DESTROY_MAGIC] = {level=5, chance=100}, [Talents.T_MANA_CLASH] = {level=3, chance=15}, [Talents.T_AURA_OF_SILENCE] = {level=1, chance=10} },
  3756 + talent_on_hit = { [Talents.T_MANA_CLASH] = {level=3, chance=15}, [Talents.T_AURA_OF_SILENCE] = {level=3, chance=15} },
3747 3757 },
3748 3758 }
3749 3759 self.use_power = {
... ...