EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TurretFormulas.h
Go to the documentation of this file.
1 
9 #ifndef _EVE_SHIP_MOD_FORMULAS_H_
10 #define _EVE_SHIP_MOD_FORMULAS_H_
11 
12 #include "ship/Ship.h"
13 
14 class NPC;
15 class DroneSE;
16 class TurretModule;
18 public:
19  // returns damage modifier from hit, based on calculations made about source, item, and target.
20  // return 0 is missed
21  float GetToHit(ShipItemRef shipRef, TurretModule* pMod, SystemEntity* pTarget);
22  float GetNPCToHit(NPC* pNPC, SystemEntity* pTarget);
23  float GetDroneToHit(DroneSE* pDrone, SystemEntity* pTarget);
24  float GetSentryToHit(Sentry* pSentry, SystemEntity* pTarget);
25 };
26 
27 
28 #endif //_EVE_SHIP_MOD_FORMULAS_H_
float GetDroneToHit(DroneSE *pDrone, SystemEntity *pTarget)
Definition: Sentry.h:20
float GetToHit(ShipItemRef shipRef, TurretModule *pMod, SystemEntity *pTarget)
Definition: NPC.h:41
Definition: Drone.h:46
float GetNPCToHit(NPC *pNPC, SystemEntity *pTarget)
float GetSentryToHit(Sentry *pSentry, SystemEntity *pTarget)