This npc have 3 options (gossip menu)
1- ¡DUEL! (EASY) -- Change hp of npc to 40k and set factionid 57 (monster factionid)
2- ¡DUEL! (MEDIUM) -- Change hp of npc to 65k and set factionid 57 (monster factionid)
3- ¡DUEL! (HARD) -- Change hp of npc to 120k and set factionid 57 (monster factionid)
All this works fine, but i have some problems, example when he have 10% HP, i like to change factionid for he no die and reset npc for another duel.
But problem When select a option (easy,medium or hard) When factionid change to 57 (monster factionid), cant talk with him again.
Here is the code:
Spoiler
I dont want npc DIES when finish duel, and i want when duel finishes to reset him, friendly factionid.
SORRY: My english im from spain im learning LUA scripts.
Thanks ;) :P :P













