Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12.04.2005, 19:21   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

some more contribution from feiyu88

SKILLDATA
skill_begin skill_name = [baium1] /* [?? ?? ?? ??] */ skill_id = 4128 level = 1 operate_type = A1 magic_level = 70 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 50 effective_range = 400 skill_hit_time = 2.2 skill_cool_time = 0.8 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 100 affect_object = not_friend next_action = none skill_end skill_begin skill_name = [baium2] /* [?? ?? ?? ??] */ skill_id = 4129 level = 1 operate_type = A1 magic_level = 70 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 50 effective_range = 400 skill_hit_time = 2.2 skill_cool_time = 0.8 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 100 affect_object = not_friend next_action = none skill_end skill_begin skill_name = [baium3] /* [?? ?? ?? ??] */ skill_id = 4130 level = 1 operate_type = A1 magic_level = 70 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 50 effective_range = 400 skill_hit_time = 2.2 skill_cool_time = 0.8 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 100 affect_object = not_friend next_action = none skill_end skill_begin skill_name = [baium4] /* [?? ?? ?? ??] */ skill_id = 4131 level = 1 operate_type = A1 magic_level = 70 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 50 effective_range = 400 skill_hit_time = 2.2 skill_cool_time = 0.8 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 100
affect_object = not_friend next_action = none skill_end


skill_pch.txt
[baium1] = 1056769
[baium2] = 1057025
[baium3] = 1057281
[baium4] = 1057537


skill_pch2.txt
1056769 50 0 0 3 -100 29 -1 0 3 -2 0 -12345
1057025 50 0 0 3 -100 29 -1 0 3 -2 0 -12345
1057281 50 0 0 3 -100 29 -1 0 3 -2 0 -12345
1057537 50 0 0 3 -100 29 -1 0 3 -2 0 -12345


//AI
class ai_boss01_lilith : party_leader_aggressive
parameter_define_begin
string Privates "lilith1:lilith1:1:160sec;lilith2:lilith2:1:160sec ;lilith3:lilith3:1:160sec"
float Attack_DecayRatio 6.600000
float UseSkill_DecayRatio 660xx.xx0000
float Attack_BoostValue 5xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
parameter_define_end
class_end

class lilith : ai_boss01_lilith
class_end

class ai_boss01_lilith1 : party_private
class_end

class lilith1 : ai_boss01_lilith1
class_end

class ai_boss01_lilith2 : party_private
class_end

class lilith2 : ai_boss01_lilith2
class_end

class ai_boss01_lilith3 : party_private
class_end

class lilith3 : ai_boss01_lilith3
class_end



class ai_boss10_baium : party_private
parameter_define_begin
float Attack_DecayRatio 6.600000
float UseSkill_DecayRatio 660xx.xx0000
float Attack_BoostValue 5xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
int DDMagic 1056769
parameter_define_end

handler 5 // SEE_CREATURE
variable_begin
"creature"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_event // creature
push_const 68
add
fetch_i
func_call 115 // func[Castle_GetPledgeState]
shift_sp -1
push_const 2
not_equal
branch_false L3826
L3825
shift_sp 1
push_parameter DDMagic
func_call 155 // func[Skill_GetConsumeMP]
shift_sp -1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // mp
push_const 352
add
fetch_d
less
push_reg_sp
fetch_i
branch_false L3827
shift_sp 1
push_parameter DDMagic
func_call 154 // func[Skill_GetConsumeHP]
shift_sp -1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // hp
push_const 344
add
fetch_d
less
and
push_reg_sp
fetch_i
branch_false L3827
shift_sp 1
push_parameter DDMagic
func_call 160 // func[Skill_InReuseDelay]
shift_sp -1
push_const 0
equal
and
L3827
branch_false L3829
L3828
shift_sp 1
push_event // creature
push_const 68
add
fetch_i
push_parameter DDMagic
push_const 0
push_const 1
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L3829
L3826
handler_end

handler 23 // CLAN_ATTACKED
variable_begin
"attacker"
"damage"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_event // attacker
push_const 36
add
fetch_i
func_call 115 // func[Castle_GetPledgeState]
shift_sp -1
push_const 2
not_equal
branch_false L3831
L3830
push_event // attacker
push_const 36
add
fetch_i // is_pc
push_const 108
add
fetch_i
push_const 0
not_equal
push_reg_sp
fetch_i
branch_true L3832
shift_sp 1
push_const 9
push_event // attacker
push_const 36
add
fetch_i // npc_class_id
push_const 1620
add
fetch_i
func_call 143 // func[IsInCategory]
shift_sp -2
or
L3832
push_reg_sp
fetch_i
branch_false L3833
shift_sp 1
push_const 100
func_call 55 // func[Rand]
shift_sp -1
push_const 10
less
and
L3833
branch_false L3835
L3834
shift_sp 1
push_parameter DDMagic
func_call 155 // func[Skill_GetConsumeMP]
shift_sp -1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // mp
push_const 352
add
fetch_d
less
push_reg_sp
fetch_i
branch_false L3836
shift_sp 1
push_parameter DDMagic
func_call 154 // func[Skill_GetConsumeHP]
shift_sp -1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i // hp
push_const 344
add
fetch_d
less
and
push_reg_sp
fetch_i
branch_false L3836
shift_sp 1
push_parameter DDMagic
func_call 160 // func[Skill_InReuseDelay]
shift_sp -1
push_const 0
equal
and
L3836
branch_false L3838
L3837
shift_sp 1
push_event // attacker
push_const 36
add
fetch_i
push_parameter DDMagic
push_const 0
push_const 1
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L3838
L3835
L3831
handler_end

class_end

class baium : ai_boss10_baium
class_end



注:这是1个朋友共享给我的~自己那来 发了~~希望那朋友不要怪我~~

发点东西~也只是想大家多为天2做点贡 献。AI里可能有错误,大家看看修改下 把,我对AI不了解。

今天个那位朋友聊了会~呵呵~~让他见� �了~~
Digital 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:55.