Jump to content

freeganja

Members
  • Posts

    13
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by freeganja

  1. Hi, I need help, in unit_fields, there are some values stored in integer but they are float like crit chance and stuff like that.

    How to convert that integer value to correct float in mysql and in php?

    In c++ it looks like it is done simply with things like

    return float

    or (float)int_value

    it looks that its not just inserting floating point inside

  2. I've tried succesfully to get periodic auras working after casters death but one thing is still not working, when caster is relleased and in ghost form, aura wearer doesnt see combat log, this part doesnt work when 'this' is relleased. Do somebody know why?

    WorldPacket data(SMSG_PERIODICAURALOG, (21+16));// we guess size
                           data.append(pVictim->GetPackGUID());
                           data.append(GetPackGUID());
                           data << uint32(spellProto->Id);
                           data << uint32(1);
                           data << uint32(mod->m_auraname);
                           data << (uint32)pdamage;
                           data << (uint32)spellProto->School;
                           data << (uint32)absorb;
                           data << (uint32)resist;
                           SendMessageToSet(&data,true);

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use