Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.04.2005, 18:11   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Notes]Some Baium skills

thx to 极速火龙




skill_begin skill_name = [s_Earthquake] /* [地震] */ skill_id = 4129 level = 1 operate_type = A1 magic_level = 70 effect = {{i_m_attack;880}} is_magic = 0 mp_consume2 = 0 cast_range = 1000 effective_range = 1400 skill_hit_time = 5.2 skill_cool_time = 2.8 skill_hit_cancel_time = 2.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 800 affect_object = not_friend next_action = none skill_end

skill_begin skill_name = [s_Striking_of_Thunderbolt] /* [落雷] */ skill_id = 4130 level = 1 operate_type = A1 magic_level = 70 effect = {{i_m_attack;1550}} is_magic = 0 mp_consume2 = 0 cast_range = 1500 effective_range = 1600 skill_hit_time = 25.2 skill_cool_time = 30.8 skill_hit_cancel_time = 5.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 1200 affect_object = not_friend next_action = none skill_end
Digital is offline  
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  
Old 13.04.2005, 03:38   #3
fantasy
Архивный участник
 
Join Date: Apr 2005
Posts: 1
Default

Digital
你是谁啊。。。
fantasy is offline  
Old 13.04.2005, 11:59   #4
Nya-o
Архивный участник
 
Join Date: Feb 2005
Posts: 35
Default

^_^
Nya-o is offline  
Old 13.04.2005, 15:31   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

thx to fantasy121

自己写的巴温的5个技能,测试可用,� ��载使用都无错。pch自己填加了,懒得 再复制了。今天无时间研究多技能的AI 了,明天研究~不过总算技能定义完成� ��技能的类型和hittime对照客户端写的� �各位自己想改也可以,不影响使用。
如果觉得攻击低了,自己在在effect里� �改。effect_point没必要动。范围小了也� ��己改affect_range,建议别改得太大了~� �
掌风和地震都是以巴温为目标,即targe t_type为self,施展的范围魔法,掌风加� ��fly_away效果,具体是什么效果自己试� ��就知道了。落雷是以目标为中心的一 个范围魔法。麻痹是以目标为中心的� �个范围麻痹。
如果有什么错误请指出。
skill_begin skill_name = [s_baium_normal_attack] /* [巴温一般攻击] */ skill_id = 4127 level = 1 operate_type = A1 magic_level = 80 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 100 effective_range = 150 skill_hit_time = 1.5 skill_cool_time = 0.7 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_energy_wave] /* [掌风] */ skill_id = 4128 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;1200};{i_fly_away}} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 2.3 skill_cool_time = 2.7 skill_hit_cancel_time = 0.5 reuse_delay = 0 activate_rate = -1 lv_bonus_rate = 0 basic_property = none abnormal_time = 0 abnormal_lv = 1 abnormal_type = fly_away attribute = attr_wind effect_point = -200 target_type = self affect_scope = point_blank affect_range = 200 affect_object = not_friend next_action = none skill_end
skill_begin skill_name = [s_earth_quake] /* [地震]] */ skill_id = 4129 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;1000}} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 1.5 skill_cool_time = 2 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_earth effect_point = -100 target_type = self affect_scope = point_blank affect_range = 200 affect_object = not_friend next_action = none skill_end
skill_begin skill_name = [s_thunderbolt] /* [落雷] */ skill_id = 4130 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;800}} is_magic = 0 mp_consume2 = 0 cast_range = 900 effective_range = 1200 skill_hit_time = 1.5 skill_cool_time = 2 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_fire 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 = [s_group_hold] /* [麻痹] */ skill_id = 4131 level = 1 operate_type = A2 magic_level = 80 effect = {{p_block_act}} is_magic = 0 mp_consume2 = 0 cast_range = 900 effective_range = 1200 skill_hit_time = 3.6 skill_cool_time = 2.2 skill_hit_cancel_time = 0.5 reuse_delay = 0 activate_rate = 50 lv_bonus_rate = 1 basic_property = con abnormal_time = 120 abnormal_lv = 1 abnormal_type = paralyze attribute = attr_paralyze effect_point = -100 target_type = enemy affect_scope = range affect_range = 200 affect_object = not_friend next_action = none abnormal_visual_effect = ave_paralyze skill_end
Digital is offline  
Old 13.04.2005, 18:26   #6
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

Not that this needed it but thought what the hell

1st post:

skill_begin skill_name = [s_Earthquake] /* [earthquake ] */ skill_id = 4129 level = 1 operate_type = A1 magic_level = 70 effect = {{i_m_attack;880}} is_magic = 0 mp_consume2 = 0 cast_range = 1000 effective_range = 1400 skill_hit_time = 5.2 skill_cool_time = 2.8 skill_hit_cancel_time = 2.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 800 affect_object = not_friend next_action = none skill_end

skill_begin skill_name = [s_Striking_of_Thunderbolt] /* [Falls the thunder] */ skill_id = 4130 level = 1 operate_type = A1 magic_level = 70 effect = {{i_m_attack;1550}} is_magic = 0 mp_consume2 = 0 cast_range = 1500 effective_range = 1600 skill_hit_time = 25.2 skill_cool_time = 30.8 skill_hit_cancel_time = 5.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 1200 affect_object = not_friend next_action = none skill_end

Other stuff was just talking about his friend.


Last post:

Own write the Pakistan warm 5 skills, the test may use, the increase use is all correct. Pch filled in added, was disinclined to duplicate again. Today non- time study multi- skills AI, tomorrow has studied the ~ only finally skill definition to complete. The skill type and the hittime comparison customer end writes, each own want to change also may, does not affect the use. If thought the attack has lowered, own in change inside effect. The effect_point necessity has not moved. Scope small also own changed affect_range, suggested did not change too big ~. The palm wind and the earthquake all are Israeli and Palestine warm is a goal, namely target_type is self, displays the scope black magic, holds the wind to join the fly_away effect, was concrete is any effect tries to know. Falls the thunder is take the goal as a central scope black magic. The paralysis is as a central scope is lacking in vigilance take the goal. If has any mistake please to point out.


skill_begin skill_name = [s_baium_normal_attack] /* [Pakistan warm general attack] */ skill_id = 4127 level = 1 operate_type = A1 magic_level = 80 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 100 effective_range = 150 skill_hit_time = 1.5 skill_cool_time = 0.7 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_energy_wave] /* [Palm wind] */ skill_id = 4128 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;1200};{i_fly_away}} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 2.3 skill_cool_time = 2.7 skill_hit_cancel_time = 0.5 reuse_delay = 0 activate_rate = -1 lv_bonus_rate = 0 basic_property = none abnormal_time = 0 abnormal_lv = 1 abnormal_type = fly_away attribute = attr_wind effect_point = -200 target_type = self affect_scope = point_blank affect_range = 200 affect_object = not_friend next_action = none skill_end
skill_begin skill_name = [s_earth_quake] /* [Earthquake]] */ skill_id = 4129 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;1000}} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 1.5 skill_cool_time = 2 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_earth effect_point = -100 target_type = self affect_scope = point_blank affect_range = 200 affect_object = not_friend next_action = none skill_end
skill_begin skill_name = [s_thunderbolt] /* [Falls the thunder] */ skill_id = 4130 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;800}} is_magic = 0 mp_consume2 = 0 cast_range = 900 effective_range = 1200 skill_hit_time = 1.5 skill_cool_time = 2 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_fire 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 = [s_group_hold] /* [Paralysis] */ skill_id = 4131 level = 1 operate_type = A2 magic_level = 80 effect = {{p_block_act}} is_magic = 0 mp_consume2 = 0 cast_range = 900 effective_range = 1200 skill_hit_time = 3.6 skill_cool_time = 2.2 skill_hit_cancel_time = 0.5 reuse_delay = 0 activate_rate = 50 lv_bonus_rate = 1 basic_property = con abnormal_time = 120 abnormal_lv = 1 abnormal_type = paralyze attribute = attr_paralyze effect_point = -100 target_type = enemy affect_scope = range affect_range = 200 affect_object = not_friend next_action = none abnormal_visual_effect = ave_paralyze skill_end

Just transed the [ ] parts and lil txt on bottom
Dubie is offline  
Old 06.06.2005, 14:56   #7
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

hello,

i tried to implement Baium skills:

[s_baium_normal_attack]
[s_energy_wave]
[s_earth_quake]
[s_thunderbolt]
[s_group_hold]

and it seems working but it is missing some animations when i set Baium Skills on my char, animations i have are [s_energy_wave] and [s_thunderbolt]...

Tx for ur help

NB: C2 Server, C2 Client
krapno is offline  
 


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 15:16.