Lineage2Interlude Последний из атеистов Местный Сообщения 89 Розыгрыши 0 Репутация 0 Реакции 10 Баллы 860 5 Янв 2020 #1 Hello. I am looking for someone who can edit and increase my script from the AI.obj and skilldata (InterludeVanganth) Код: class 1 abyss_adrenaline_deamon : default_npc { handler: EventHandler MENU_SELECTED( fhtml0, talker, ask, reply ) { if( talker == myself.c_ai0 ) { if( ask == -301 ) { if( reply == myself.i_ai1 ) { myself.i_ai0 = 3; myself::SetMemoState( talker, 255, 34343434 ); myself::GiveItem1( talker, 9478, 3 ); ........................................................ ........................................................ ........................................................
Hello. I am looking for someone who can edit and increase my script from the AI.obj and skilldata (InterludeVanganth) Код: class 1 abyss_adrenaline_deamon : default_npc { handler: EventHandler MENU_SELECTED( fhtml0, talker, ask, reply ) { if( talker == myself.c_ai0 ) { if( ask == -301 ) { if( reply == myself.i_ai1 ) { myself.i_ai0 = 3; myself::SetMemoState( talker, 255, 34343434 ); myself::GiveItem1( talker, 9478, 3 ); ........................................................ ........................................................ ........................................................
default_npc Вершитель VIP Сообщения 1 983 Розыгрыши 0 Решения 45 Репутация 2 022 Реакции 2 167 Баллы 1 985 5 Янв 2020 #2 what you need?
Lineage2Interlude Последний из атеистов Местный Сообщения 89 Розыгрыши 0 Репутация 0 Реакции 10 Баллы 860 5 Янв 2020 #3 default_npc написал(а): what you need? Нажмите, чтобы раскрыть... After spawn The npc to buff the player with a custom skill effect and then after talk to remove it. its like @s_protection_skill hold effect/
default_npc написал(а): what you need? Нажмите, чтобы раскрыть... After spawn The npc to buff the player with a custom skill effect and then after talk to remove it. its like @s_protection_skill hold effect/
default_npc Вершитель VIP Сообщения 1 983 Розыгрыши 0 Решения 45 Репутация 2 022 Реакции 2 167 Баллы 1 985 5 Янв 2020 #4 if I understood correctly write for nasc GF+ (i'm not worked with Vanganth IT AI), but I think principle is clear created - buff effect (mass effect) select dialog ask=1 \ reply=2 - dispel this effect C#: EventHandler CREATED() { AddUseSkillDesire(myself.sm, @EFFECT_ORI_NAME, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000); super; } EventHandler MENU_SELECTED(talker, ask, reply) { if(ask == 1 && reply == 2) { if(GetAbnormalLevel(talker, Skill_GetAbnormalType(@EFFECT_ORI_NAME)) == 1) { Dispel(talker, Skill_GetAbnormalType(@EFFECT_ORI_NAME)) } } super; }
if I understood correctly write for nasc GF+ (i'm not worked with Vanganth IT AI), but I think principle is clear created - buff effect (mass effect) select dialog ask=1 \ reply=2 - dispel this effect C#: EventHandler CREATED() { AddUseSkillDesire(myself.sm, @EFFECT_ORI_NAME, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000); super; } EventHandler MENU_SELECTED(talker, ask, reply) { if(ask == 1 && reply == 2) { if(GetAbnormalLevel(talker, Skill_GetAbnormalType(@EFFECT_ORI_NAME)) == 1) { Dispel(talker, Skill_GetAbnormalType(@EFFECT_ORI_NAME)) } } super; }
Lineage2Interlude Последний из атеистов Местный Сообщения 89 Розыгрыши 0 Репутация 0 Реакции 10 Баллы 860 5 Янв 2020 #5 yea i know about the dispel is on GF i am using lagacy extender c4-interlude can i have your skype or discord i cant use pm here?
yea i know about the dispel is on GF i am using lagacy extender c4-interlude can i have your skype or discord i cant use pm here?
Lineage2Interlude Последний из атеистов Местный Сообщения 89 Розыгрыши 0 Репутация 0 Реакции 10 Баллы 860 6 Янв 2020 #6 When i remove the despawn everything is ok. But if have despawn its not giving me the debuff only the reward. Any ideas? Код: EventHandler MENU_SELECTED( fhtml0, talker, ask, reply ) { if( talker == myself.c_ai0 ) { if( ask == -301 ) { if( reply == myself.i_ai1 ) { myself.i_ai0 = 3; myself::SetMemoState( talker, 255, 34343434 ); myself::GiveItem1( talker, 9478, 3 ); myself::AddUseSkillDesire( talker, @s_protection_skill2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000 ); myself::Despawn(); } How i can time here or check for item.
When i remove the despawn everything is ok. But if have despawn its not giving me the debuff only the reward. Any ideas? Код: EventHandler MENU_SELECTED( fhtml0, talker, ask, reply ) { if( talker == myself.c_ai0 ) { if( ask == -301 ) { if( reply == myself.i_ai1 ) { myself.i_ai0 = 3; myself::SetMemoState( talker, 255, 34343434 ); myself::GiveItem1( talker, 9478, 3 ); myself::AddUseSkillDesire( talker, @s_protection_skill2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000 ); myself::Despawn(); } How i can time here or check for item.
default_npc Вершитель VIP Сообщения 1 983 Розыгрыши 0 Решения 45 Репутация 2 022 Реакции 2 167 Баллы 1 985 6 Янв 2020 #7 Lineage2Interlude написал(а): When i remove the despawn everything is ok. But if have despawn its not giving me the debuff only the reward. Any ideas? Код: EventHandler MENU_SELECTED( fhtml0, talker, ask, reply ) { if( talker == myself.c_ai0 ) { if( ask == -301 ) { if( reply == myself.i_ai1 ) { myself.i_ai0 = 3; myself::SetMemoState( talker, 255, 34343434 ); myself::GiveItem1( talker, 9478, 3 ); myself::AddUseSkillDesire( talker, @s_protection_skill2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000 ); myself::Despawn(); } How i can time here or check for item. Нажмите, чтобы раскрыть... AI works async. ,use timers for skill\despawn
Lineage2Interlude написал(а): When i remove the despawn everything is ok. But if have despawn its not giving me the debuff only the reward. Any ideas? Код: EventHandler MENU_SELECTED( fhtml0, talker, ask, reply ) { if( talker == myself.c_ai0 ) { if( ask == -301 ) { if( reply == myself.i_ai1 ) { myself.i_ai0 = 3; myself::SetMemoState( talker, 255, 34343434 ); myself::GiveItem1( talker, 9478, 3 ); myself::AddUseSkillDesire( talker, @s_protection_skill2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000 ); myself::Despawn(); } How i can time here or check for item. Нажмите, чтобы раскрыть... AI works async. ,use timers for skill\despawn
Lineage2Interlude Последний из атеистов Местный Сообщения 89 Розыгрыши 0 Репутация 0 Реакции 10 Баллы 860 7 Янв 2020 #8 Yes. you are right i add time and its perfect. myself::AddTimerEx( 4567, 5000 ); else if ( timer_id == 4567) { myself:espawn();
Yes. you are right i add time and its perfect. myself::AddTimerEx( 4567, 5000 ); else if ( timer_id == 4567) { myself:espawn();