Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.7 KB

Weapon.md

File metadata and controls

45 lines (36 loc) · 1.7 KB

Weapon

Properties

Name Type Description Notes
ankama_id int [optional]
name str [optional]
description str [optional]
type TranslatedId [optional]
is_weapon bool always true when the item is a weapon. Many fields are now available. Always check for this flag first when getting single equipment items. [optional]
level int [optional]
pods int [optional]
image_urls Images [optional]
effects List[Effect] [optional]
conditions ConditionNode [optional]
critical_hit_probability int [optional]
critical_hit_bonus int [optional]
max_cast_per_turn int [optional]
ap_cost int [optional]
range Range [optional]
recipe List[Recipe] [optional]
parent_set TranslatedId [optional]

Example

from dofusdude.models.weapon import Weapon

# TODO update the JSON string below
json = "{}"
# create an instance of Weapon from a JSON string
weapon_instance = Weapon.from_json(json)
# print the JSON string representation of the object
print(Weapon.to_json())

# convert the object into a dict
weapon_dict = weapon_instance.to_dict()
# create an instance of Weapon from a dict
weapon_from_dict = Weapon.from_dict(weapon_dict)

[Back to Model list] [Back to API list] [Back to README]