Skip to content

Commit

Permalink
Fixed sneak attack immunity check
Browse files Browse the repository at this point in the history
  • Loading branch information
DMD authored and DMD committed Sep 10, 2016
1 parent 1f6cd59 commit 7d9499a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TemplePlus/condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4718,7 +4718,7 @@ int ClassAbilityCallbacks::SneakAttackDamage(DispatcherCallbackArgs args) {
if (sneakAttackDice <= 0)
return 0;

if (d20Sys.d20Query(args.objHndCaller, DK_QUE_Critter_Is_Immune_Critical_Hits)) {
if (d20Sys.d20Query(tgt, DK_QUE_Critter_Is_Immune_Critical_Hits)) {
dispIo->damage.bonuses.ZeroBonusSetMeslineNum(325);
return 0;
}
Expand Down

0 comments on commit 7d9499a

Please sign in to comment.