Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.11.2005, 10:34   #1
avatard
Архивный участник
 
Join Date: Feb 2005
Posts: 100
Default

alright, I've been trying for quite some time and now it just crashes the server quite often :[
This is what I've got at this very moment:


handler 17 // OUT_OF_TERRITORY
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // hp
push_const 344
add
fetch_d
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // max_hp
push_const 1000
add
fetch_d
push_const 1xx.xx0000
div
push_const xx.xx0000
mul
greater
branch_false L75002
L75001
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // start_x
push_const 2428
add
fetch_i
push_event // myself
push_const 28
add
fetch_i // start_y
push_const 2432
add
fetch_i
push_event // myself
push_const 28
add
fetch_i // start_z
push_const 2436
add
fetch_i
func_call 46 // func[InstantTeleport]
shift_sp -4
shift_sp -1
L75002
handler_end


The idea is that the mobs, that get dragged out of spawn area get teleported back if their amount of remaining health points is greater than 95% of total health.
avatard 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 18:25.