mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
finish linting server
This commit is contained in:
@@ -13,8 +13,12 @@ const api = {};
|
||||
* @apiGroup User
|
||||
*
|
||||
|
||||
* @apiParam (Path) {String=fireball, mpheal, earth, frost, smash, defensiveStance, valorousPresence, intimidate, pickPocket, backStab, toolsOfTrade, stealth, heal, protectAura, brightness, healAll} spellId The skill to cast.
|
||||
* @apiParam (Query) {UUID} targetId Query parameter, necessary if the spell is cast on a party member or task. Not used if the spell is case on the user or the user's current party.
|
||||
* @apiParam (Path) {String=fireball, mpheal, earth, frost, smash, defensiveStance,
|
||||
* valorousPresence, intimidate, pickPocket, backStab, toolsOfTrade,
|
||||
* stealth, heal, protectAura, brightness, healAll} spellId The skill to cast.
|
||||
* @apiParam (Query) {UUID} targetId Query parameter, necessary if the spell is
|
||||
* cast on a party member or task. Not used if the spell
|
||||
* is casted on the user or the user's current party.
|
||||
* @apiParamExample {json} Query example:
|
||||
* Cast "Pickpocket" on a task:
|
||||
* https://habitica.com/api/v3/user/class/cast/pickPocket?targetId=fd427623...
|
||||
@@ -22,7 +26,8 @@ const api = {};
|
||||
* Cast "Tools of the Trade" on the party:
|
||||
* https://habitica.com/api/v3/user/class/cast/toolsOfTrade
|
||||
*
|
||||
* @apiSuccess data Will return the modified targets. For party members only the necessary fields will be populated. The user is always returned.
|
||||
* @apiSuccess data Will return the modified targets. For party members only
|
||||
* the necessary fields will be populated. The user is always returned.
|
||||
*
|
||||
* @apiDescription Skill Key to Name Mapping
|
||||
* Mage
|
||||
|
||||
Reference in New Issue
Block a user