22 #ifndef ULTIMA_ULTIMA1_CORE_PARTY_H 23 #define ULTIMA_ULTIMA1_CORE_PARTY_H 25 #include "ultima/shared/core/party.h" 26 #include "ultima/ultima1/spells/blink.h" 27 #include "ultima/ultima1/spells/create.h" 28 #include "ultima/ultima1/spells/destroy.h" 29 #include "ultima/ultima1/spells/kill_magic_missile.h" 30 #include "ultima/ultima1/spells/ladder_down.h" 31 #include "ultima/ultima1/spells/ladder_up.h" 32 #include "ultima/ultima1/spells/open_unlock.h" 33 #include "ultima/ultima1/spells/prayer.h" 34 #include "ultima/ultima1/spells/steal.h" 40 WEAPON_HANDS = 0, WEAPON_DAGGER = 1, WEAPON_MACE = 2, WEAPON_AXE = 3, WEAPON_ROPE_SPIKES = 4,
41 WEAPON_SWORD = 5, WEAPON_GREAT_SWORD = 6, WEAPON_BOW_ARROWS = 7, WEAPON_AMULET = 8,
42 WEAPON_WAND = 9, WEAPON_STAFF = 10, WEAPON_TRIANGLE = 11, WEAPON_PISTOL = 12,
43 WEAPON_LIGHT_SWORD = 13, WEAPON_PHAZOR = 14, WEAPON_BLASTER = 15
47 ARMOR_SKIN = 0, ARMOR_LEATHER_armour = 1, ARMOR_CHAIN_MAIL = 2, ARMOR_PLATE_MAIL = 3,
48 ARMOR_VACUUM_SUIT = 4, ARMOR_REFLECT_SUIT = 5
72 if (_type != WEAPON_HANDS)
73 _quantity = (uint)
CLIP((
int)_quantity + delta, 0, 9999);
110 if (_type != ARMOR_SKIN)
111 _quantity = (uint)
CLIP((
int)_quantity + delta, 0, 9999);
151 Armour _armourLeatherArmor;
155 Armour _armourReflectSuit;
void changeQuantity(int delta) override
Definition: party.h:109
void changeQuantity(int delta) override
Definition: party.h:71
uint getMagicDamage() const
Spells::Spell * equippedSpell() const
Definition: party.h:193
Weapon()
Definition: character.h:96
T CLIP(T v, T amin, T amax)
Definition: util.h:65
Definition: open_unlock.h:67
Armour * equippedArmour() const
Definition: party.h:188
Definition: detection.h:27
Definition: kill_magic_missile.h:57
Definition: ladder_down.h:34
Definition: character.h:141
Definition: ladder_up.h:34
Definition: kill_magic_missile.h:73
Weapon * equippedWeapon() const
Definition: party.h:183
Definition: character.h:88
Definition: character.h:102
Definition: open_unlock.h:56