Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Here's what's in allegos.lua:
  2.  
  3. local Talents = require("engine.interface.ActorTalents")
  4. local Stats = require "engine.interface.ActorStats"
  5. class = require("engine.Entity")
  6.  
  7. newEntity{
  8. name = "Fiery ", prefix=true,
  9. level_range = {1, 50},
  10. rarity = 5,
  11. resolvers.talents{ [Talents.T_MANA_POOL]=1, [Talents.T_INFERNO]=2, },
  12. stats = { wil=46 },
  13.  
  14. }
  15.  
  16. I added a single line to the troll code:
  17.  
  18. newEntity{
  19. define_as = "BASE_NPC_TROLL",
  20. type = "giant", subtype = "troll",
  21. display = "T", color=colors.UMBER,
  22.  
  23. combat = { dam=resolvers.mbonus(45, 10), atk=2, apr=6, physspeed=2, dammod={str=0.8} },
  24.  
  25. body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
  26. resolvers.drops{chance=20, nb=1, {} },
  27. resolvers.drops{chance=60, nb=1, {type="money"} },
  28.  
  29. infravision = 20,
  30. life_rating = 15,
  31. life_regen = 2,
  32. max_stamina = 90,
  33. rank = 2,
  34. size_category = 4,
  35.  
  36. autolevel = "warrior",
  37. ai = "dumb_talented_simple", ai_state = { ai_move="move_dmap", talent_in=3, },
  38. energy = { mod=1 },
  39. stats = { str=20, dex=8, mag=6, con=16 },
  40.  
  41. open_door = true,
  42.  
  43. resolvers.tmasteries{ ["technique/other"]=0.3 },
  44.  
  45. resists = { [DamageType.FIRE] = -50 },
  46. fear_immune = 1,
  47. egos = "/data/general/npcs/egos/allegos.lua", egos_chance = { prefix=100 },
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement