- Posts: 66
- Thank you received: 1
Creating an Armor that heals for a small percentage after you kill a mob
- Nero
-
Topic Author
- Offline
- Senior Member
-
Less
More
6 months 1 week ago #9759
by Nero
Creating an Armor that heals for a small percentage after you kill a mob was created 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!
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.
- Parnassus
- Offline
- Administrator
-
Less
More
- Posts: 362
- Thank you received: 54
6 months 6 days ago #9762
by Parnassus
Replied by Parnassus on topic Creating an Armor that heals for a small percentage after you kill a mob
Please login to view the answers
Please Log in or Create an account to join the conversation.
- thomas
-
- Offline
- Administrator
-
Less
More
- Posts: 693
- Thank you received: 130
6 months 5 days ago #9763
by thomas
Replied by thomas on topic Creating an Armor that heals for a small percentage after you kill a mob
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Parnassus
- Offline
- Administrator
-
Less
More
- Posts: 362
- Thank you received: 54
6 months 5 days ago #9764
by Parnassus
Replied by Parnassus on topic Creating an Armor that heals for a small percentage after you kill a mob
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Shaoden
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 1
3 months 5 days ago #9778
by Shaoden
Replied by Shaoden on topic Creating an Armor that heals for a small percentage after you kill a mob
Please login to view the answers
The following user(s) said Thank You: thomas
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds