TrinityCore/TrinityCore — Issue #5568: [SmartAI] SMART_EVENT_FLAG_NOT_REPEATABLE 
Author: shlomi1515
Created: 2012-03-05 18:46:16+00:00
State: open

hey guys

I have hard time understand how to fix it
here are the steps for my problem:

1.NPC start the event by SMART_EVENT_OOC_LOS
2. Saying some text
3.summon enemy
4.player + npc killing the Enemy
5.Enemy is dead
6. NPC evade
7.npc start all over again

why i think it's a problem?

becuase im using SMART_EVENT_FLAG_NOT_REPEATABLE =1
which i think eavde not supues to override it...

so everytime the NPC evade it start the Event all over again...
and even the SMART_ACTION_SET_DATA which the enemy give to the npc When he dies is ignored by that Evade

so please can you tell me how can i make this work?

Thanks