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

About SpellData: need a short description of each field


Best Answer Noddy , 24 April 2017 - 06:22

SpellData
.ammo = Corki R | Akali R ... stacks
.
ammoCd =  Max cooldown for those stacks
.
ammoCurrentCd = Currect 
cooldown for those stacks
.toggleState = Jinx Q, Amumu W ...
.width = LuxQ 70 | LuxE 340 -- Cant trust all the numbers anyway
.targetingType = Point and click, self cast, skillshot
 

Go to the full post »


  • Please log in to reply
2 replies to this topic

#1
MonkeyKid

MonkeyKid

    Advanced Member

  • Members
  • 112 posts
  • LocationBrazil

I'm getting to all the GameObject types, and I noticed I don't know much about many of them. bellow I write a bit of pseudocode, and ask about what each field means. All types bellow are representations of tables obtained from calling Lua fields or methods on a GameObject

(just this one, for starters)

type SpellData
{
    string name;
    byte level;
    float castTime; //I imagine this is the static value it takes for any spell to be cast.
    float cd;
    float currentCd;
    float ammo; //What is this?
    float ammoTime; //What is this?
    float ammoCd; //What is this?
    float ammoCurrentCd; //What is this?
    [UNKNOWN] toggleState; //what is this? Like Cho'gath's E? true or false (boolean)?
    float range;
    float mana;
    float width; //what does this field means? For example, imagining Lux's E, Lux's Q, Aatrox E, what would this be?
    float speed;
    [UNKNOWN] targetingType; //what is this?
    float coneAngle; //some skills don't have this? Only conic skills have this?
    float coneDistance; //same as above.
    float acceleration;
    [UNKNOWN] castFrame; //what is this?
   float maxSpeed;
   float minSpeed;
};

  • 0

#2
Noddy

Noddy

    Surrender The Throne

  • Scripts Developer
  • 500 posts
✓  Best Answer

SpellData
.ammo = Corki R | Akali R ... stacks
.
ammoCd =  Max cooldown for those stacks
.
ammoCurrentCd = Currect 
cooldown for those stacks
.toggleState = Jinx Q, Amumu W ...
.width = LuxQ 70 | LuxE 340 -- Cant trust all the numbers anyway
.targetingType = Point and click, self cast, skillshot
 


  • 1

#3
MonkeyKid

MonkeyKid

    Advanced Member

  • Members
  • 112 posts
  • LocationBrazil

SpellData
.ammo = Corki R | Akali R ... stacks
.
ammoCd =  Max cooldown for those stacks
.
ammoCurrentCd = Currect 
cooldown for those stacks
.toggleState = Jinx Q, Amumu W ...
.width = LuxQ 70 | LuxE 340 -- Cant trust all the numbers anyway
.targetingType = Point and click, self cast, skillshot
 

Thank you very much!


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users