Make Debuff Skill

Posts 15 of 5 · Page 1 of 1
Make Debuff Skill
I'll use 'status_effect' in this post, then make Lann's liberalize to some kind of haste. (Sorry, frankly, it just slow debuff)


Here is script for buff and debuff

Code:
"10" "AE_ADD_STATUS_EFFECT #Status_Effect_Name# #value#"
"10"
	{
		"event"	"AE_DAMAGE_EXPLOSION #Current_Action_info# #values_radius # # #"
		"is_finally"	"1"
	}

Add this code into your lann's liberalize script
Code:
	"10"	"AE_ADD_STATUS_EFFECT	status_blaze	1"
	"10"
	{
		"event"	"AE_DAMAGE_EXPLOSION	Haste_Debuff_slow 10000 0 0 0"
		"is_finally"	"1"
	}
Code:
// + Afterimage
"10"	"AE_AFTERIMAGE_ENABLE"	// 잔상 이펙트 켬
	 "10"	"AE_AFTERIMAGE_SET_OPTION	time_base 0.015"	// 첫 잔상 시간차 기본값
	 "10"	"AE_AFTERIMAGE_SET_OPTION	time_ascent 0.01"	// 후속 잔상에 대한 시간차 증가값
	 "10"	"AE_AFTERIMAGE_SET_OPTION	alpha_base 0.4"	// 첫 잔상 알파 기본값
	 "10"	"AE_AFTERIMAGE_SET_OPTION	alpha_descent 0.1"	// 후속 잔상에 대한 알파 감소값
	 "10"	"AE_AFTERIMAGE_SET_OPTION	image_count 8"	// 잔상 개수
	 "10"	"AE_AFTERIMAGE_SET_OPTION	shot_time 0.005"	// 잔상 스냅샷 저장 주기
Add this code into action_table_player.txt
Code:
	"Haste_Debuff_slow"
	{
		"finish_attack"		"1"
		
		"status_effect" "skill_evy_slow 15"		
		
		"related_atk"		"MATK"
		"attack_type"		"BLUNT"
		"impulse_scale"		"2.0"
		"damage_factor"		"1"		
		"down_damage"		"1"
		
		"aggro"		"0"				
		
		"attack_hit_latch_time"			"0"
		"attack_blocked_latch_time"		"0"
		"critical_hit_enable" 			"0"

		"sp_gauge"	"1000"						
	}
If you want to edit moreover, just do it.

Here is original haste/slow script. (in status_effect.txt edit it and add codes propriate position)
Code:
"motion_speed"
{
	"type"	"motion_speed"
	
	// 모션 재생 속도 배율 곱해줌(백분율%) : 100이 기본 값(100%)
	"mul"
	{
		"default"	"arg1"
	}	
}

"attack_motion_speed"
{
	"type"	"attack_motion_speed"
	
	// 모션 재생 속도 배율 곱해줌(백분율%) : 100이 기본 값(100%)
	"mul"
	{
		"default"	"arg1"
	}	
}
Something like Bullet time, It will made by below process
1. Host timescale set lower (Using console: host_timescale 0.2 - I don't know how to link between scripts and console command....Is there anyone who can solve this?)
2. Increase motion/attack speed (by script)

Or, just make slow monsters, and phys_timescale set slowly.





Reference
Code:
heroes_status_effect_name_koreana.txt - name (for KR only)
heroes.db3 - (below Status_Effect category, can modifying duration, effects)
pc_lethita_motion.txt - Lann's motion script
_succubus_attack_motion.txt - Scripts for afterimage
action_table_player.txt - here is current action infomation
status_effect.txt - Base Forms of status effects
where to set "status_blaze"?
what does "skill_evy_slow 15" do?
Quote Originally Posted by raj72616a View Post
where to set "status_blaze"?
what does "skill_evy_slow 15" do?
status_blaze is in Heroes.db3 - under StatusEffectGroupInfo category. (Am I got it right? sorry my poor english.)

"skill_evy_slow 15" is evie's slow skill rank 1 (Radius debuff skill). Basically, it set object's motion speed to 40(basic 100), duration is 18sec.
Is that function the same as the SP skill evies are getting in Ep 7? Haven't tried it out yet.
so far i've tried motion speed, invincibility, health restore, stamina restore, poison damage over time status effects, and they are working.. stats increases are just visual and not effective..

i haven't tried yet but i think you can add status effects to projectiles
find the radius damage type in projectiles.txt, then look for the damage type in action_table_player.txt, and add in the status effect
Posts 15 of 5 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?