20 m_crystalDmgAmount(0),
59 m_shipRef->
GetPilot()->
SendErrorMsg(
"Your %s in %s doesnt have a charge registered.<br>You can try Unload/Reload, but if this error happens again, dock or relog.", \
79 d *=
sConfig.rates.turretDamage;
#define sConfig
A macro for easier access to the singleton.
void SendErrorMsg(const char *fmt,...)
#define _log(type, fmt,...)
bool HasAttribute(const uint16 attrID) const
uint8 GetLoadedLinkedCount(GenericModule *pMod)
double MakeRandomFloat(double low, double high)
Generates random real from interval [low; high].
void SendNotifyMsg(const char *fmt,...)
virtual void LoadCharge(InventoryItemRef charge)
SystemEntity * m_targetSE
virtual void UnloadCharge()
InventoryItemRef m_chargeRef
void SetAttribute(uint16 attrID, int num, bool notify=true)
virtual void ApplyDamage()
EVEItemFlags flag() const
TurretModule(ModuleItemRef mRef, ShipItemRef sRef)
virtual Client * GetPilot()
EvilNumber GetAttribute(const uint16 attrID) const
virtual void RemoveItem(InventoryItemRef iRef)
virtual void LoadCharge(InventoryItemRef charge)
virtual void Deactivate(std::string effect="")
bool ApplyDamage(Damage &d)
EvilNumber GetAttribute(uint32 attrID)
virtual void UnloadCharge()