diff options
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Deflection.c4d')
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Deflection.c4d/Script.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Deflection.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Deflection.c4d/Script.c index e1740ff..fcaac0d 100644 --- a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Deflection.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Deflection.c4d/Script.c @@ -8,7 +8,9 @@ func Activate(pCaster,pRealcaster) if(!pClonk) pClonk=pCaster; // Auswählen wenn möglich - if (pCaster->~DoSpellSelect(this,300)) return 1; + var selector; + if ((selector = pClonk->~DoSpellSelect(this,300,pCaster)) && selector->CountTargets() > 1) return 1; + if (selector) RemoveObject(selector); // Clonk kann nicht auswählen: Clonk bekommst selbst ein Schild if (SelectorTarget(pClonk)) |
