Advertisement
hadar

Aardwolf information

Dec 6th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. As i said here is the information the triggers:
  2. ^Lucky! You gain an extra (\d+) training session(?s)!$
  3. local trains = zs.param(1)
  4. trainadd(trains)
  5.  
  6. ^You gain (\d+) extra train.? daily blessing bonus
  7. trainadd(zs.param(1))
  8.  
  9. ^You gain (\d+) hit points, (\d+) mana, (\d+) moves, (\d+) practices and (\d+) trains\.
  10. mylevelconvert()
  11. timeDiff(os.time(),levelinfo.oldtimestamp,levelinfo)
  12. mylevelepoch()
  13. statadd(zs.param(1),zs.param(2),zs.param(3),zs.param(4),zs.param(5))
  14. zs.cmd.alarm("+0.501","levelreport")
  15. zs.var.EXPTracker_DB = levelinfo
  16. zs.var.sellinggold_DB = sellinggold
  17.  
  18. ^You gain a bonus (\a+) point!
  19. local stat = zs.param(1)
  20. if stat == "Strength" then
  21. stat = "Str"
  22. elseif stat == "Intelligence" then
  23. stat = "Int"
  24. elseif stat == "Wisdom" then
  25. stat = "Wis"
  26. elseif stat == "Dexterity" then
  27. stat = "Dex"
  28. elseif stat == "Constitution" then
  29. stat = "Con"
  30. elseif stat == "Luck" then
  31. stat = "Lck"
  32. end
  33. bonusstatadd(stat)
  34.  
  35. Now alias:
  36. LevelReport
  37. levelreport(zs.sys.gmcp.char.status.level,zs.param(1))
  38. zs.cmd.send(mylevelreport.channel.." "..mylevelreport.message)
  39.  
  40. lua files, please read the README in the archive
  41. http://aardwolfbootcamp.com/hadar/lua.zip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement