diff options
| author | Jan <> | 2015-02-02 17:58:18 +0100 |
|---|---|---|
| committer | Jan <_> | 2015-07-10 17:51:43 +0200 |
| commit | ca61c54b9bd69af897e4cc9d4385137fb56fd11a (patch) | |
| tree | a4363f466cea6de48ca81fadc08273d58698d2ff /TemplePushing.c4s/System.c4g/Invisibility.c | |
| parent | 32a9632fbca3dd7a88bd3154b84a3773af39c276 (diff) | |
| download | tempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.tar.gz tempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.zip | |
TemplePushingBeta.c4s
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Invisibility.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Invisibility.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Invisibility.c b/TemplePushing.c4s/System.c4g/Invisibility.c new file mode 100644 index 0000000..28bba9d --- /dev/null +++ b/TemplePushing.c4s/System.c4g/Invisibility.c @@ -0,0 +1,18 @@ +/*-- Shorten Invisibilty --*/ + +#strict 2 + +#appendto MINV + +public func Activate(object pCaster, object pCaster2) +{ + // Zauberer ermitteln + if (pCaster2) pCaster = pCaster2; + // Magie kann man hoeren, ganz klar ;) + Sound("Magic*"); + // Zauberer unsichtbar machen (20sec) + AddEffect("InvisPSpell", pCaster, 200, 700, 0, GetID()); + // Fertig - das Zauberobjekt wird nun nicht mehr gebraucht + RemoveObject(); + return 1; +}
\ No newline at end of file |
