Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.92 KB

Weapon.md

File metadata and controls

47 lines (38 loc) · 1.92 KB

Weapon

Properties

Name Type Description Notes
ankama_id int [optional]
name str [optional]
description str [optional]
type ItemsListEntryTypedType [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 ImageUrls [optional]
effects List[EffectsEntry] [optional]
conditions List[ConditionEntry] [optional]
condition_tree ConditionTreeNode [optional]
critical_hit_probability int [optional]
critical_hit_bonus int [optional]
is_two_handed bool [optional]
max_cast_per_turn int [optional]
ap_cost int [optional]
range WeaponRange [optional]
recipe List[RecipeEntry] [optional]
parent_set ItemListEntryParentSet [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]