Permalink
Browse files

- fixed a bug in Spell target revalidation, thanks Twl

  • Loading branch information...
1 parent f050f8a commit ddd3e29bf5aa1cad29d488b94134c7eb444c311b @Domiii Domiii committed Jul 27, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 Services/WCell.RealmServer/Spells/Targeting/SpellTargetCollection.cs
View
6 Services/WCell.RealmServer/Spells/Targeting/SpellTargetCollection.cs
@@ -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);

0 comments on commit ddd3e29

Please sign in to comment.