summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/core/s_aux.lua12
-rw-r--r--lib/mods/theme/core/s_aux.lua13
2 files changed, 0 insertions, 25 deletions
diff --git a/lib/core/s_aux.lua b/lib/core/s_aux.lua
index 9a39df14..860892ae 100644
--- a/lib/core/s_aux.lua
+++ b/lib/core/s_aux.lua
@@ -145,15 +145,3 @@ function get_level(s, max, min)
return %get_level(s, max, min)
end
--- Helper function for spell effect to know if they are or not obvious
-function is_obvious(effect, old)
- if old then
- if old == TRUE or effect == TRUE then
- return TRUE
- else
- return FALSE
- end
- else
- return effect
- end
-end
diff --git a/lib/mods/theme/core/s_aux.lua b/lib/mods/theme/core/s_aux.lua
index 9a39df14..3e98ec94 100644
--- a/lib/mods/theme/core/s_aux.lua
+++ b/lib/mods/theme/core/s_aux.lua
@@ -144,16 +144,3 @@ function get_level(s, max, min)
if not min then min = 1 end
return %get_level(s, max, min)
end
-
--- Helper function for spell effect to know if they are or not obvious
-function is_obvious(effect, old)
- if old then
- if old == TRUE or effect == TRUE then
- return TRUE
- else
- return FALSE
- end
- else
- return effect
- end
-end