magiceye
Members-
Posts
3 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
About magiceye
- Birthday 01/01/1
magiceye's Achievements
Newbie (1/3)
0
Reputation
-
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?
-
How blizz do this? Did they generate terrain data of a map and using A* runs on it?
-
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.
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®