Skip to content

SmartAI Bug - Can't Use "target_type 7" When "event_type 74"  #252

@PadreWoW

Description

@PadreWoW

Describe the bug
SmartAI Bug - Can't Use "target_type 7" When "event_type 74"

To Reproduce
Steps to reproduce the behavior:

  1. Try to create SmartAI script:
    For example - mob should heal ally mob when his HP = 50% or lower
    "target_type 7" is (caused the event) and "event_type 74" is (ally HP in %) and "action_type 11" is (cast spell)
  2. You will see the error - "SmartAIMgr: Entry 98 SourceType 0 Event 1 Action 11 uses invalid target_type 7, skipped."

Expected behavior
Script SHOULD worlk on target_type 7 with event_type 74 (as it works on event_type 14 - (ally HP not in %))

Branch
master

Eluna

  • [V] Enabled
  • Disabled

HASH/COMMIT:
a96f1ab


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions