Metin2 [C++]Block Auto-Attack on Players

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Vanilla

Elite
Elite
Joined
Jan 28, 2019
Messages
839
Credits
1,190


This function will prevent players to auto-attack on other players
Open UserInterface / PythonPlayerInput.cpp and search:
Code:
Expand Collapse Copy
void CPythonPlayer :: __ SetAutoAttackTargetActorID (DWORD dwVID)
Above m_dwAutoAttackTargetVID = dwVID; add:
Code:
Expand Collapse Copy
CInstanceBase * pkInstVictim = NEW_FindActorPtr (dwVID); if (pkInstVictim && pkInstVictim-> IsPC ()) return;
 
Nu stiu daca ar ajuta acest lucru la ceva, dar mi se pare fain pentru Pvp.

Mersi mult.
 
Back
Top