New Command

#tune
Used to return ideal values for tuning NPC/Client combat statistics.
This commit is contained in:
KayenEQ
2015-01-11 00:45:37 -05:00
parent 999a6501e0
commit d57d463818
6 changed files with 1316 additions and 1 deletions
+4
View File
@@ -1243,6 +1243,10 @@ public:
bool InterrogateInventory(Client* requester, bool log, bool silent, bool allowtrip, bool& error, bool autolog = true);
//Command #Tune functions
virtual int32 Tune_GetMeleeMitDmg(Mob* GM, Mob *attacker, int32 damage, int32 minhit, float mit_rating, float atk_rating);
int32 GetMeleeDamage(Mob* other, bool GetMinDamage = false);
protected:
friend class Mob;
void CalcItemBonuses(StatBonuses* newbon);