Autorius Tema: Masyvo duomenys  (Skaityta 222 kartus)

Neprisijungęs NikeLM2

  • Naujokas
  • *
  • Įrašai: 20
  • Karma: +0/-0
    • Žiūrėti profilį
Masyvo duomenys
« Įrašytas: 2014-02-15 18:15:32 pm »
Sveiki json masyve yra tokie duomenys:
'spells' =>
    array (size=4)
      0 =>
        array (size=18)
          'id' => string 'SkarnerVirulentSlash' (length=20)
          'name' => string 'Crystal Slash' (length=13)
          'description' => string 'Skarner lashes out with his claws, dealing physical damage to all nearby enemies and charging himself with Crystal Energy for several seconds if a unit is struck.  If he casts Crystal Slash again while powered by Crystal Energy, he deals bonus magic damage. Whenever he hits a target with Crystal Slash he gains a stacking buff that increases his attack speed for a few seconds.' (length=378)
          'tooltip' => string 'Skarner deals {{ e1 }} <span class="colorFF8C00">(+{{ f1 }})</span> physical damage to all nearby enemies. If a unit is struck, he charges himself with Crystal Energy for {{ e2 }} seconds and gains {{ e8 }}% attack speed for {{ e9 }} seconds, stacking up to 3 times.<br><br>While Skarner is charged, Crystal Slash deals {{ e5 }} <span class="color99FF99">(+{{ a1 }})</span> bonus magic damage.' (length=393)
          'leveltip' =>
            array (size=2)
              ...
          'image' =>
            array (size=7)
              ...
          'resource' => string '{{ cost }} Mana' (length=15)
          'maxrank' => int 5
          'cost' =>
            array (size=5)
              ...
          'costType' => string 'Mana' (length=4)
          'costBurn' => string '20/22/24/26/28' (length=14)
          'cooldown' =>
            array (size=5)
              ...
          'cooldownBurn' => string '3.5' (length=3)
          'effect' =>
            array (size=10)
              ...
          'effectBurn' =>
            array (size=10)
              ...
          'vars' =>
            array (size=2)
              ...
          'range' =>
            array (size=5)
              ...
          'rangeBurn' => string '350' (length=3)

Ir vienas iš jų turi tokią informaciją:
'tooltip' => string 'Skarner deals {{ e1 }} <span class="colorFF8C00">(+{{ f1 }})</span> physical damage to all nearby enemies. If a unit is struck, he charges himself with Crystal Energy for {{ e2 }} seconds and gains {{ e8 }}% attack speed for {{ e9 }} seconds, stacking up to 3 times.<br><br>While Skarner is charged, Crystal Slash deals {{ e5 }} <span class="color99FF99">(+{{ a1 }})</span> bonus magic damage.'
Mane domina šie {{ e8 }}, {{ e2 }}, čia turi būti šiokia tokia informacija kažkoks value kuris irgi yra masyve

Pilnas masyvas:
[code]{
   "tags": [
      "Fighter",
      "Assassin"
   ],
   "stats": {
      "attackrange": 125,
      "mpperlevel": 0,
      "mp": 0,
      "attackdamage": 51,
      "hp": 414,
      "hpperlevel": 86,
      "attackdamageperlevel": 3,
      "armor": 15,
      "mpregenperlevel": 0,
      "hpregen": 2.5,
      "critperlevel": 0,
      "spellblockperlevel": 1.25,
      "mpregen": 0,
      "attackspeedperlevel": 3.5,
      "spellblock": 30,
      "movespeed": 345,
      "attackspeedoffset": 0,
      "crit": 0,
      "hpregenperlevel": 0.5,
      "armorperlevel": 3.2
   },
   "enemytips": [
      "Riven has a great deal of mobility but she cannot move very far with any one skill. Rooting or Silencing her during her combo will greatly reduce her effectiveness.",
      "All of Riven's damage is physical, prioritize high armor if an opposing Riven gets out of control.",
      "Riven excels at dueling multiple melee attackers at once, as she will be on an almost equal footing damage-wise. If pairing up against Riven, don't go in as double melee until she has expended her full combo."
   ],
   "recommended": [
      {
         "champion": "Riven",
         "title": "RivenHA",
         "priority": false,
         "map": "12",
         "blocks": [
            {
               "items": [
                  {
                     "id": "1001",
                     "count": 1
                  },
                  {
                     "id": "1054",
                     "count": 1
                  },
                  {
                     "id": "1055",
                     "count": 1
                  },
                  {
                     "id": "2003",
                     "count": 2
                  }
               ],
               "type": "starting"
            },
            {
               "items": [
                  {
                     "id": "3158",
                     "count": 1
                  },
                  {
                     "id": "3134",
                     "count": 1
                  },
                  {
                     "id": "3181",
                     "count": 1
                  }
               ],
               "type": "essential"
            },
            {
               "items": [
                  {
                     "id": "3071",
                     "count": 1
                  },
                  {
                     "id": "3074",
                     "count": 1
                  },
                  {
                     "id": "3035",
                     "count": 1
                  },
                  {
                     "id": "3184",
                     "count": 1
                  }
               ],
               "type": "offensive"
            },
            {
               "items": [
                  {
                     "id": "3156",
                     "count": 1
                  },
                  {
                     "id": "3022",
                     "count": 1
                  }
               ],
               "type": "defensive"
            },
            {
               "items": [{
                  "id": "2003",
                  "count": 1
               }],
               "type": "Consumables"
            }
         ],
         "type": "riot",
         "mode": "ARAM"
      },
      {
         "champion": "Riven",
         "title": "RivenDM",
         "priority": false,
         "map": "8",
         "blocks": [
            {
               "items": [
                  {
                     "id": "1001",
                     "count": 1
                  },
                  {
                     "id": "1062",
                     "count": 1
                  },
                  {
                     "id": "2003",
                     "count": 2
                  }
               ],
               "type": "starting"
            },
            {
               "items": [
                  {
                     "id": "3158",
                     "count": 1
                  },
                  {
                     "id": "3134",
                     "count": 1
                  },
                  {
                     "id": "3181",
                     "count": 1
                  }
               ],
               "type": "essential"
            },
            {
               "items": [
                  {
                     "id": "3071",
                     "count": 1
                  },
                  {
                     "id": "3074",
                     "count": 1
                  },
                  {
                     "id": "3035",
                     "count": 1
                  }
               ],
               "type": "offensive"
            },
            {
               "items": [
                  {
                     "id": "3156",
                     "count": 1
                  },
                  {
                     "id": "3026",
                     "count": 1
                  }
               ],
               "type": "defensive"
            },
            {
               "items": [{
                  "id": "2003",
                  "count": 1
               }],
               "type": "Consumables"
            }
         ],
         "type": "riot",
         "mode": "ODIN"
      },
      {
         "champion": "Riven",
         "title": "RivenFB",
         "priority": false,
         "map": "12",
         "blocks": [
            {
               "items": [
                  {
                     "id": "1074",
                     "count": 1
                  },
                  {
                     "id": "2003",
                     "count": 1
                  },
                  {
                     "id": "3342",
                     "count": 1
                  }
               ],
               "type": "starting"
            },
            {
               "items": [
                  {
                     "id": "3158",
                     "count": 1
                  },
                  {
                     "id": "3134",
                     "count": 1
                  },
                  {
                     "id": "3181",
                     "count": 1
                  }
               ],
               "type": "essential"
            },
            {
               "items": [
                  {
                     "id": "3071",
                     "count": 1
                  },
                  {
                     "id": "3074",
                     "count": 1
                  },
                  {
                     "id": "3035",
                     "count": 1
                  }
               ],
               "type": "offensive"
            },
            {
               "items": [
                  {
                     "id": "3026",
                     "count": 1
                  },
                  {
                     "id": "3022",
                     "count": 1
                  },
                  {
                     "id": "3156",
                     "count": 1
                  }
               ],
               "type": "defensive"
            },
            {
               "items": [
                  {
                     "id": "2003",
                     "count": 1
                  },
                  {
                     "id": "2044",
                     "count": 1
                  }
               ],
               "type": "Consumables"
            }
         ],
         "type": "riot",
         "mode": "FIRSTBLOOD"
      },
      {
         "champion": "Riven",
         "title": "RivenSR",
         "priority": false,
         "map": "1",
         "blocks": [
            {
               "items": [
                  {
                     "id": "1054",
                     "count": 1
                  },
                  {
                     "id": "2003",
                     "count": 1
                  },
                  {
                     "id": "3340",
                     "count": 1
                  }
               ],
               "type": "starting"
            },
            {
               "items": [
                  {
                     "id": "3158",
                     "count": 1
                  },
                  {
                     "id": "3134",
                     "count": 1
                  },
                  {
                     "id": "3072",
                     "count": 1
                  }
               ],
               "type": "essential"
            },
            {
               "items": [
                  {
                     "id": "3071",
                     "count": 1
                  },
                  {
                     "id": "3074",
                     "count": 1
                  },
                  {
                     "id": "3035",
                     "count": 1
                  }
               ],
               "type": "offensive"
            },
            {
               "items": [
                  {
                     "id": "3026",
                     "count": 1
                  },
                  {
                     "id": "3022",
                     "count": 1
                  },
                  {
                     "id": "3156",
                     "count": 1
                  }
               ],
               "type": "defensive"
            },
            {
               "items": [
                  {
                     "id": "2003",
                     "count": 1
                  },
                  {
                     "id": "2044",
                     "count": 1
                  }
               ],
               "type": "Consumables"
            }
         ],
         "type": "riot",
         "mode": "CLASSIC"
      },
      {
         "champion": "Riven",
         "title": "RivenTT",
         "priority": false,
         "map": "10",
         "blocks": [
            {
               "items": [
                  {
                     "id": "1055",
                     "count": 1
                  },
                  {
                     "id": "1001",
                     "count": 1
                  }
               ],
               "type": "starting"
            },
            {
               "items": [
                  {
                     "id": "3158",
                     "count": 1
                  },
                  {
                     "id": "3134",
                     "count": 1
                  },
                  {
                     "id": "3181",
                     "count": 1
                  }
               ],
               "type": "essential"
            },
            {
               "items": [
                  {
                     "id": "3071",
                     "count": 1
                  },
                  {
                     "id": "3074",
                     "count": 1
                  },
                  {
                     "id": "3035",
                     "count": 1
                  }
               ],
               "type": "offensive"
            },
            {
               "items": [
                  {
                     "id": "3156",
                     "count": 1
                  },
                  {
                     "id": "3143",
                     "count": 1
                  }
               ],
               "type": "defensive"
            },
            {
               "items": [{
                  "id": "2003",
                  "count": 1
               }],
               "type": "Consumables"
            }
         ],
         "type": "riot",
         "mode": "CLASSIC"
      }
   ],
   "image": {
      "w": 48,
      "full": "Riven.png",
      "sprite": "champion2.png",
      "group": "champion",
      "h": 48,
      "y": 48,
      "x": 144
   },
   "spells": [
      {
         "range": [
            275,
            275,
            275,
            275,
            275
         ],
         "leveltip": {
            "effect": [
               "{{ e1 }} -> {{ e1NL }}",
               "{{ e5 }}% -> {{ e5NL }}%"
            ],
            "label": [
               "Base Damage",
               "Attack Damage Scaling"
            ]
         },
         "resource": "No Cost",
         "maxrank": 5,
         "effectBurn": [
            null,
            "10/30/50/70/90",
            "30/55/80/105/130",
            "150/225/300/375/450",
            "2",
            "40/45/50/55/60"
         ],
         "image": {
            "w": 48,
            "full": "RivenTriCleave.png",
            "sprite": "spell7.png",
            "group": "spell",
            "h": 48,
            "y": 96,
            "x": 432
         },
         "cost": [
            0,
            0,
            0,
            0,
            0
         ],
         "cooldown": [
            13,
            13,
            13,
            13,
            13
         ],
         "id": "RivenTriCleave",
         "vars": [{
            "link": "attackdamage",
            "coeff": [
               40,
               45,
               50,
               55,
               60
            ],
            "key": "f1"
         }],
         "rangeBurn": "275",
         "costType": "NoCost",
         "effect": [
            null,
            [
               10,
               30,
               50,
               70,
               90
            ],
            [
               30,
               55,
               80,
               105,
               130
            ],
            [
               150,
               225,
               300,
               375,
               450
            ],
            [
               2,
               2,
               2,
               2,
               2
            ],
            [
               40,
               45,
               50,
               55,
               60
            ]
         ],
         "cooldownBurn": "13",
         "description": "Riven lashes out in a series of strikes. This ability can be reactivated three times in a short time frame with the third hit knocking back nearby enemies.",
         "name": "Broken Wings",
         "costBurn": "0",
         "tooltip": "Riven strikes out in front of her in a short line. This ability may be reactivated {{ e4 }} additional times.

<span class=\"colorDDDD77\">1st and 2nd Use:<\/span> Slashes forward, dealing {{ e1 }} <span class=\"colorFF8C00\">(+{{ f1 }})<\/span> physical damage to all units she comes in contact with.
<span class=\"colorDDDD77\">3rd Use:<\/span> Leaps forward and slams the ground dealing {{ e1 }} <span class=\"colorFF8C00\">(+{{ f1 }})<\/span> physical damage and knocking nearby enemies up.  This leap can cross unpathable terrain.

<span class=\"colorDDDD77\">Riven will target the unit your cursor is hovering over, or if no targets are present, Riven will simply strike the direction she is currently facing.<\/span>"
      },
      {
         "range": [
            260,
            260,
            260,
            260,
            260
         ],
         "leveltip": {
            "effect": [
               "{{ e1 }} -> {{ e1NL }}",
               "{{ cooldown }} -> {{ cooldownnNL }}"
            ],
            "label": [
               "Damage",
               "Cooldown"
            ]
         },
         "resource": "No Cost",
         "maxrank": 5,
         "effectBurn": [
            null,
            "50/80/110/140/170",
            "40/70/100/130/160",
            "3",
            "0.75",
            "0.75"
         ],
         "image": {
            "w": 48,
            "full": "RivenMartyr.png",
            "sprite": "spell7.png",
            "group": "spell",
            "h": 48,
            "y": 144,
            "x": 0
         },
         "cost": [
            0,
            0,
            0,
            0,
            0
         ],
         "cooldown": [
            11,
            10,
            9,
            8,
            7
         ],
         "id": "RivenMartyr",
         "vars": [{
            "link": "bonusattackdamage",
            "coeff": 1,
            "key": "f1"
         }],
         "rangeBurn": "260",
         "costType": "NoCost",
         "effect": [
            null,
            [
               50,
               80,
               110,
               140,
               170
            ],
            [
               40,
               70,
               100,
               130,
               160
            ],
            [
               3,
               3,
               3,
               3,
               3
            ],
            [
               0,
               0,
               0,
               0,
               0
            ],
            [
               0,
               0,
               0,
               0,
               0
            ]
         ],
         "cooldownBurn": "11/10/9/8/7",
         "description": "Riven emits a Ki burst, damaging and stunning nearby enemies.",
         "name": "Ki Burst",
         "costBurn": "0",
         "tooltip": "Riven's sword emits a burst of runic energy that shocks nearby enemies, dealing {{ e1 }} <span class=\"colorFF8C00\">(+{{ f1 }})<\/span> physical damage and stunning them for {{ e5 }} seconds."
      },
      {
         "range": [
            325,
            325,
            325,
            325,
            325
         ],
         "leveltip": {
            "effect": [
               "{{ e2 }} -> {{ e2NL }}",
               "{{ cooldown }} -> {{ cooldownnNL }}"
            ],
            "label": [
               "Damage Blocked",
               "Cooldown"
            ]
         },
         "resource": "No Cost",
         "maxrank": 5,
         "effectBurn": [
            null,
            "90/120/150/180/210",
            "90/120/150/180/210",
            "4",
            "800"
         ],
         "image": {
            "w": 48,
            "full": "RivenFeint.png",
            "sprite": "spell7.png",
            "group": "spell",
            "h": 48,
            "y": 144,
            "x": 48
         },
         "cost": [
            0,
            0,
            0,
            0,
            0
         ],
         "cooldown": [
            10,
            9,
            8,
            7,
            6
         ],
         "id": "RivenFeint",
         "vars": [{
            "link": "bonusattackdamage",
            "coeff": 1,
            "key": "f1"
         }],
         "rangeBurn": "325",
         "costType": "NoCost",
         "effect": [
            null,
            [
               90,
               120,
               150,
               180,
               210
            ],
            [
               90,
               120,
               150,
               180,
               210
            ],
            [
               4,
               4,
               4,
               4,
               4
            ],
            [
               800,
               800,
               800,
               800,
               800
            ]
         ],
         "cooldownBurn": "10/9/8/7/6",
         "description": "Riven steps forward a short distance and blocks incoming damage.",
         "name": "Valor",
         "costBurn": "0",
         "tooltip": "Riven does a quick dash in the direction of your cursor and becomes shielded, blocking up to {{ e2 }} <span class=\"colorFF8C00\">(+{{ f1 }})<\/span> incoming damage for 1.5 seconds."
      },
      {
         "range": "self",
         "leveltip": {
            "effect": [
               "{{ e1 }} / {{ e2 }} -> {{ e1NL }} / {{ e2NL }}",
               "{{ cooldown }} -> {{ cooldownnNL }}"
            ],
            "label": [
               "Shockwave Damage",
               "Cooldown"
            ]
         },
         "resource": "No Cost",
         "maxrank": 3,
         "effectBurn": [
            null,
            "80/120/160",
            "240/360/480",
            "20",
            "15",
            "20"
         ],
         "image": {
            "w": 48,
            "full": "RivenFengShuiEngine.png",
            "sprite": "spell7.png",
            "group": "spell",
            "h": 48,
            "y": 144,
            "x": 96
         },
         "cost": [
            0,
            0,
            0
         ],
         "cooldown": [
            110,
            85,
            50
         ],
         "id": "RivenFengShuiEngine",
         "vars": [
            {
               "link": "bonusattackdamage",
               "coeff": 0.2,
               "key": "f3"
            },
            {
               "link": "bonusattackdamage",
               "coeff": 0.6,
               "key": "f1"
            },
            {
               "link": "bonusattackdamage",
               "coeff": 1.8,
               "key": "f2"
            }
         ],
         "rangeBurn": "self",
         "costType": "NoCost",
         "effect": [
            null,
            [
               80,
               120,
               160
            ],
            [
               240,
               360,
               480
            ],
            [
               20,
               20,
               20
            ],
            [
               15,
               15,
               15
            ],
            [
               20,
               20,
               20
            ]
         ],
         "cooldownBurn": "110/85/50",
         "description": "Riven empowers her keepsake weapon with energy and gains attack damage and range. Additionally, during this time, she gains the ability to use Wind Slash, a powerful ranged attack, once. ",
&

Manualai.lt Forumas

Masyvo duomenys
« Įrašytas: 2014-02-15 18:15:32 pm »