Advertisement
Guest User

new temporal horrors

a guest
Jul 29th, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.87 KB | None | 0 0
  1.  
  2. newEntity{ base="BASE_NPC_HORROR_TEMPORAL", define_as = "TEMPORAL_NIGHTMARE_DRAGON",
  3.     type = "horror", subtype = "temporal", unique = true,
  4.     name = "Temporal Nightmare Dragon",
  5.     display = "D", color=colors.VIOLET,
  6.     resolvers.nice_tile{image="invis.png", add_mos = {{image="npc/dragon_temporal_rantha_the_nightmare_horror.png", display_h=2, display_y=-1}}},
  7.     desc = [[The essence of the Draconic Abomination, Rantha, has clawed its way back into existence in temporal fusion with a Nightmare Horror.  It seems to recognize and hate you.  This entity seems to have multiplied its existence as part of living Nightmares, becoming a new race of temporal horror.]],
  8.     level_range = {35, nil}, exp_worth = 2,
  9.     rarity = 10,
  10.     max_life = 220, life_rating = 16, fixed_rating = true,
  11.     max_stamina = 85,
  12.     max_mana = 200,
  13.     mana_regen = 10,
  14.     negative_regen = 10,
  15.     hate_regen = 10,
  16.     psi_regen = 10,
  17.     stats = { str=25, dex=10, cun=8, mag=20, wil=20, con=20 },
  18.     rank = 4,
  19.     size_category = 5,
  20.     combat_armor = 17, combat_def = 30,
  21.     combat = { dam=resolvers.levelup(20, 1, 1.1), atk=20, apr=50, dammod={mag=1, str=0.6}, damtype=DamageType.DARKSTUN},
  22.  
  23.     infravision = 10,
  24.     instakill_immune = 1,
  25.     no_breath = 1,
  26.     cut_immune = 1,
  27.     fear_immune = 1,
  28.     not_power_source = {nature=true},
  29.     move_others=true,
  30.     can_multiply = 3,
  31.  
  32.     ai = "tactical",
  33.     ai_tactic = resolvers.tactic"ranged",
  34.     ai_state = { ai_target="target_player_radius", sense_radius=10, talent_in=1, ai_move="move_astar"},
  35.     dont_pass_target = true,
  36.    
  37.     can_pass = {pass_wall=20},
  38.     resists = {all = 35, [DamageType.LIGHT] = -50, [DamageType.DARKNESS] = 100, [DamageType.FIRE] = -20, [DamageType.COLD] = 100,  [DamageType.TEMPORAL] = 25,},
  39.  
  40.     negative_status_effect_immune = 1,
  41.     combat_spellpower = resolvers.levelup(30, 1, 2),
  42.     combat_mindpower = resolvers.levelup(30, 1, 2),
  43.  
  44.     body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
  45.  
  46.     -- Frost Treads drop should be changed.
  47.     resolvers.drops{chance=100, nb=5, {type="gem"} },
  48.     resolvers.drops{chance=100, nb=10, {type="money"} },
  49.  
  50.     resolvers.talents{
  51.    
  52.         [Talents.T_MULTIPLY]=1,
  53.    
  54.         [Talents.T_STEALTH]={base=5, every=12, max=8},
  55.         [Talents.T_GLOOM]={base=3, every=12, max=8},
  56.         [Talents.T_WEAKNESS]={base=3, every=12, max=8},
  57.         [Talents.T_DISMAY]={base=3, every=12, max=8},
  58.         [Talents.T_DOMINATE]={base=3, every=12, max=8},
  59.         [Talents.T_INVOKE_DARKNESS]={base=5, every=8, max=10},
  60.         [Talents.T_NIGHTMARE]={base=5, every=8, max=10},
  61.         [Talents.T_WAKING_NIGHTMARE]={base=3, every=8, max=10},
  62.         [Talents.T_ABYSSAL_SHROUD]={base=3, every=8, max=8},
  63.         [Talents.T_INNER_DEMONS]={base=3, every=8, max=10},
  64.    
  65.         [Talents.T_KNOCKBACK]=3,
  66.  
  67.         [Talents.T_ICE_STORM]=2,
  68.         [Talents.T_FREEZE]=3,
  69.  
  70.         [Talents.T_ICE_CLAW]=4,
  71.         [Talents.T_ICY_SKIN]=3,
  72.         [Talents.T_ICE_BREATH]=4,
  73.  
  74.         [Talents.T_HASTE]=3,
  75.         [Talents.T_CELERITY]=3,
  76.         [Talents.T_TIME_DILATION]=3,
  77.     },
  78.     resolvers.sustains_at_birth(),
  79.  
  80.     autolevel = "warriormage",
  81.     autolevel = "spider",
  82.    
  83.     resolvers.inscriptions(1, "infusion"),
  84.     resolvers.inscriptions(1, {"shielding rune"}),
  85.  
  86.     resolvers.sustains_at_birth(),
  87.  
  88.     -- On die needs to make stairs back to the Rift
  89.     --on_die = function(self, who)
  90.         --game.level.data.portal_next(self)
  91.     --end,
  92. }
  93.  
  94.  
  95. newEntity{ base = "BASE_NPC_HORROR", define_as = "WORM_THAT_WALKS_THROUGH_TIME",
  96.     name = "worm that walks through time", color=colors.SANDY_BROWN,
  97.     type = "horror", subtype = "temporal", unique = true,
  98.     desc = [[A bulging rotten robe seems to tear at the seams, with masses of bloated worms spilling out all around the moving form.  They each seem to phase in and out and around it body. Two arm-like appendages, each made up of overlapping mucous-drenched maggots, grasp tightly around the handles of bile-coated waraxes.
  99. Each swing drips pustulant fluid before it, and each droplet writhes and wriggles in the air before splashing against the ground.
  100. You can sense the dangerous temporal energies that have become part of this horrible creature.]],
  101.     level_range = {35, nil}, exp_worth = 1,
  102.     rarity = 10,
  103.     max_life = resolvers.rngavg(150,180),
  104.     life_rating = 16,
  105.     rank = 4,
  106.     hate_regen = 10,
  107.     global_speed_base = 1.2,
  108.  
  109.     combat_armor = 10, combat_def = 10,
  110.  
  111.    
  112.     autolevel = "warriormage",
  113.     autolevel = "rogue",
  114.  
  115.     ai = "tactical", ai_state = { ai_move="move_complex", talent_in=1, ally_compassion=0 },
  116.     ai_tactic = resolvers.tactic "melee",
  117.  
  118.     see_invisible = 100,
  119.     instakill_immune = 1,
  120.     stun_immune = 1,
  121.     blind_immune = 1,
  122.     disease_immune = 1,
  123.     no_breath = 1,
  124.     cut_immune = 1,
  125.     fear_immune = 1,
  126.     not_power_source = {nature=true},  
  127.     combat = { dam=resolvers.levelup(resolvers.rngavg(25,100), 1, 1.2), atk=resolvers.rngavg(25,100), apr=25, dammod={dex=1.1, str=0.6} },
  128.     combat_spellpower = resolvers.levelup(10, 1, 1),
  129.     stats = { str=20, dex=20, wil=20, mag=20, con=20, cun=20 },
  130.  
  131.     resists = { all = 10, [DamageType.TEMPORAL] = 50, [DamageType.PHYSICAL] = 50, [DamageType.ACID] = 100, [DamageType.BLIGHT] = 100, [DamageType.FIRE] = -50},
  132.     inc_damage = { [DamageType.BLIGHT] = 20, },
  133.     damage_affinity = { [DamageType.BLIGHT] = 50 },
  134.     damage_affinity = { [DamageType.TEMPORAL] = 50 },
  135.     no_auto_resists = true,
  136.  
  137.     body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
  138.     resolvers.drops{chance=20, nb=1, {} },
  139.     resolvers.equip{
  140.         {type="weapon", subtype="waraxe", ego_chance = 1000, autoreq=true},
  141.         {type="weapon", subtype="waraxe", ego_chance = 1000, autoreq=true},
  142.         {type="armor", subtype="robe", ego_chance = 1000, autoreq=true}
  143.     },
  144.  
  145.     talent_cd_reduction = {[Talents.T_BLINDSIDE]=4},
  146.  
  147.     resolvers.inscriptions(1, {"regeneration infusion"}),
  148.     resolvers.inscriptions(1, "rune"),
  149.     resolvers.inscriptions(1, "infusion"),
  150.  
  151.     resolvers.talents{
  152.    
  153.         [Talents.T_TEMPORAL_FUGUE]=5,
  154.  
  155.         [Talents.T_FATEWEAVER]={base=5, every=7, max=8},
  156.         [Talents.T_SPIN_FATE]={base=5, every=7, max=8},
  157.         [Talents.T_STEALTH]={base=3, every=7, max=5},
  158.         [Talents.T_SHADOWSTRIKE]={base=3, every=7, max=5},
  159.         [Talents.T_UNSEEN_ACTIONS]={base=3, every=7, max=5},
  160.  
  161.         [Talents.T_WORMHOLE]={base=5, every=10, max=5},
  162.        
  163.         [Talents.T_ENERGY_ABSORPTION]={base=3, every=7, max=5},
  164.         [Talents.T_ENERGY_DECOMPOSITION]={base=3, every=7, max=5},
  165.         [Talents.T_ENTROPY]={base=3, every=7, max=5},
  166.        
  167.         [Talents.T_DRAIN]={base=5, every=10, max=7},
  168.         [Talents.T_WORM_ROT]={base=4, every=8},
  169.         [Talents.T_EPIDEMIC]={base=4, every=8},
  170.         [Talents.T_REND]={base=2, every=8},
  171.         [Talents.T_ACID_STRIKE]={base=2, every=8},
  172.         [Talents.T_BLOODLUST]={base=2, every=8},
  173.         [Talents.T_RUIN]={base=2, every=8},
  174.         [Talents.T_CORRUPTED_STRENGTH]={base=2, every=8},
  175.  
  176.         [Talents.T_BLINDSIDE]={base=3, every=12},
  177.  
  178.         [Talents.T_WEAPON_COMBAT]={base=2, every=10, max=6},
  179.         [Talents.T_WEAPONS_MASTERY]={base=1, every=10, max=6},
  180.     },
  181.  
  182.     resolvers.sustains_at_birth(),
  183.    
  184.     make_escort = {
  185.         {type="horror", subtype="temporal", name="Huge Time Worm", number=5, },
  186.     },
  187.  
  188.     on_takehit = function(self, value, src)
  189.         if value >= (self.max_life * 0.1) then
  190.             local t = self:getTalentFromId(self.T_WORM_ROT)
  191.             t.spawn_carrion_worm(self, self, t)
  192.             game.logSeen(self, "#LIGHT_RED#A temporal carrion worm mass has spawned from %s' wounds!", self.name)
  193.             --should make time worm versions of these also.
  194.         end
  195.         return value
  196.     end,
  197. }
  198.  
  199. newEntity{ base = "BASE_NPC_HORROR", define_as = "HUGE_TIME_WORM", -- escort of WORM_THAT_WALKS_THROUGH_TIME. -- so no rarity so no random?
  200.     allow_infinite_dungeon = true,
  201.     type = "horror", subtype = "temporal", unique = true,
  202.     name = "Huge Time Worm",
  203.     display = "w", color=colors.VIOLET,
  204.     resolvers.nice_tile{image="invis.png", add_mos = {{image="npc/dragon_sand_corrupted_sand_wyrm.png", display_h=2, display_y=-1}}},
  205.     desc = [[This huge worm radiates temporal energies and seems under the control, or part of?, the WormThatWalksThroughTime.]],
  206.     killer_message = "and swallowed whole",
  207.     level_range = {35, nil}, exp_worth = 1,
  208.     female = 1,
  209.     max_life = 850, life_rating = 24, fixed_rating = true,
  210.     max_stamina = 85,
  211.     max_mana = 85,
  212.     infravision = 10,
  213.     stats = { str=25, dex=20, cun=12, mag=20, wil=20, con=20 },
  214.     move_others=true,
  215.     sand_dweller = 1,
  216.  
  217.     instakill_immune = 1,
  218.     stun_immune = 1,
  219.     no_breath = 1,
  220.     cut_immune = 1,
  221.     fear_immune = 1,
  222.     blind_immune = 1,
  223.     not_power_source = {nature=true},
  224.     rank = 4,
  225.     size_category = 5,
  226.    
  227.     can_pass = {pass_wall=20},
  228.     move_project = {[DamageType.DIG]=1},
  229.    
  230.     combat = { dam=140, atk=130, apr=25, dammod={str=1.2} },
  231.  
  232.     resists = { all = 10, [DamageType.TEMPORAL] = 50, [DamageType.FIRE] = 30, [DamageType.COLD] = -30, [DamageType.BLIGHT] = 25, [DamageType.NATURE] = 50 },
  233.  
  234.     body = { INVEN = 10, BODY=1 },
  235.  
  236.     resolvers.drops{chance=100, nb=1, {defined="SANDQUEEN_HEART"}, },
  237.     resolvers.drops{chance=100, nb=5, {tome_drops="boss"} },
  238.  
  239.     resolvers.talents{
  240.    
  241.         [Talents.T_TEMPORAL_FUGUE]=5,
  242.    
  243.         [Talents.T_HASTE]=3,
  244.         [Talents.T_CELERITY]=3,
  245.         [Talents.T_TIME_DILATION]=3,
  246.  
  247.         [Talents.T_FATEWEAVER]={base=5, every=7, max=8},
  248.         [Talents.T_SPIN_FATE]={base=5, every=7, max=8},
  249.  
  250.         [Talents.T_WORMHOLE]={base=5, every=10, max=5},
  251.  
  252.         [Talents.T_ENERGY_ABSORPTION]={base=3, every=7, max=5},
  253.         [Talents.T_ENERGY_DECOMPOSITION]={base=3, every=7, max=5},
  254.         [Talents.T_ENTROPY]={base=3, every=7, max=5},
  255.        
  256.         [Talents.T_SUMMON]=1,
  257.         [Talents.T_CRAWL_POISON]={base=5, every=6, max=8},
  258.         [Talents.T_CRAWL_ACID]={base=3, every=6, max=7},
  259.         --[Talents.T_SAND_BREATH]={base=4, every=6, max=8},
  260.        
  261.         [Talents.T_BLOOD_GRASP]=5,
  262.         [Talents.T_BLIGHTZONE]=5,
  263.         [Talents.T_SOUL_ROT]=5,
  264.         [Talents.T_RUSH]=5,
  265.         [Talents.T_SWALLOW]=3,
  266.         [Talents.T_SAND_BREATH]=9,
  267.         [Talents.T_STUN]=5,
  268.         [Talents.T_KNOCKBACK]=5,
  269.     },
  270.  
  271.     summon = {
  272.         {type="vermin", subtype="sandworm", number=5, hasxp=false},
  273.         --should make time worm version of these also.
  274.     },
  275.  
  276.     autolevel = "warriormage",
  277.     ai = "tactical", ai_state = { ai_target="target_player_radius", ai_move="move_complex", sense_radius=400, talent_in=1, },
  278.     dont_pass_target = true,
  279.     resolvers.inscriptions(4, "infusion"),
  280.     ai_tactic = resolvers.tactic"melee",
  281.    
  282. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement