Find the attack damage

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Melody

Member
Jan 19, 2021
17
1
3
23
So im trying to make a system so I can make a sword do 30% of the base attack. But I need to find the base damage to do so. This is what I have got for now and it only says "generic attack damage"

on damage:
if uncolored name of the tool of attacker is "Archer's Knife":
set {damage.%attacker%} to attack damage
send "%{damage.%attacker%}%" to attacker
else:
cancel event
send "&cThis aint a weapon! Or Is it just a bug! If you believe this is a bug please report it to admins!" to attacker
 
Status
Not open for further replies.