Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
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  
Old 29.01.2006, 01:31   #2
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

no.
Mayii is offline  
Old 29.01.2006, 19:50   #3
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

right...
unfortunately this is impossible...
there is no such function in ai :cry:
toolpunk 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 16:40.