Jump to content

magiceye

Members
  • Posts

    3
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by magiceye

  1. There are 3 weapon type: BASE_ATTACK, OFF_ATTACK, RANGED_ATTACK in mangos. All of them is implemented as timer. But for ranged attack, the health update time is dependent on distance between attacker & attackee. I have not found any code about this calculation. Did mangos implements it? In 'Unit::AttackerStateUpdate' (02502 line in Unit.cpp): uint32 hitInfo; if (attType == BASE_ATTACK) hitInfo = HITINFO_NORMALSWING2; else if (attType == OFF_ATTACK) hitInfo = HITINFO_LEFTSWING; else return; // ignore ranged case What is this mean? It means have not implement yet or implements in another place? How server do that? Simulate bullet or spell (such as Frostbolt) fly?
  2. How blizz do this? Did they generate terrain data of a map and using A* runs on it?
  3. NPC's path finding is done by server or client? I observed that NPC can bypass barriers when it chase me. If this path finding is done in server, the computation is heavy when I moving because NPC's dest point (my point) is changing all the time.
×
×
  • 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