Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 29.06.2009, 21:06   #3
angrax
Guest
 
Posts: n/a
Default newbie dev help :D

COPCondition_have_debuff::foundDebuff is wrong, id is going to take always the last skill_id so you are going to really lucky if anytime return true.


Something like this would be better.

bool COPCondition_have_debuff::foundDebuff(CCreature *pCreature, int SkillId){

for(int i=0;i<pCreature->vBuff.size();i++) {

if(SkillId == pCreature->vBuff[i].pSkillInfo->skill_id)

return true;

}

return false;

}


And please, try to use correct tabulation >.<


sorry XD y have it fixed only post a wrong version, you are right... with this vortex crusher, slug, etc can work :P.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-29-2009, 09:06 PM. Открыть источник.
 
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:32.