Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created April 6, 2013 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PilzAdam/5326327 to your computer and use it in GitHub Desktop.
Save PilzAdam/5326327 to your computer and use it in GitHub Desktop.
local difficulty = minetest.setting_get("difficulty")
local skeleton_damage = 3
if difficulty == "hard" then
skeleton_damage = 4
elseif difficulty == "easy" then
skeleton_damage = 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment