diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-14 18:10:24 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-14 18:10:24 +0100 |
| commit | 50ffbf0f455f1ff34e98f0bdac3b7a9bf09d9192 (patch) | |
| tree | aab7cd9fbab7f0144676c639defdf95d47b43cb7 /TemplePushing.c4s/System.c4g/Scroll.c | |
| parent | 33fc980e1ef5b82787f9687abe77d44f75d5a343 (diff) | |
| download | tempelschubsen-50ffbf0f455f1ff34e98f0bdac3b7a9bf09d9192.tar.gz tempelschubsen-50ffbf0f455f1ff34e98f0bdac3b7a9bf09d9192.zip | |
Colorize Scrolls with a color specific to their "magic element"
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Scroll.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Scroll.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c index 7cf2ee1..15ae5e0 100644 --- a/TemplePushing.c4s/System.c4g/Scroll.c +++ b/TemplePushing.c4s/System.c4g/Scroll.c @@ -45,3 +45,9 @@ private func DoMagic(object pByClonk) SetVisibility(VIS_Owner | VIS_Allies, this); return _inherited(pByClonk); } + +func SetSpell(id spell) +{ + SetClrModulation(spell->~ScrollColor()); + return _inherited(spell, ...); +} |
