So the skill casting works fine and NPC does not cast 2nd time, after you are already affected?
I mean seeing if issue with the abnormal functions or I dunno...something weird. Maybe skill_pch2 with the actual abnormal of that skill. Compare to..
EventHandler SEE_CREATURE(creature,i0)
{
i0 = myself::GetAbnormalLevel( creature, myself::Skill_GetAbnormalType( 1046529 ) );
myself::ShoutEx( "1046529 Level: " + myself::IntToStr( i0 ) ,1200);
if( i0 == -1 )
{
myself::AddUseSkillDesire( creature, 1046529, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000 );
}
super;
}
I don't feel like reloading my AI :<
NPC casts skill 2nd and 3rd time and so on, always when he see me again, cause function GetAbnormalLevel always returns -1 :) just like I said.
I don't ask you to reload your AI :rolleyes:, but make sure that this function realy works on your server ;)
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-24-2009, 07:08 PM. Открыть источник.