Commit 37d4167853c5e8f2c52e83aa5f99c2721e9ebc5f

Authored by DarkGod
1 parent 126d7392

New Fez artifact!

... ... @@ -1574,7 +1574,7 @@ newEntity{ base = "BASE_CLOTH_ARMOR",
1574 1574 },
1575 1575 }
1576 1576
1577   -newEntity{ base = "BASE_CLOTH_ARMOR",
  1577 +newEntity{ base = "BASE_CLOTH_ARMOR", define_as = "SET_TEMPORAL_ROBE",
1578 1578 power_source = {arcane=true},
1579 1579 unique = true,
1580 1580 name = "Temporal Augmentation Robe - Designed In-Style", color = colors.BLACK, image = "object/artifact/robe_temporal_augmentation_robe.png",
... ... @@ -1596,6 +1596,56 @@ newEntity{ base = "BASE_CLOTH_ARMOR",
1596 1596 },
1597 1597 max_power = 25, power_regen = 1,
1598 1598 use_talent = { id = Talents.T_DAMAGE_SMEARING, level = 1, power = 25 },
  1599 +
  1600 + set_list = { {"define_as", "SET_TEMPORAL_FEZ"} },
  1601 + on_set_complete = function(self, who)
  1602 + end,
  1603 + on_set_broken = function(self, who)
  1604 + end,
  1605 +}
  1606 +
  1607 +newEntity{ base = "BASE_WIZARD_HAT", define_as = "SET_TEMPORAL_FEZ",
  1608 + power_source = {arcane=true, psionic=true},
  1609 + unique = true,
  1610 + name = "Un'fezan's Cap",
  1611 + unided_name = "red stylish hat",
  1612 + desc = [[This fez once belonged to a traveler, it always seems to be found lying around in odd locations.
  1613 +#{italic}#Fezzes are cool.#{normal}#]],
  1614 + color = colors.BLUE, image = "object/artifact/fez.png",
  1615 + moddable_tile = "special/fez",
  1616 + moddable_tile_big = true,
  1617 + level_range = {20, 40},
  1618 + rarity = 300,
  1619 + cost = 100,
  1620 + material_level = 3,
  1621 + wielder = {
  1622 + combat_def = 1,
  1623 + combat_spellpower = 8,
  1624 + combat_mindpower = 8,
  1625 + inc_stats = { [Stats.STAT_WIL] = 4, [Stats.STAT_CUN] = 8, },
  1626 + paradox_reduce_fails = 10,
  1627 + resists = {
  1628 + [DamageType.TEMPORAL] = 20,
  1629 + },
  1630 + talents_types_mastery = {
  1631 + ["chronomancy/timetravel"]=0.2,
  1632 + },
  1633 + },
  1634 + max_power = 15, power_regen = 1,
  1635 + use_talent = { id = Talents.T_WORMHOLE, level = 1, power = 15 },
  1636 +
  1637 + set_list = { {"define_as", "SET_TEMPORAL_ROBE"} },
  1638 + on_set_complete = function(self, who)
  1639 + game.logPlayer(who, "#STEEL_BLUE#A time vortex briefly appears in front of you.")
  1640 + self:specialSetAdd({"wielder","paradox_reduce_fails"}, 40)
  1641 + self:specialSetAdd({"wielder","confusion_immune"}, 0.4)
  1642 + self:specialSetAdd({"wielder","combat_spellspeed"}, 0.1)
  1643 + self:specialSetAdd({"wielder","inc_damage"}, { [DamageType.TEMPORAL] = 10 })
  1644 + end,
  1645 + on_set_broken = function(self, who)
  1646 + self.use_talent = nil
  1647 + game.logPlayer(who, "#STEEL_BLUE#A time vortex briefly appears in front of you.")
  1648 + end,
1599 1649 }
1600 1650
1601 1651 newEntity{ base = "BASE_GEM", define_as = "GEM_TELOS",
... ...