![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Nov 2006
Posts: 28
|
heroic_berserker is wrong, give alot of atkspd and castspd, 30k +
|
|
|
|
|
#2 | |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Quote:
Im using ;per on both. |
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 74
|
...Posted in the past Erase code... then i will post new and better Erase code by magic level:
Code:
if( ( skill_name_id / 256 ) == 1395 )
{
i0 = ( skill_name_id & 255 );
if( i0 > 10 )
{
i0 = 10;
}
i0 = ( 54 + ( i0 * 2 ) );
i1 = myself.sm.level;
i2 = ( ( 50 + i0 ) - i1 );
if( gg->Rand(100) < i2 )
{
myself->Say("I'm dying...");
myself->Despawn();
}
}
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 74
|
Here Compiled Code:
Code:
handler 1 705 // ATTACKED variable_begin "skill_name_id" "party0" "c0" "c1" "i0" "i1" "i2" "i3" "i4" "i5" "i6" "attacker" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // skill_name_id push_const 180 add fetch_i4 push_const 256 div push_const 1395 equal branch_false L113 L112 push_event // i0 push_const 260 add push_reg_sp fetch_i push_event // skill_name_id push_const 180 add fetch_i4 push_const 255 bit_and assign4 shift_sp -1 push_event // i0 push_const 260 add fetch_i4 push_const 10 greater branch_false L115 L114 push_event // i0 push_const 260 add push_reg_sp fetch_i push_const 10 assign4 shift_sp -1 L115 push_event // i0 push_const 260 add push_reg_sp fetch_i push_const 54 push_event // i0 push_const 260 add fetch_i4 push_const 2 mul add assign4 shift_sp -1 push_event // i1 push_const 264 add push_reg_sp fetch_i push_event // myself push_const 704 add fetch_i // sm push_const 544 add fetch_i // level push_const 1092 add fetch_i4 assign4 shift_sp -1 push_event // i2 push_const 268 add push_reg_sp fetch_i push_const 50 push_event // i0 push_const 260 add fetch_i4 add push_event // i1 push_const 264 add fetch_i4 sub assign4 shift_sp -1 push_event // gg push_const 632 add fetch_i push_const 100 func_call 218169344 // func[Rand] shift_sp -1 push_event // i2 push_const 268 add fetch_i4 less branch_false L117 L116 push_event // myself push_const 704 add fetch_i S100. "I'm dying..." push_string S100 func_call 184614973 // func[Say] shift_sp -1 shift_sp -1 push_event // myself push_const 704 add fetch_i func_call 184549616 // func[Despawn] shift_sp -1 L117 L113 handler_end |
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 82
|
Quote:
i put in this code skill id (1395), and put into ai.obj and nothing work. help |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|