|
Post by Darth Maul on Aug 25, 2018 6:02:16 GMT
Healing Scripts (For All Vocations):The first set of scripts use my vocation checking script to determine which vocation you are, and outputs the $voc variable. You can find that here: elfbotscripts.freeforums.net/thread/182/vocation-checking-using-elfbotEK - Knightauto 100 | dontlist | if [$voc == 'Knight'] {if [$hppc <= 90] {say 'Exana Mort'} | if [$level < 130 && $hppc <= 75] {useoncreature 239 self | end} | if [$level >= 130 && $hppc <= 75] {useoncreature 7643 self | end} | if [$mppc <= 20] {useoncreature 238 self | end}} Mage - Druid & Sorcererauto 100 | dontlist | if [$voc == 'Mage'] {if [$self.hppc < 90 && $self.hppc > 61] {say 'Exura Gran' | end} | if [$self.hppc < 60] {say 'Exura Vita' | end}} auto 1000 | dontlist | if [$voc == 'Mage' && $mppc < 50] {gmana self} RP - Paladinauto 100 | dontlist | if [$voc == 'Paladin'] {if [$hppc <= 85] {say 'exura san'} | if [$hppc <= 60 || $mppc <= 50] {useoncreature 7642 self | end}}
If you know what vocation you are, and don't want to use the vocation checking script, you can use these scripts for each vocation: EK - Knightauto 100 | dontlist | if [$hppc <= 90] {say 'Exana Mort'} | if [$level < 130 && $hppc <= 75] {useoncreature 239 self | end} | if [$level >= 130 && $hppc <= 75] {useoncreature 7643 self | end} | if [$mppc <= 20] {useoncreature 238 self | end} Mage - Druid & Sorcererauto 100 | dontlist | if [$self.hppc < 90 && $self.hppc > 61] {say 'Exura Gran' | end} | if [$self.hppc < 60] {say 'Exura Vita' | end}} auto 1000 | dontlist | if [$voc == 'Mage' && $mppc < 50] {gmana self RP - Paladinauto 100 | dontlist | if [$hppc <= 85] {say 'exura san'} | if [$hppc <= 60 || $mppc <= 50] {useoncreature 7642 self | end}
|
|
davidasaur
Full Member
Posts: 25 Likes: 15
Currently Offline
Last Online: Jul 15, 2024 14:26:59 GMT
View Profile
Registered On: Feb 2, 2016 15:39:50 GMT
|
Post by davidasaur on Mar 8, 2020 21:18:15 GMT
This is great, is there anyway to make this level based also? So for all vocations, and levels <=80, use health pot and mana pot to heal, then >80 <130 use strong health pot and strong mana pot, then have these kick in at <=130. I am trying to put some scripts together to level a character from 8-200 and struggle with the healing part.
|
|
|
Post by Darth Maul on Mar 9, 2020 9:03:20 GMT
If you use the vocation checking script, you can use $voc to check the character's vocation. You can also use the $level variable, which is already inbuilt to check the player's level.
|
|
davidasaur
Full Member
Posts: 25 Likes: 15
Currently Offline
Last Online: Jul 15, 2024 14:26:59 GMT
View Profile
Registered On: Feb 2, 2016 15:39:50 GMT
|
Post by davidasaur on Mar 11, 2020 2:00:09 GMT
EK - Knight
auto 100 | dontlist | if [$voc == 'Knight'] {if [$mppc <= 50] {useoncreature 268 self} | end}
auto 100 | dontlist | if [$voc == 'Knight'] {if [$level < 30 && $hppc <= 85] {say 'exura'} | end}
auto 100 | dontlist | if [$voc == 'Knight'] {if [$level < 30 && $hppc <= 85] {useoncreature 266 self} | end}
auto 100 | dontlist | if [$voc == 'Knight'] {if [$level >= 30 && $hppc <= 80] {say 'exana mort'} | end}
auto 100 | dontlist | if [$voc == 'Knight'] {if [$level >= 130 && $hppc <= 60] {useoncreature 7643 self} | end} Mage - Druid & Sorcerer
auto 100 | dontlist | if [$voc == 'Mage'] {if [$level < 80 && $hppc <= 75] {say 'exura gran'} | end}
auto 100 | dontlist | if [$voc == 'Mage'] {if [$level < 80 && $mppc <= 50] {useoncreature 268 self} | end}
auto 100 | dontlist | if [$voc == 'Mage'] {if [$level >= 80 && $hppc <= 75] {say 'exura vita'} | end}
auto 100 | dontlist | if [$voc == 'Mage'] {if [$level >= 80 && $mppc <= 50] {useoncreature 238 self} | end} RP - Paladin
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level < 80 && $hppc <= 75] {say 'exura gran'} | end}
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level < 50 && $mppc <= 50] {useoncreature 268 self} | end}
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level >= 80 && $hppc <= 75] {say 'exura san'} | end}
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level >= 50 && $mppc <= 50] {useoncreature 237 self} | end}
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level >= 80 && $hppc <= 45] {useoncreature 7642 self} | end}
|
|
davidasaur
Full Member
Posts: 25 Likes: 15
Currently Offline
Last Online: Jul 15, 2024 14:26:59 GMT
View Profile
Registered On: Feb 2, 2016 15:39:50 GMT
|
Post by davidasaur on Mar 18, 2020 16:33:03 GMT
After some helpful input from Darth Maul, this is what I'm using today! For RPs, make sure you switch it from GSP to SMP depending on what your are using.
---------Healing--------- auto 100 | dontlist | if [$voc == 'Knight'] {if [$mppc <= 50] {useoncreature 268 self} | end} auto 100 | dontlist | if [$voc == 'Knight'] {if [$level < 30 && $hppc <= 85] {say 'exura' | end} | if [$level >= 30 && $hppc <= 90] {say 'exana mort' | end}} auto 100 | dontlist | if [$voc == 'Knight'] {if [$level < 30 && $hppc <= 85] {useoncreature 266 self | end} | if [$level >= 130 && $hppc <= 45] {useoncreature 7643 self | end}}
auto 100 | dontlist | if [$voc == 'Mage'] {if [$level < 80 && $hppc <= 75] {say 'exura gran' | end} | if [$level >= 80 && $hppc <= 75] {say 'exura vita' | end}} auto 100 | dontlist | if [$voc == 'Mage'] {if [$level < 80 && $mppc <= 50] {useoncreature 268 self | end} | if [$level >= 80 && $mppc <= 50] {useoncreature 238 self | end}}
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level < 80 && $hppc <= 75] {say 'exura gran' | end} | if [$level >= 80 && $hppc <= 75] {say 'exura san' | end}} auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level < 50 && $mppc <= 50] {useoncreature 268 self | end} | if [$level >= 50 && $mppc <= 50] {useoncreature 7642 self | end}}
|
|
apoaclipsick
New Member
Posts: 4 Likes: 0
Currently Offline
Last Online: Sept 14, 2024 11:50:25 GMT
View Profile
Registered On: May 12, 2023 16:29:00 GMT
|
Post by apoaclipsick on May 15, 2023 0:04:03 GMT
After some helpful input from Darth Maul, this is what I'm using today! For RPs, make sure you switch it from GSP to SMP depending on what your are using. ---------Healing--------- auto 100 | dontlist | if [$voc == 'Knight'] {if [$mppc <= 50] {useoncreature 268 self} | end} auto 100 | dontlist | if [$voc == 'Knight'] {if [$level < 30 && $hppc <= 85] {say 'exura' | end} | if [$level >= 30 && $hppc <= 90] {say 'exana mort' | end}} auto 100 | dontlist | if [$voc == 'Knight'] {if [$level < 30 && $hppc <= 85] {useoncreature 266 self | end} | if [$level >= 130 && $hppc <= 45] {useoncreature 7643 self | end}}
auto 100 | dontlist | if [$voc == 'Mage'] {if [$level < 80 && $hppc <= 75] {say 'exura gran' | end} | if [$level >= 80 && $hppc <= 75] {say 'exura vita' | end}} auto 100 | dontlist | if [$voc == 'Mage'] {if [$level < 80 && $mppc <= 50] {useoncreature 268 self | end} | if [$level >= 80 && $mppc <= 50] {useoncreature 238 self | end}}
auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level < 80 && $hppc <= 75] {say 'exura gran' | end} | if [$level >= 80 && $hppc <= 75] {say 'exura san' | end}} auto 100 | dontlist | if [$voc == 'Paladin'] {if [$level < 50 && $mppc <= 50] {useoncreature 268 self | end} | if [$level >= 50 && $mppc <= 50] {useoncreature 7642 self | end}}
im rp 123 and it only waste spirit potion and never use strong mana
|
|