This is an API that anyone can use to calculate the resources and ergo needed to upgrade main character's level, weapons, mechanical arm and P-Organ. It also has a special mode to build up your character, and it will show the resulting stats, weight and cost.
HOME URL = https://countsofp.com
In order to understand weapon and arm levels, the API will follow the next rules:
Arm in game: -, I, II, III
Arm in API: 0, 1, 2, 3
Weapons in game: 0, +1, +2, +3, +4, +5, +6, +7, +8, +9, +10
Weapons in API: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
Body: JSON Example
{
"initial":{
"level":10,
"vitality":12,
"vigor":15,
"capacity":15,
"motivity":15,
"technique":15,
"advance":10
},
"final":{
"level":38,
"vitality":15,
"vigor":20,
"capacity":20,
"motivity":20,
"technique":20,
"advance":15
}
}
It gives a response with the result stats after increasing the attributes.
It gives a response with a list of all the amulets.
It gives a response with the data of the amulet with id = amuletId.
It gives a response with the data of the special weapon with id = weaponId.
It gives a response with the list of all the special weapons at all levels (1-6).
It gives a response with the list of all the special weapons at level 1.
It gives a response with the list of all special weapons that have a name similar to the keyword.
Body: JSON Example
{
"weaponName":"Holy sword of the ark",
"currentLevel":2,
"finalLevel":5
}
It gives a response with the result stats and cost of the weapon upgrade from level A to level B. It includes modified handle, that can have values [null, "motivity", "technique", "advance"].
It gives a response with the data of the blade with id = bladeId.
It gives a response with the list of all the blades at all levels (1-11).
It gives a response with the list of all the blades at level 1.
It gives a response with the list of all blades that have a name similar to the keyword.
It gives a response with the data of the handle with id = handleId.
It gives a response with the list of all the handles.
It gives a response with the list of all handles that have a name similar to the keyword.
Body: JSON Example
{
"bladeName":"Bramble curved sword blade",
"currentLevel":3,
"finalLevel":11,
"handleId":3
}
It gives a response with the result stats and cost of the weapon upgrade from level A to level B. It includes modified handle, that can have values [null, "motivity", "technique", "advance"].
Body: JSON Example
{
"initialLevel":1,
"finalLevel":3
}
It gives a response with the cost of materials of upgrading the arm from level A to level B.
Body: JSON Example
{
"1":4,
"2":0,
"3":2,
"4":1
}
It gives a response with the Quartz cost of upgrading X nodes in each P Organ level.
WARNING: Each level past level 1 needs 2 previous nodes upgraded to unlock. It is needed 2 nodes to unlock level 2, 4 nodes to unlock level 3, 6 nodes to unlock level 4, etc.
It gives a response with the data of the armor with id = armorId.
It gives a response with a list of all armors.
Body: JSON Example
{
"initialAttributesBody":{
"level":10,
"vitality":12,
"vigor":15,
"capacity":15,
"motivity":15,
"technique":15,
"advance":10
},
"finalAttributesBody":{
"level":38,
"vitality":15,
"vigor":20,
"capacity":20,
"motivity":20,
"technique":20,
"advance":15,
"amuletIds":[
2,
4,
15,
21,
24
]
},
"isWeaponS": true,
"statsWeaponNBody": null,
"statsWeaponSBody":{
"weaponName":"Holy sword of the ark",
"currentLevel":2,
"finalLevel":5,
"modifier":"motivity"
},
"armorPiecesIds":[
6,
34,
64,
95
]
}
It gives a response with the result stats of the main character and his weapon, including current weight, and the resources needed (ergo and materials) to upgrade main character from level A to B and weapon from level C to D. It also can add armor pieces and amulets. It includes modified handle , that can have values [null, "motivity", "technique", "advance"].
WARNING: *Armor pieces must be different type (there are 4 types/slots of defensive pieces in the game), and can not be more than 4 pieces. *Amulets can not be more than 5 at the same time.