Hello,
I'm wondering if it is possible to make a 'proc' trigger for an action.
Example,
Requirement action
	actions: rand(90) => nothing
	 	 rand(10) => ability
	requirements: state (in combat since 0)
Idea being if in combat give a 10% chance to trigger this ability which means it would basically always happen if in combat long enough, but not necessarily immediately. 
I haven't tried this yet, but I'm assuming as long as the check for in_combat state doesn't only fire once this should work.
Thoughts?
Thanks,
tigo
			'Proc' trigger action
									12 Aug 2019, 17:35 PM
				
	#1					
								
					
				
		
Posts: 80
									12 Aug 2019, 19:28 PM
				
	#2					
								
					
				
		
 
    		            							
			    		Posts: 317
Hello,
I'm wondering if it is possible to make a 'proc' trigger for an action.
Example,
Requirement action
actions: rand(90) => nothing
rand(10) => ability
requirements: state (in combat since 0)
Idea being if in combat give a 10% chance to trigger this ability which means it would basically always happen if in combat long enough, but not necessarily immediately.
I haven't tried this yet, but I'm assuming as long as the check for in_combat state doesn't only fire once this should work.
Thoughts?
Thanks,
tigo
What ability would you have in mind with this? Some special shot or?
									13 Aug 2019, 13:00 PM
				
	#3					
								
					
				
		
Posts: 80
What ability would you have in mind with this? Some special shot or?
Something along the lines of a critical hit where it would trigger a stun/tread destroy or by triggering an ability. Alternatively, add a timed upgrade that would buff reload/accuracy or something to that effect.
									13 Aug 2019, 15:13 PM
				
	#4					
								
					
				
		
 
    		            							
			    		Posts: 317
Something along the lines of a critical hit where it would trigger a stun/tread destroy or by triggering an ability. Alternatively, add a timed upgrade that would buff reload/accuracy or something to that effect.
OK, let's start with the easier one.
1. Reload/Accuracy buff
For this, you don't need any ability. To your requirement_action add to the action the according modifier.
2. Triggering criticals
Here I would make it switch weapons. The switched weapon would have under damage > on_penetrated_action your rand action that would have the criticals in it. You could do this also to deflection > on_deflected_action.
I hope this gives you an idea of how you could approach in your modding.
									14 Aug 2019, 16:37 PM
				
	#5					
								
					
				
		
Posts: 80
OK, let's start with the easier one.
1. Reload/Accuracy buff
For this, you don't need any ability. To your requirement_action add to the action the according modifier.
2. Triggering criticals
Here I would make it switch weapons. The switched weapon would have under damage > on_penetrated_action your rand action that would have the criticals in it. You could do this also to deflection > on_deflected_action.
I hope this gives you an idea of how you could approach in your modding.
This is excellent, thank you!
One thing, the point of the ability is to make it timed so that it doesn't last forever. So it's not a permanent buff to reload/accuracy/etc. it would only last for a period of time before the cooldown.
									14 Aug 2019, 16:40 PM
				
	#6					
								
					
				
		
 
    		            							
			    		Posts: 317
This is excellent, thank you!
One thing, the point of the ability is to make it timed so that it doesn't last forever. So it's not a permanent buff to reload/accuracy/etc. it would only last for a period of time before the cooldown.
There is a timed action that you could mess around with.
									14 Aug 2019, 16:45 PM
				
	#7					
								
					
				
		
Posts: 80
There is a timed action that you could mess around with.
Oh right Ill give that a try. Thanks for the replies
PAGES (1)
		
	1 user is browsing this thread: 
	1 guest	
	
		
	
Livestreams
|   |   |   | 85 | ||
|   |   |   | 56 | ||
|   |   |   | 15 | ||
|   |   |   | 11 | ||
|   |   |   | 4 | ||
|   |   |   | 4 | ||
|   |   |   | 4 | 
Ladders Top 10
- 
							#Steam AliasWL%Streak
- 1.46367.874+5
- 2.794136.854-1
- 3.14465.689-1
- 4.21154.796+4
- 5.400212.654+2
- 6.296127.700+2
- 7.353186.655+2
- 8.501325.607+4
- 9.327117.736+4
- 10.857232.787+4
Replay highlight
VS
					- 
									 cblanco ★ cblanco ★
- 
									 보드카 중대 보드카 중대
- 
									 VonManteuffel VonManteuffel
- 
									 Heartless Jäger Heartless Jäger
 
											
						Einhoven Country
						
							
								
									 
								
								 
								
								
				 
								
								Honor it
								15
							
						
						
												
							
								
									 
								
								Download
								2705
							
						
												
					Board Info
						1061 users are online:
									1061 guests
					
		
			0 post in the last 24h
0 post in the last week
22 posts in the last month
		
		0 post in the last week
22 posts in the last month
			
			
				Registered members: 61828
Welcome our newest member, Cecone32
Most online: 4501 users on 26 Oct 2025, 01:00 AM
	Welcome our newest member, Cecone32
Most online: 4501 users on 26 Oct 2025, 01:00 AM
 
	 
			 
			 
  
  
  
										 
									 
 
 
						 
						 
						 
						 
						 
						 Relic Entertainment
						 Relic Entertainment