Facebook
From Movie#4361, 2 Years ago, written in Lua.
Embed
Download Paste or View Raw
Hits: 194
  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:getDodgeLevel()
  9.         local message = "DODGE SYSTEM \n The system consists of defending a percentage of incoming attacks. \n \n For example: \n Each stone used gives 0.3% more chance. \n With 10 stones, you will have a 3% chance to defend 50% of attacks received. \n With 100 stones (maximum), you have a 30% chance to defend 50% of attacks received. \n Each stone you use, your dodge skill increases by 1 point.\n\n------------------\nCurrent dodge skill: [" .. skill .. "/100]"
  10.         doPlayerPopupFYI(player, message)
  11. end
  12.