Skip to content

Commit

Permalink
Don't seclare nDamage in the shadow's touch attack extra times.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelknolf committed Jun 3, 2014
1 parent 3cf077f commit ffa14d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alfa2_acr.hak/acr_touchattack.nss
Expand Up @@ -135,12 +135,12 @@ void main()
int nDamage = 0;
if(GetLocalString(OBJECT_SELF, "ACR_TOUCH_ATTACK") == "GREATER SHADOW")
{
int nDamage = d8();
nDamage = d8();
if(nTouch == 2) nDamage += d8();
}
else
{
int nDamage = d6();
nDamage = d6();
if(nTouch == 2) nDamage += d6();
}
if(nTouch)
Expand Down

0 comments on commit ffa14d0

Please sign in to comment.