#include <potion.h>


Public Member Functions | |
| PotionOfMight () | |
| virtual std::string | getClassName () |
| virtual String | desc () |
| virtual int | price () |
Public Member Functions inherited from PotionOfStrength | |
| PotionOfStrength () | |
Public Member Functions inherited from Potion | |
| Potion () | |
| virtual void | actions (Hero *hero, std::vector< std::string > &actions) |
| virtual void | execute (Hero *hero, std::string action) |
| virtual void | doThrow (Hero *hero) |
| virtual void | shatter (int cell) |
| boolean | isKnown () |
| void | setKnown () |
| virtual Item * | identify () |
| virtual String | Name () |
| virtual String | info () |
| virtual boolean | isIdentified () |
| virtual boolean | isUpgradable () |
Public Member Functions inherited from Item | |
| CLASSNAME (Item) | |
| CLASSOBJECT (Item) | |
| Item () | |
| virtual bool | doPickUp (Hero *hero) |
| virtual void | doDrop (Hero *hero) |
| virtual std::string | toString () |
| std::string | trueName () |
| int | Image () |
| Item * | detach (Bag *container) |
| Item * | detachAll (Bag *container) |
| virtual ItemSprite::Glowing * | glowing () |
| virtual void | storeInBundle (Bundle *bundle) |
| virtual void | restoreFromBundle (Bundle *bundle) |
| virtual bool | isEquipped (Hero *hero) |
| virtual int | effectiveLevel () |
| int | Quantity () |
| void | Quantity (int value) |
| virtual void | cast (Hero *user, int dst) |
| virtual void | getBroken () |
| bool | isBroken () |
| virtual void | fix () |
| virtual int | maxDurability (int lvl) |
| int | maxDurability () |
| int | visiblyUpgraded () |
| virtual Item * | random () |
| virtual void | Level (int value) |
| int | Level () |
| virtual boolean | collect (Bag *container) |
| void | use () |
| void | updateQuickslot () |
| virtual Item * | upgrade () |
| virtual Item * | degrade () |
| Item * | degrade (int n) |
| int | considerState (int price) |
| void | polish () |
| std::string | status () |
Public Member Functions inherited from Object | |
| virtual std::string | getObject ()=0 |
Static Public Member Functions | |
| static Item * | Create () |
Static Public Member Functions inherited from PotionOfStrength | |
| static Item * | Create () |
Static Public Member Functions inherited from Potion | |
| static void | initColors () |
| static void | save (Bundle *bundle) |
| static void | restore (Bundle *bundle) |
| static std::set< std::string > | getKnown () |
| static std::set< std::string > | getUnknown () |
| static boolean | allKnown () |
Static Public Member Functions inherited from Item | |
| static void | evoke (Hero *hero) |
| static Item * | Virtual (const std::string &cl) |
Protected Member Functions | |
| virtual void | apply (Hero *hero) |
Protected Member Functions inherited from Potion | |
| void | drink (Hero *hero) |
| virtual void | onThrow (int cell) |
| String | Color () |
| void | splash (int cell) |
Protected Member Functions inherited from Item | |
| virtual void | onDetach () |
Additional Inherited Members | |
Public Attributes inherited from Item | |
| std::string | defaultAction |
| std::string | name = "smth" |
| int | image = 0 |
| bool | stackable = false |
| bool | levelKnown = false |
| bool | cursed |
| bool | cursedKnown |
| bool | unique = false |
| int | quantity |
Static Public Attributes inherited from Potion | |
| static const String | AC_DRINK = "DRINK" |
Static Public Attributes inherited from Item | |
| static Hero * | curUser |
| static Item * | curItem |
Static Protected Attributes inherited from Item | |
| static const float | TIME_TO_THROW = 1.0f |
| static const float | TIME_TO_PICK_UP = 1.0f |
| static const float | TIME_TO_DROP = 0.5f |
| static const std::string | AC_DROP = "lang.item_drop" |
| static const std::string | AC_THROW = "lang.item_throw" |
| static CellSelector::Listener * | thrower = new CellSelectorListenerNew() |
| PotionOfMight::PotionOfMight | ( | ) |

|
protectedvirtual |
|
inlinestatic |

|
inlinevirtual |
Reimplemented from PotionOfStrength.
|
inlinevirtual |
Reimplemented from PotionOfStrength.
|
inlinevirtual |