Skip to content
#834
Auto-translated
Yeah... My map is full of errors and misunderstandings:D
Here's the script:
function VisitDeviltavern (heroname)
if heroname == 'Biara' then
if visiter_deviltavern == 0 then
BlockGame ();
GiveHeroSkill ('Biara', 98);
visiter_deviltavern = 1;
SetObjectiveState ('saobj', OBJECTIVE_COMPLETED, 1);
GiveExp ('Biara', 12000);
sleep (30);
UnblockGame ();
else MessageBox (map_path..'deviltavern-visited.txt');
end;
else MessageBox (map_path..'deviltavern-visiternobiara.txt');
end;
end;
Everything works perfectly, but the skill isn't being granted. Why?

Statistics

Welcome our newest member: Emil

Users Online 3 users 1132 guests