Skip to content

Commit

Permalink
- fixed a bug in Spell target revalidation, thanks Twl
Browse files Browse the repository at this point in the history
  • Loading branch information
Domiii committed Jul 27, 2011
1 parent f050f8a commit ddd3e29
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -412,7 +412,11 @@ public void RevalidateAll()
if (ValidateTarget(target, DefaultTargetDefinitions.GetTargetFilter(firstHandler.Effect.ImplicitTargetA)) == SpellFailedReason.Ok)
{
var filter = DefaultTargetDefinitions.GetTargetFilter(firstHandler.Effect.ImplicitTargetB);
if (filter != null)
if (filter == null)
{
continue;
}
else
{
var failedReason = SpellFailedReason.Ok;
filter(firstHandler, target, ref failedReason);
Expand Down

0 comments on commit ddd3e29

Please sign in to comment.