Advertisement
lavalevel

MonsterList !!!!

Jan 30th, 2012
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.29 KB | None | 0 0
  1. --[[
  2.  
  3.  
  4.                                  (`-..________....---''  ____..._.-`
  5.                                   \\`._______.._,.---'''     ,'
  6.         MONSTER                   ; )`.      __..-'`-.      /
  7.             LIST                 / /     _.-' _,.;;._ `-._,'
  8.                                 / /   ,-' _.-'  //   ``--._``._
  9.                               ,','_.-' ,-' _.- (( =-    -. `-._`-._____
  10.                             ,;.''__..-'   _..--.\\.--'````--.._``-.`-._`.
  11.              _          |\,' .-''        ```-'`---'`-...__,._  ``-.`-.`-.`.
  12.   _     _.-,'(__)\__)\-'' `     ___  .          `     \      `--._
  13. ,',)---' /|)          `     `      ``-.   `     /     /     `     `-.
  14. \_____--.  '`  `               __..-.  \     . (   < _...-----..._   `.
  15.  \_,--..__. \\ .-`.\----'';``,..-.__ \  \      ,`_. `.,-'`--'`---''`.  )
  16.            `.\`.\  `_.-..' ,'   _,-..'  /..,-''(, ,' ; ( _______`___..'__
  17.                    ((,(,__(    ((,(,__,'  ``'-- `'`.(\  `.,..______  
  18. from the "Spell Book of Knowledge" passed from Tyraziel %%%%%%%%%%%%%%%%%%%%%
  19. --]]
  20.  
  21. local function setupNpc (npcName, npcHitPoints, npcHitPointsMax, npcLevel, npcDex, npcStr, npcAction, npcAnimation, npcGold, npcTreasure, npcXY, npcLocation)
  22.     local newNpc = {}
  23.        
  24.         newNpc.npcName = npcName
  25.         newNpc.npcHitPoints = npcHitPoints
  26.         newNpc.npcHitPointsMax = npcHitPointsMax
  27.         newNpc.npcLevel = npcLevel
  28.         newNpc.npcDex = npcDex
  29.         newNpc.npcStr = npcStr
  30.         newNpc.npcAction = npcAction
  31.         newNpc.npcAnimation = npcAnimation
  32.         newNpc.npcGold = NpcGold
  33.         newNpc.npcTreasure = npcTreasure
  34.         newNpc.npcXY = npcXY
  35.         newNpc.npcLocation = npcLocation
  36.  
  37.     return newNpc
  38. end
  39.  
  40. monsterList = {}
  41.  
  42. monsterList[1] = setupNpc ( "Necromancer", 100, 100, 11, 15, 07, "Idle", "Stance", 99, "Ring of Regneration1", 222, "offScreen" )
  43. monsterList[2] = setupNpc ( "Necromancer", 100, 100, 11, 15, 07, "Idle", "Stance", 99, "Ring of Regneration2", 77, "offScreen" )
  44. monsterList[3] = setupNpc ( "Necromancer", 100, 100, 11, 15, 07, "Idle", "Stance", 99, "Ring of Regneration3", 141, "offScreen" )
  45. monsterList[4] = setupNpc ( "Necromancer", 100, 100, 11, 15, 07, "Idle", "Stance", 99, "Ring of Regneration4", 166, "offScreen" )
  46. monsterList[5] = setupNpc ( "Necromancer", 100, 100, 11, 15, 07, "Idle", "Stance", 99, "Ring of Regneration5", 183, "offScreen" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement