Originally Posted by Rhidian
#1 issue: The resurrected enemies do not give exp when defeated again (they probably don't drop more items either, but I haven't tested that much).


If you call CharacterResurrect(), the IsResurrected flag of the character will be set to TRUE, so it will yield no XP when the char dies again. (The flag cannot be reset from scripts AFAIK)

Originally Posted by Rhidian
I have only tested it a little bit to see that it could possibly work. I'm considering having the enemies spawn a copy of themselves at their location instead of being resurrected after the time has passed.


How do you clone characters though? I haven't found any functions so far that allow creating new character objects. frown

Another possible workaround would be giving XP manually:
Code
IF
CharacterDied(_Character)
AND
DB_DeadCharacters(_Character, _)
AND
GetCharacterExperienceSomehow(_Character, _XP)
THEN
PartyAddExperience(_XP)