Facebook
From Movie#4361, 2 Years ago, written in Lua.
Embed
Download Paste or View Raw
Hits: 185
  1. --[[
  2.     Dodge & Critical fixado por Movie (Movie#4361)
  3.     Disponibilizado para o TibiaKing e não autorizo outras reproduções
  4.     Mantenha os créditos <3
  5. --]]
  6.  
  7. function onSay(player, words, param)
  8.         local skill = player:getCriticalLevel()
  9.         local message = "CRITICAL SYSTEM \n The system consists of having a chance to deal critical damage. \n \n For example: \n Each stone used gives 0.3% more chance. \n With 10 stones, you will have a 3% chance to hit one critical damage from attacks inflicted on your opponent. \n With 100 stones (maximum), you have a 30% chance to hit critical damage from attacks inflicted on your opponent. \n Each stone you use, your dodge skill increases by 1 point.\n\n------------------\nCurrent critical skill: [" .. skill .. "/100]"
  10.         doPlayerPopupFYI(player, message)
  11. end
  12.