home · contact · privacy
Server, plugin: Refactor decrement_lifepoint hooking, add missed files.
[plomrogue] / server / calc_effort.py
diff --git a/server/calc_effort.py b/server/calc_effort.py
new file mode 100644 (file)
index 0000000..c39aa72
--- /dev/null
@@ -0,0 +1,7 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
+def calc_effort(thing_action, thing):
+    return thing_action["TA_EFFORT"]