sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a3457dbac36d10d94635446f1c69e4382db3e918)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a3457dbac36d10d94635446f1c69e4382db3e918)
- Date: Sat, 29 Aug 2009 06:06:38 -0500
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 1 +
var/lib/sorcery/modules/libtriggers | 12 ++++++++++++
2 files changed, 13 insertions(+)
New commits:
commit a3457dbac36d10d94635446f1c69e4382db3e918
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
libtriggers: added real_on_pre_cast #15352
diff --git a/ChangeLog b/ChangeLog
index 9e1a9eb..f790729 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2009-08-29 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libtime: simplified the awk in compute_mean and compute_median
+ * libtriggers: added real_on_pre_cast #15352
2009-07-19 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* config: made BUILD_DIRECTORY ignore INSTALL_ROOT and user
changeable,
diff --git a/var/lib/sorcery/modules/libtriggers
b/var/lib/sorcery/modules/libtriggers
index f665afd..6531d0d 100755
--- a/var/lib/sorcery/modules/libtriggers
+++ b/var/lib/sorcery/modules/libtriggers
@@ -156,6 +156,18 @@ function real_on_cast () {
## @param spell that triggers
## @param action
##
+## Used by spells to make adding triggerse nice.
+##
+#---------------------------------------------------------------------
+function real_on_pre_cast() {
+ set_trigger "on_pre_cast" "$1" "$2"
+}
+
+#---------------------------------------------------------------------
+## @Type API
+## @param spell that triggers
+## @param action
+##
## Used by spells to make adding triggers nice.
##
#---------------------------------------------------------------------
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a3457dbac36d10d94635446f1c69e4382db3e918), Jaka Kranjc, 08/29/2009
Archive powered by MHonArc 2.6.24.