Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 28.01.2006, 23:10   #1
erloko
Архивный участник
 
Join Date: Jul 2005
Posts: 42
Default [HELP] AI code

this it is a simple code of interchange of an item:

L10
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 210 // staff_of_evil_sprit
push_const 1
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
L20
shift_sp 1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 4900 // staff_of_evil_sprit_magicfocus
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
L30

The question:
how can i get, if this item is enchanted (ex. +5), npc gives the new item also enchanted (+5)?

Thanks for lot
erloko is offline  
 


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 15:33.