Description
A persistent action that will heal your friends with Exura Sio and Exura Gran Mas Res.
Prioritizes Mass Healing.
Configuration
Set Sio to true or false to enable/disable Exura Sio.
Set MasRes to true or false to enable/disable Exura Gran Mas Res.
Code
init start
local SioFriends = {"Bubble", "Eternal Oblivion"} -- People to heal with Exura Sio
local MasResFriends = {"Astronis", "Riku"} -- People to heal with Exura Gran Mas Res
local settings = {
Sio = true,
HPPCsio = 80, -- Your FRIEND(S) Health % to cast Sio
SelfMPPCsio = 15, -- YOUR min. Mana % to cast Sio
SelfHPPCsio = 50, -- YOUR min. HP % to cast Sio
MasRes = true,
MinMasRes = 1, -- Min. people below HPPCmasres to cast.
HPPCmasres = 80, -- Your FRIEND(S) Health % to cast mas res
SelfMPPCmasres = 15, -- YOUR min. Mana % to cast Exura Gran Mas Res
SelfHPPCmasres = 20 --- YOUR min. HP % to cast Exura Gran Mas Res
}
init end
auto(350)
local amount = 0
if settings.MasRes then
if cancastspell("exura gran mas res") then
foreach creature masres "ps" do
if table.find(MasResFriends, masres.name) then
if isonspellarea(masres, "exura gran mas res", "any") and (masres.hppc <= settings.HPPCmasres) and ($mppc >= settings.SelfMPPCmasres) and ($hppc >= settings.SelfHPPCmasres) then
amount = amount+1
end
end
end
if (amount >= settings.MinMasRes) then
cast("exura gran mas res")
end
end
end
if settings.Sio then
if (amount < settings.MinMasRes) then
if cancastspell("Heal Friend") then
foreach creature sio "ps" do
if table.find(SioFriends, sio.name) and (sio.isshootable) then
if (sio.hppc <= settings.HPPCsio) and ($mppc >= settings.SelfMPPCsio) and ($hppc >= settings.SelfHPPCsio) then
cast('exura sio "'..sio.name)
end
end
end
end
end
end
02-08-2015, 03:26 PM
gaspardbobs
very cool, I'll test
02-09-2015, 11:40 AM
Riku
Quote:
Originally Posted by gaspardbobs
very cool, I'll test
Awesome, would love to hear any reply about how it works :)
02-09-2015, 12:50 PM
wybocenooba
idk how to use it "my" scripts using exura gran and exura vita and trun off it when me and my friend got less then 90% hp here i need to be without exura gran and vita only mas res or what?
02-09-2015, 05:38 PM
Riku
Quote:
Originally Posted by wybocenooba
idk how to use it "my" scripts using exura gran and exura vita and trun off it when me and my friend got less then 90% hp here i need to be without exura gran and vita only mas res or what?
Yeah i've seen your version and it turns off spell healer (personal healing) when it needs to use Exura Gran Mas Res. If you want to consider yourself as a target for Mas Res you have to edit yourself in to the list.
This script is mainly healing while having utamo vita on, did not implement any feature which turns off Spell Healer when using Mas Res (although you can adjust your Min HPPC to use it, and if it would go below that your normal spell healer would use f.e Exura Vita which would heal you to full which a Mas Res might have not done).
With that being said, I can edit in so it turns off Spell Healer, but the script v1.0.0 is mainly based on healing your friends rather than healing YOU and your friends.
local MasResFriends = {"wybocenooba", "aZe"} -- People to heal with Exura Gran Mas Res
02-09-2015, 07:46 PM
wybocenooba
i dont want turn off bc i think its slow or something like that when friend have monsters and my hp is less then 90% bot use exura gran then turn off healing and turn on again ... in my vision should be mas res when my hp is less then 90% even when knight have more then % to sio him
local settings = {
Sio = true,
HPPCsio = 80, -- Will cast Exura Sio when your Friends HP % is below this.
SelfMPPCsio = 15, -- IF your Mana % goes below this it will not cast sio
SelfHPPCsio = 50, -- If your HP % goes below this it will not cast sio
MasRes = true,
MinMasRes = 2, -- Amount of people to be below HPPCmasres % in HP to cast Exura Gran Mas Res
HPPCmasres = 60, -- Will consider a person to Exura Gran Mas Res when he drops in HP% below this number, will also make sure its in range otherwise ignored. You can put yourself in the list.
SelfMPPCmasres = 15, -- Will not use Mas Res if your MANA% goes below this
SelfHPPCmasres = 80 --- Will not use Mas Res if your HP% goes below this (can be useful if you get combod to 10% HP and need to use Exura Vita where Mas Res wouldnt make u full HP)
}
Read the green text that I put in here for the settings. I tried to explain them as good as I could and the script will prioritize Mas Res over Sio. It will not use Sio if Mas Res is needed to be cast.
EDIT: Download the script again, I changed the order of Mas Res and Sio, thinking about it twice that might have an effect on it Prioritizing Mas Res over Sio as intended.
02-10-2015, 09:08 AM
wybocenooba
hmm to heal me it using only mas res or i have to turn on my healing with exura gran and vita and script blocking it when using mas res or "he" spaming both spells?
and next thing; i need 2 sio 1 on ek when he have 90% and second for rp when he have 50% but to mas res i need my hp 90% ek hp 90% and paladin only for mas res 70%
You should use your original Spell Healer aswell, would recommend not to use Exura though (if you're doing it).
It will never use Exura Sio or Mas Res if the spells are on cooldown (f.e if you use Exura Gran).
Oh and your "next thing" would require me to rewrite about... a lot of the script.
Not saying I couldn't do it but I think you underestimate what this script can put out. :P
04-05-2015, 07:06 PM
xvdazvx
@Riku for your script to work i must always use mana shield? ek just died when i used it i wasn't using mana shield
No, this script can be used with or without manashield.
I personally do not have a druid so I can't test it too much (although i've tested the Sio and it works perfectly).
I am a bit unsure of the Mas Res but technically should work with no problems.
What settings do you use, can you copy/paste your script settings here?
04-05-2015, 07:11 PM
xvdazvx
init start
local SioFriends = {"name", "Eternal Oblivion"} -- People to heal with Exura Sio
local MasResFriends = {"name", "aZe"} -- People to heal with Exura Gran Mas Res
local settings = {
Sio = true,
HPPCsio = 65, -- Your FRIENDS Health % to cast Sio
SelfMPPCsio = 15, -- YOUR min. Mana % to cast Sio
SelfHPPCsio = 50, -- YOUR min. HP % to cast Sio
MasRes = true,
MinMasRes = 2, -- Min. people below HPPCmasres to cast.
HPPCmasres = 40, -- Your FRIEND(S) Health % to cast mas res
SelfMPPCmasres = 15, -- YOUR min. Mana % to cast Exura Gran Mas Res
SelfHPPCmasres = 80 --- YOUR min. HP % to cast Exura Gran Mas Res
}
init end
auto(350)
local amount = 0
if settings.MasRes then
if cancastspell("exura gran mas res") then
foreach creature masres "ps" do
if table.find(MasResFriends, masres.name) then
if isonspellarea(masres, "exura gran mas res", "any") and (masres.hppc <= settings.HPPCmasres) and ($mppc >= settings.SelfMPPCmasres) and ($hppc >= settings.SelfHPPCmasres) then
amount = amount+1
end
end
end
if (amount >= settings.MinMasRes) then
cast("exura gran mas res")
end
end
end
if settings.Sio then
if (amount < settings.MinMasRes) then
if cancastspell("Heal Friend") then
foreach creature sio "ps" do
if table.find(SioFriends, sio.name) then
if (sio.hppc <= settings.HPPCsio) and ($mppc >= settings.SelfMPPCsio) and ($hppc >= settings.SelfHPPCsio) then
cast('exura sio "'..sio.name)
end
end
end
end
end
end
04-05-2015, 07:12 PM
xvdazvx
im level 202 im not really sure what to edit on the top part all i changed is the name of the people to heal and 65%hp? to heal ek
(its at roshy i had a silencer on me and he had creatures around him so i was healing myself with the build in bot healer as well as using your script to sio him)
my healing settings are exura 85-88 exura gran 70 73 exura vita 50-59
Okay so let me explain how it works with your settings:
Exura Sio:
The script will NOT use Exura Sio if there are X people to use Exura Gran Mas Res on (MinMasRes).
The script will try to heal your friend with SIO when he is below 65% (HPPCsio).
The script will NOT use Exura Sio if YOUR mana % is below 15% (SelfMPPCsio).
The script will NOT use Exura Sio if YOUR hp % is below 50% (SelfHPPCsio).
Exura Gran Mas Res:
If you want to consider yourself as a "target" in MinMasRes, put yourself in the MasResFriends list.
The script will count all players in the list below 40% HP and add to the MinMasRes count (HPPCmasres).
The script will NOT use Mas Res if your mana is below 15% (SelfMPPCmasres).
The script will NOT use Mas Res if your health is below 80% (SelfHPPCmasres).
With all of that out of the way, was there any chance your health went below 50% (SelfHPPCsio) or 80% (SelfHPPCmasres) when your friend died? Because again, the script will NOT use any of the spells if your health goes below those settings, same with mana for the mana settings..
04-05-2015, 07:37 PM
xvdazvx
yes that is no doubt what happened that is why i asked that the script only works mana shield :) since its not going to heal my party if i have a creature on me cause a silencer/frazzle will take my hp bu 50% easy with 1 hit which in turn will not heal my knight....so its basically best to use manashield to ensure my party is safe @Riku
I do sometimes nowadays, still haven't tested the mas res functionality however (when I made the script I didn't have a druid), so that still needs to be done.
I know for a fact that the Sio works like a charm, though.
I do sometimes nowadays, still haven't tested the mas res functionality however (when I made the script I didn't have a druid), so that still needs to be done.
I know for a fact that the Sio works like a charm, though.
ahh well i need so the mas res function works but i havent tested.
I tested it today, it works 100%, surprisingly since it was written when I couldn't even test it, once.
It has been slightly tweaked (I updated it, small detail).
It will always prioritze Mas Res over Sio if targets are in range of mas res.
I tested it today, it works 100%, surprisingly since it was written when I couldn't even test it, once.
It has been slightly tweaked (I updated it, small detail).
It will always prioritze Mas Res over Sio if targets are in range of mas res.
would you mind post your copy? with the % etc settings. And one more question do you use any self healing to? like exura gran/ exura vita if so what % is those set to?
I am pretty much using the default ones that I put, just that I change the healing% on friend numbers depending on what I need.
One thing to consider, though, is that if you would like to heal yourself with Mas Res or Sio you should put your own name in the list.
local SioFriends = {"HanzHanz", "Eternal Oblivion"} -- People to heal with Exura Sio
local MasResFriends = {"HanzHanz", "Riku"} -- People to heal with Exura Gran Mas Res
And if you want a bit more priority in healing yourself you should have MinMasRes set to 1 (default). Then it will always use Mas Res when there is one target to heal with Mas Res (who is also in range, and it's you! boom).
MinMasRes = 1, -- Min. people below HPPCmasres to cast.
I am pretty much using the default ones that I put, just that I change the healing% on friend numbers depending on what I need.
One thing to consider, though, is that if you would like to heal yourself with Mas Res or Sio you should put your own name in the list.
local SioFriends = {"HanzHanz", "Eternal Oblivion"} -- People to heal with Exura Sio
local MasResFriends = {"HanzHanz", "Riku"} -- People to heal with Exura Gran Mas Res
And if you want a bit more priority in healing yourself you should have MinMasRes set to 1 (default). Then it will always use Mas Res when there is one target to heal with Mas Res (who is also in range, and it's you! boom).
MinMasRes = 1, -- Min. people below HPPCmasres to cast.
thank you very much for the explanation gonna try it out now :D
03-06-2016, 03:17 PM
Carnufex
@Riku, There should be something focusing the knight.
e.g
The paladin goes low enough for mas res, or the paladin and the sorcerer. The knight has 8 powerfull monsters surrounding him and will definitly die without sio's.
If the druid and sorcerer are in range for mas res and the knight is not, the knight will die.
This could be solved by implementing priority or using navigation to check the status of the knight.
Yes, this is true, it seems it works as intended however, seeing as you're not posting any error, more like a detail.
It can be solved by not mas ressing your other friends if the real critical thing is to sio the knight, or to move your character out of mas res range from EK.
Alternatively, try this funky version. I think it's what you want and it should work, be very careful during testing though :-)
init start
local SioFriends = {"Bubble", "Eternal Oblivion"} -- People to heal with Exura Sio
local MasResFriends = {"Astronis", "Riku"} -- People to heal with Exura Gran Mas Res
local settings = {
Sio = true,
ForceHeal = true, -- true/false to prioritize Sio.
HPPCsio = 80, -- Your FRIEND(S) Health % to cast Sio
SelfMPPCsio = 15, -- YOUR min. Mana % to cast Sio
SelfHPPCsio = 50, -- YOUR min. HP % to cast Sio
MasRes = true,
MinMasRes = 1, -- Min. people below HPPCmasres to cast.
HPPCmasres = 80, -- Your FRIEND(S) Health % to cast mas res
SelfMPPCmasres = 15, -- YOUR min. Mana % to cast Exura Gran Mas Res
SelfHPPCmasres = 20 --- YOUR min. HP % to cast Exura Gran Mas Res
}
init end
auto(350)
local amount = 0
local temp = 0
if settings.ForceHeal then
foreach creature masres "ps" do
if table.find(MasResFriends, masres.name) then
if isonspellarea(masres, "exura gran mas res", "any") and (masres.hppc <= settings.HPPCmasres) and ($mppc >= settings.SelfMPPCmasres) and ($hppc >= settings.SelfHPPCmasres) then
temp = temp + 1
end
end
end
end
if settings.Sio then
if (temp < settings.MinMasRes) or (ForceHeal) then
if cancastspell("Heal Friend") then
foreach creature sio "ps" do
if table.find(SioFriends, sio.name) and (sio.isshootable) then
if (sio.hppc <= settings.HPPCsio) and ($mppc >= settings.SelfMPPCsio) and ($hppc >= settings.SelfHPPCsio) then
cast('exura sio "'..sio.name)
end
end
end
end
end
end
if settings.MasRes then
if cancastspell("exura gran mas res") then
foreach creature masres "ps" do
if table.find(MasResFriends, masres.name) then
if isonspellarea(masres, "exura gran mas res", "any") and (masres.hppc <= settings.HPPCmasres) and ($mppc >= settings.SelfMPPCmasres) and ($hppc >= settings.SelfHPPCmasres) then
amount = amount+1
end
end
end
if (amount >= settings.MinMasRes) then
cast("exura gran mas res")
end
end
end
The thing is; I only want mas res to be used when the knight is either fine (he is doing ok without sio) or he is in range for mas res. In most other cases I want it to sio the knight before using mas res with one exception, When I (the druid) myself has low hp. Then its fine to use mas res without giving a single fuck about the knight.
I don't know if you tested it or not, but what you've drawn on the whiteboard for me is exactly what I had in mind when I edited it for you, looking at my response and possible solutions again I have no idea what I was thinking.
The way I intended to fix the new version that I sent you, is that it will first do an iteration to check how many people are in need of a masres.
Depending on how many people needs a mas res it will then either use sio or masres, unless you ticked the option ForceHeal to true (default).
Then it will always, no matter what, if anyone needs a sio, it will sio.
Okay, that's the intention, if the knight is the only one on your sio list then it SHOULD use sio regardless of how many people needs a mas res, and it does not use sio if your health/mana is under:
SelfMPPCsio = 15, -- YOUR min. Mana % to cast Sio
SelfHPPCsio = 50, -- YOUR min. HP % to cast Sio
Be careful during your testing though, I don't know if the edit works 100%, but the idea was written down and it should do (i've looked through it several times) what I told you it does.
On the other hand, how often would this occur and how does your Paladin and Sorcerer take that much damage anyway?
If it doesn't work and you died, i'll rewrite the whole script for you and everyone else. No problem, i'm much better today anyway.
07-20-2017, 08:49 PM
dudureno
Quote:
Originally Posted by Riku
Awesome, would love to hear any reply about how it works :)
Does the mas res action knows if your friend is inside the mas res area? Because, if its not you will do mas res and heal your self only.
And if its not inside the mas res area you should heal your self with exura vita, for example.