skill_cast_near – Exception map type for UF_NOFOOTSET skill – Free Code!
UF_NOFOOTSET makes unit skill can not be casted near target. Like trap skills, the trap can not be placed near the target, and of course right below the target. This option may has difference for each skills, may needs 1 cell or more between the ground’s target and the target’s position.
This source modification, allows the unit skill that has UF_NOFOOTSET can be placed near the target. Example, Ankle Snare by default it has UF_NOFOOTSET, so Ankle Snare can not be placed near the target, by adding Ankle Snare on this modification file, skill_cast_near.txt, Ankle Snare can be placed near the target on the specified map type. May you want Ankle Snare’s UF_NOFOOTSET only for at PvP or GvG maps, but not outside that map, maybe for hunting some monsters.
So, you need write it on skill_cast_near.txt file such this value below
HT_ANKLESNARE,4
Why ‘HT_ANKLESNARE,4’? Because the format of skill_cast_near.txt file is
// <skill_name>,<map_type>
// Makes skill can be casted near enemy on (bitmask)
// 1 = PvP maps
// 2 = GvG maps
// 4 = outside PvP and GvG maps
// Only works if skill has ‘UF_NOFOOTSET’ flag on ‘skill_unit_db.txt’
Hmm, 0 and 7 may useless. Here some screen shots of skill_cast_near did.
Download skill_cast_near – Exception map type for UF_NOFOOTSET skill – Free Code!
Download “skill_cast_near” .patch file for eAthena
Download “skill_cast_near” .patch file for rAthena r17528
Download “skill_cast_near” .diff file for rAthena r17528 (Git diff format)
Download “skill_cast_near” .patch file for 3CeAM
Download “skill_cast_near” .patch file for Hercules
*Above are Mediafire links*