Fix for luabind not compiling (jumbers), bunch of api upgrades for lua, changed where spells and items load quests from, removed some old code. etc etc.

This commit is contained in:
KimLS
2013-06-22 01:32:41 -07:00
parent 7af04798fb
commit 2529a7700e
42 changed files with 426 additions and 859 deletions
+9 -3
View File
@@ -146,9 +146,6 @@ Client::Client(EQStreamInterface* ieqs)
scanarea_timer(AIClientScanarea_delay),
#endif
tribute_timer(Tribute_duration),
#ifdef PACKET_UPDATE_MANAGER
update_manager(ieqs),
#endif
proximity_timer(ClientProximity_interval),
TaskPeriodic_Timer(RuleI(TaskSystem, PeriodicCheckTimer) * 1000),
charm_update_timer(6000),
@@ -7828,3 +7825,12 @@ void Client::IncrementAA(int aa_id) {
SendAAStats();
CalcBonuses();
}
void Client::SendItemScale(ItemInst *inst) {
int slot = m_inv.GetSlotByItemInst(inst);
if(slot != -1) {
inst->ScaleItem();
SendItemPacket(slot, inst, ItemPacketCharmUpdate);
CalcBonuses();
}
}