Topic: Wrong parameter being passed to function in lindwurm_tail.nut

  • Author
    Posts
  • #28157
    Avatar photolordmidas
    Participant

    In the function onDamageReceived of lindwurm_tail.nut, there is a call to buildPropertiesForBeingHit where it passes the wrong parameters.

    Specifically it is on Line 202 local p = this.m.Body.m.Skills.buildPropertiesForBeingHit(_attacker, _skill, _hitInfo.BodyPart);. In this line the third parameter should be _hitInfo, not _hitInfo.BodyPart.

    The wrong parameter remains benign in most cases, however, if the lindwurm has a status effect which tries to access the hitInfo, it bugs out the entire skills and makes the tail unkillable.

    Solution: Replace _hitInfo.BodyPart in that line with _hitInfo.

    #28289
    Avatar photoRap
    Keymaster

    Fixed for the next update. Thanks for letting us know.

    Overhype Studios - follow us!
    Facebook Youtube
    Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.