Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Skill names, buffs, etc..


  • Please log in to reply
1 reply to this topic

#1
Breil

Breil

    Newbie

  • Members
  • 4 posts

I'm trying to create a script for evelynn, but I'm having problems with the Q. The first Q needs to dodge minions, the next ones do not. I also want Eve to use the E if she can not launch the first Q successfully. I need to separate both codes and I guess I can do it through the names of the skills.

 

Codes like this:

["Braum"] = {buff = "BraumShieldRaise", amount = function(target) return 1 - ({0.3, 0.325, 0.35, 0.375, 0.4})[target:GetSpellData(_E).level] end},
["Galio"] = {buff = "GalioIdolOfDurand", amount = function(target) return 0.5 end},
["Garen"] = {buff = "GarenW", amount = function(target) return 0.7 end},
["Gragas"] = {buff = "GragasWSelf", amount = function(target) return ({0.1, 0.12, 0.14, 0.16, 0.18})[target:GetSpellData(_W).level] end},
["Malzahar"] = {buff = "malzaharpassiveshield", amount = function(target) return 0.01 end}

That's what I mean, where do I get the names of the skills and the buffs?

 

Thx

 


  • 0

#2
iSaga

iSaga

    Advanced Member

  • Trial Developer
  • 559 posts


I'm trying to create a script for evelynn, but I'm having problems with the Q. The first Q needs to dodge minions, the next ones do not. I also want Eve to use the E if she can not launch the first Q successfully. I need to separate both codes and I guess I can do it through the names of the skills.


Codes like this:

["Braum"] = {buff = "BraumShieldRaise", amount = function(target) return 1 - ({0.3, 0.325, 0.35, 0.375, 0.4})[target:GetSpellData(_E).level] end},
["Galio"] = {buff = "GalioIdolOfDurand", amount = function(target) return 0.5 end},
["Garen"] = {buff = "GarenW", amount = function(target) return 0.7 end},
["Gragas"] = {buff = "GragasWSelf", amount = function(target) return ({0.1, 0.12, 0.14, 0.16, 0.18})[target:GetSpellData(_W).level] end},
["Malzahar"] = {buff = "malzaharpassiveshield", amount = function(target) return 0.01 end}

That's what I mean, where do I get the names of the skills and the buffs?

Thx

In your code that displays level using getspelldata. Use .name and that gives name. Buffs you must use a loop through all of a heros buff to find the buff you are looking for.
  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users