Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [HELP] AI code (https://postpacific.loc-online.com/showthread.php?t=3166)

erloko 28.01.2006 23:10

[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

Mayii 29.01.2006 01:31

no.

toolpunk 29.01.2006 19:50

right...
unfortunately this is impossible...
there is no such function in ai :cry:


All times are GMT. The time now is 15:24.