To start off, I am not too advanced in doing a lot of big skripting but I've been trying to practice them. I've been trying to make a perk skript with this code:
I tried to base it off of a previous one I made which worked:
However, I get indentation errors and the skript cannot understand the condition/effect {ragemeter:%attacker%}
I have Skript, SKQuery, and skRayFall
code_language.skript:
on damage of a player:
if attacker is a player:
if {ragemeter:%attacker%} is 1
if {rage:%attacker%} is 1:
apply strength 3 to the attacker for 3 seconds
set {ragemeter:%attacker%} to 0
wait 5 seconds
set {ragemeter:%attacker%} to 1
if {ragemeter:%attacker%} is 0
stop
I tried to base it off of a previous one I made which worked:
code_language.skript:
on damage of a player:
if attacker is a player:
if {poison:%attacker%} is 1:
apply poison 1 to the victim for 10 seconds
I have Skript, SKQuery, and skRayFall