Skip to content

Instantly share code, notes, and snippets.

@svperfecta
Last active February 3, 2017 21:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svperfecta/8d2bfa1a702227a294ec54582fd818c0 to your computer and use it in GitHub Desktop.
Save svperfecta/8d2bfa1a702227a294ec54582fd818c0 to your computer and use it in GitHub Desktop.
Artifactory Format
{
"data": {
"type": "artifact",
"id": "", // Optional - Can be provided or will be automatically created. If provided *must* be unique for each new version of the champ (or new versions will overwrite old ones)
"attributes": {
slug: "taka", // Required, no spaces, used for urls - We will calculate this.
name: "Taka", // Required
class: "hero", // Abitrary, intended to be word no spaces like hero, ability, faction, item
title: "Blade in Shadow", // Optional
description: "You are Taka of House Kamuha. I have unburdened your mind of memory and remorse. This is my gift to you. It is a great honor to be of House Kamuha. You are of House Kamuha... SAY IT!", // Optional, can support html for markup
patchVersion: "1.15", // Required
stats: {
// Completely arbitrary data, can contain, ie:
"hp": 340, // Arbitrary
"hpperlevel": 70, // Arbitrary
"mp": 100, // Arbitrary
"mpperlevel": 0, // Arbitrary
"movespeed": 345, // Arbitrary
"armor": 26, // Arbitrary
"armorperlevel": 4, // Arbitrary
"spellblock": 32.1, // Arbitrary
"spellblockperlevel": 1.25, // Arbitrary
"attackrange": 125, // Arbitrary
"hpregen": 6, // Arbitrary
"hpregenperlevel": 0.75, // Arbitrary
//NOTE: You can actually (if you like) embed things like abilities here if they don't warrant a separate artifact.
},
notes: "Kaku - Heal per second up from 40/45/50/55/85 to 40/50/60/70/100.", // Arbtrary, intended for release notes so community can display changes over time, supports HTML tags,
tags: ["melee, assassin", "jungle"]
},
"links": {
// ... This is where our service will automatically attach CDN-enabled links to assets uploaded for this artifact
},
"relationships": {
"artifacts": {
"data": [
{ "type": "artifact", id: "abc-123"}, // Service will create a linkage between this artifact and another (for example, an ability),
{ "type": "artifact", id: "abc-1234"} // Service will create a linkage between this artifact and another (for example, an ability)
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment