[HELP] Attack with minimal distance (mindistance)
Posted: Fri Sep 30, 2011 12:15 pm
L2J Revision Number: 4959
L2JDP Revision Number: 8410
Who can help?
Need to modify skill with "mindistance" condition (minimal attack distance). Rush Impact for example.
In retail if player use RI in lower 200 distance - char running to target and start hiting.
In l2j char standing on place with error message. I want to make doAttack or moveToPawn action if distance < 200.
Problem is - i can't find where going check for this.
Conditions modules - send action failed packet.
Seems - its somelike checking for maxdistance, but where is it?
Where i must start searching? L2AttackableAI? L2CharacterAI? L2Skill? L2Character? L2PCinstance? Which module/function?
L2JDP Revision Number: 8410
Who can help?
Need to modify skill with "mindistance" condition (minimal attack distance). Rush Impact for example.
Code: Select all
<cond msgId="113" addName="1"> <target mindistance="200" /> </cond>
In l2j char standing on place with error message. I want to make doAttack or moveToPawn action if distance < 200.
Problem is - i can't find where going check for this.
Conditions modules - send action failed packet.
Seems - its somelike checking for maxdistance, but where is it?
Where i must start searching? L2AttackableAI? L2CharacterAI? L2Skill? L2Character? L2PCinstance? Which module/function?