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

[Library] Damage Library


Best Answer Deftsu , 05 April 2017 - 03:25

Updated for patch 7.7.

Go to the full post »


  • This topic is locked This topic is locked
95 replies to this topic

#1
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

this is designed to calculate the damage of the skills to champions, although the calculations work for minions too

 

Function :

getdmg("SKILL",target)

Full Function :

getdmg("SKILL",target,Source,stagedmg,spelllvl)

Usage :

require "DamageLib"

local target = GetCurrentTarget()
local damage = getdmg("Q",target,myHero,3)

These Function will Return the Damage Value Ex : 250

 

Skills:

"Q"
"W"
"E"
"R"
"QM" - Q in melee form (Jayce, Nidalee and Elise only)
"WM" - W in melee form (Jayce, Nidalee and Elise only)
"EM" - E in melee form (Jayce, Nidalee and Elise only)

Spelllvl :

 

Use spelllvl only if you want to specify the level of skill

 

Download :https://raw.githubus...n/DamageLib.lua


  • 4

#2
ButterSmooth

ButterSmooth

    Advanced Member

  • Members
  • 710 posts
Extragoz Kappa
  • 0

#3
jocabadass

jocabadass

    Member

  • Members
  • 19 posts

gozei


  • 0

#4
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Updated Documentation


  • 0

#5
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

1. No script link? It should not be approved without a link. keppo

2. The only member for credit is not linked :fappa:


  • 0

#6
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

1. No script link? It should not be approved without a link. keppo
2. The only member for credit is not linked :fappa:


the member doesnt even exist here, i believe it had a link before latest post edit
  • 0

#7
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

the member doesnt even exist here, i believe it had a link before latest post edit

Why you give credit to someone that dont exist in GOS? :fappa:

No there still isnt.


  • 0

#8
SkyForge

SkyForge

    Advanced Member

  • Premium
  • 351 posts
Hello, thanks for the release. I just can't see any download link so i can try it.
  • 0

#9
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Hello, thanks for the release. I just can't see any download link so i can try it.

added.


  • 0

#10
ButterSmooth

ButterSmooth

    Advanced Member

  • Members
  • 710 posts

Why you give credit to someone that dont exist in GOS? :fappa:
No there still isnt.

Becuz i assume he looked at his code somewhat got the logic and perhaps ported it ? :fappa:
  • 0

#11
SkyForge

SkyForge

    Advanced Member

  • Premium
  • 351 posts
Kindred is missing?
  • 0

#12
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Kindred is missing?

yeah, need to update some values too :)


  • 0

#13
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,196 posts
  • LocationGuess the right City to win 10$

Why you give credit to someone that dont exist in GOS? :fappa:

No there still isnt.

Because he deserves.

U want to get Credits on your stuff if someone post ur things in other forums?

I would


  • 0

#14
honguide

honguide

    Newbie

  • Members
  • 7 posts

Okey one general question. I tested a lot of different scripts for pretty much the whole time and I like all the work you done. Especially with the new update of the easy install and updating for the scripts. But there is one thing that I dont really understand jet. scripts for champs that I wanna use, I simply check the script that I need. But the dmg libs etc how do they work and what do I do with them? Do I just install them like the other ones or put in common and they get accessed from the scripts? and do I need to update them manually? so I basically dont get the little extras that you can add kinda.

Greetings and keep up the good work


  • 0

#15
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Okey one general question. I tested a lot of different scripts for pretty much the whole time and I like all the work you done. Especially with the new update of the easy install and updating for the scripts. But there is one thing that I dont really understand jet. scripts for champs that I wanna use, I simply check the script that I need. But the dmg libs etc how do they work and what do I do with them? Do I just install them like the other ones or put in common and they get accessed from the scripts? and do I need to update them manually? so I basically dont get the little extras that you can add kinda.
Greetings and keep up the good work


just put it in common.. well its already there when you open the loader, and please understand this once and forever : Libs => Common
  • 0

#16
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,141 posts
Plans on adding Kindred?
  • 0

#17
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Plans on adding Kindred?


im back home, soon™ ^^
  • 0

#18
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts
added kindred.
  • 0

#19
luanweigert

luanweigert

    Newbie

  • Members
  • 7 posts

DeftLib,inspired Overnight we had a quick update the aforementioned scripts stopped working among others


  • 0

#20
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

DeftLib,inspired Overnight we had a quick update the aforementioned scripts stopped working among others


they are working fine.. what about DamageLib ?? :huh:
  • 0




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users