-
Notifications
You must be signed in to change notification settings - Fork 7
Server Scripts SkillPch2
Basic skill properties, table
skill_pch2.txt
769 40 0 10 4 -52 0 -1 0 2 11 0 -12345
1026 -1 0 41 0 438 0 54 2 1 599 0 -12345
4097 40 0 9 4 -52 0 -1 0 2 9 0 -12345
769 50 0 10 3 -52 29 -1 0 2 11 0 -12345
- 769=ID (skill_pch)
- 50=cast_range
- 0=hp_consume
- 10=mp_consume1 + mp_consume2
- 3=target_type
- -52=effect_point
- 29=attribute
- -1=abnormal_type
- 0=abnormal_lv
- 2=hit_time
- 11=reuse
- 0=is_magic
- -12345=fixed value, end of skill record
STGT_XXX values from manual_pch.
[STGT_SELF] = 0
[STGT_TARGET] = 1
Lastest values 0=self 1=target 3=enemy 4=enemy_only 5=item 6=summon 7=holything 9=door_treasure 10=pc_body 11=npc_body
attr_XXX values from manual_pch.
[attr_sword] = 1
[attr_earth] = 9
[attr_unholy] = 20
ab_XXX values from manual_pch.
-1=none
0=pa_up
1=pa_up_special
30=poison
74=song_of_earth
hit_time = skill_hit_time + skill_cool_time
Formula: [Reuse_Delay - (Skill_Hit_Time - Skill_Hit_Cancel_Time)
Example: skill_hit_time=1.08 skill_cool_time = 0.72 skill_hit_cancel_time=0.5 reuse_delay=13
reuse = 11
reuse_delay - (skill_hit_time + skill_cool_time)
reuse_delay - (skill_hit_time - skill_cool_time)
if is_magic 1 else 0