Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
PadreWoW opened this issue May 23, 2021 · 1 comment
Open
1 task

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

PadreWoW opened this issue May 23, 2021 · 1 comment

Comments

@PadreWoW
Copy link

PadreWoW commented May 23, 2021

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.

@PadreWoW
Copy link
Author

p.s SMART_TARGET_ACTION_INVOKER should be implemented in SMART_EVENT_FRIENDLY_HEALTH_PCT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant