Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12.07.2009, 15:04   #5
goodtimeshaxor
Guest
 
Posts: n/a
Default Tick SKill Effects

What examples for parsing skilldata? It might be similar to p_effects, i_effects, and op_conds but I just don't know the syntax for tick effects.

I will try and look around more. Thanks

#include "CSkillEffect_t_test_tick_effect.h"

CSKILL_EFFECT_INSTALL_VMT(CSkillEffect_t_test_tick _effect)

//Not sure what goes up here

//Could not find a CheckTickCond.. Am I supposed to use a CheckPumpCond?

INT32 nCSkillEffect_t_test_tick_effectCheckPumpCondition = 0;

bool CSkillEffect_t_test_tick_effect::CheckPumpConditio n(CObject *pTarget)

{

L2SERVER_SHARED_GUARD(nCSkillEffect_t_test_tick_ef fectCheckPumpCondition);

TLS_TRACE_BEGIN;

bool bResult = false;

User *pUser = (User*)pTarget;

if(pUser->IsValidUser())

{

bResult = true;

}

TLS_TRACE_END;

return bResult;

}

INT32 nCSkillEffect_t_test_tick_effectTick;

void CSkillEffect_t_test_tick_effect::Tick(CObject* pTarget)

//Already has a body. Not sure what to do from here

{

L2SERVER_SHARED_GUARD(nCSkillEffect_t_test_tick_ef fectTick);

TLS_TRACE_BEGIN;

User *pUser = (User*)pTarget;

if(pUser->IsValidUser())

{

//Effect Here?

}

TLS_TRACE_END;

}

I obviously don't have a clue what I'm doing, but I listened to what you said and took a pump effect and changed it. Obviously and completely wrong. Now what?

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 18:19.