Creating an Armor that heals for a small percentage after you kill a mob

  • Nero
  • Nero's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
2 weeks 4 days ago #9759 by Nero
Looking for ideas on how to accomplish this without having to change around code or cause any exploitation.

I have something similar on a wieldable item that randomly does a heal proc so it would be something based off that.
Any help would be great!
Name: 'Anduril Heal Proc',  VNum: [20043], RNum: [ 2118]
Trigger Intended Assignment: Objects
Trigger Type: Random , Numeric Arg: 100, Arg list: None
Commands:
eval actor %self.worn_by%
if !%actor%
halt
end
if %actor.pos% != Fighting
halt
end
  switch %random.8%
    case 1
if !%actor%
halt
end
      %echo% %self.shortdesc% briefly glows with a blue aura.
      %damage% %actor% -55
    break
    case 2
if !%actor%
halt
end
      %echo% %self.shortdesc% briefly glows with a blue aura.
      %damage% %actor% -60
    break
    case 3
if !%actor%
halt
end
      %echo% %self.shortdesc% briefly glows with a blue aura.
      %damage% %actor% -65
    break
    case 4
if !%actor%
halt
end
      %echo% %self.shortdesc% briefly glows with a blue aura.
      %damage% %actor% -70
    break
    default
    break
  done

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #9762 by Parnassus
Please login to view the answers

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #9763 by thomas
Please login to view the answers

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #9764 by Parnassus
Please login to view the answers

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds