Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 26.11.2005, 17:50   #11
dar55
Архивный участник
 
Join Date: Aug 2005
Posts: 180
Default

handler 10 // MY_DYING
variable_begin
"c0"
"c1"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

This block(1):
If summon kill mob then next block


push_event // c0
push_const 272
add
push_reg_sp
fetch_i
shift_sp 1
func_call 83 // func[GetLastAttacker]
assign
shift_sp -1
push_event // c0
push_const 272
add
fetch_i // npc_class_id
push_const 1620
add
fetch_i
push_const 1005103
equal
branch_false L45754


block(2):
if block 1 true, verify item 3371 (for master)


L45753
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // master
push_const 1684
add
fetch_i
branch_false L45756
L45755
push_event // c1
push_const 276
add
push_reg_sp
fetch_i
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // master
push_const 1684
add
fetch_i
assign
shift_sp -1
shift_sp 1
push_event // c1
push_const 276
add
fetch_i
push_const 230
func_call 59 // func[HaveMemo]
shift_sp -2
push_reg_sp
fetch_i
branch_false L45757
shift_sp 1
push_event // c1
push_const 276
add
fetch_i
push_const 3371
func_call 81 // func[OwnItemCount]
shift_sp -2
and
L45757
branch_false L45759


block(3):
if item 3371 = true then give item for master 3373



L45758
shift_sp 1
push_event // c1
push_const 276
add
fetch_i
push_const 3373
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // c1
push_const 276
add
fetch_i
S9848. "ItemSound.quest_itemget"
push_string S9848
func_call 173 // func[SoundEffect]
....this continie....

You can lock all AI Give item 3373,3363, 3368 and etc quest item for summoner ptroff's, only for summon. Not item=not ended quest
If delete hadler MY_DYING for summon, you kill quest summon proffs
dar55 is offline  
 

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