Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
* INF2_NO_NEARNPC (skill_db.txt updates):
-- Added a new option info for skill's 'inf2', INF2_NO_NEARNPC, that used for checking if the skill is castable if caster/ground/target is near with NPC (by specified range option) -- Corrected Shadow Chaser skills, SC_CHAOSPANIC and SC_MAELSTROM, that cannot be placed near warp portal (according to iRO Skill Balance Patch) -- Added 'db/skill_nonearnpc_db.txt' for more option of INF2_NO_NEARNPC (additional range beside splash area, unit range, or layout range calculaiton and type of NPC) * Follow up 5e6626e
- Loading branch information
Showing
with
467 additions
and 371 deletions.
- +21 −18 db/pre-re/skill_db.txt
- +13 −13 db/pre-re/skill_unit_db.txt
- +3 −2 db/re/skill_db.txt
- +13 −13 db/re/skill_unit_db.txt
- +24 −0 db/skill_nonearnpc_db.txt
- +6 −6 src/map/clif.c
- +1 −1 src/map/elemental.c
- +15 −2 src/map/npc.c
- +1 −0 src/map/npc.h
- +188 −142 src/map/skill.c
- +8 −4 src/map/skill.h
- +174 −170 src/map/unit.c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -0,0 +1,24 @@ | ||
| // Database of Additional Range and NPC Type that used by INF2_NO_NEARNPC | ||
| // <skill_name>,<additional_range>{,<npc_type>} | ||
| // ==================================================== | ||
| // additional_range: If this value is 0, splash range value will be used from skill_db, | ||
| // or if it is 0, range+layout's range from skill_unit_db. Otherwise, the range | ||
| // will be added. | ||
| // npc_type (bitmask): 1 = warp portal, 2 = shop NPC, 4 = normal NPC script, 8 = tomb | ||
| // ==================================================== | ||
| // Example: | ||
| //MG_SAFETYWALL,2 | ||
| // MG_SAFETYWALL can't be placed if the ground's target is near from NPC by 2 cells | ||
| // (MG_SAFETYWALL doesn't have splash, layout range, and range value, so must add the | ||
| // 'additional_range', or it will be pointless) | ||
| // | ||
| //GS_DESPERADO,2 | ||
| // GS_DESPERADO can't be casted if the caster is standing near from NPC within range | ||
| // 5 cells. (Why? GS_DESPERADO has 3 cells of splash range +2 'additional_range' here) | ||
| // | ||
| //SC_CHAOSPANIC,0,1 | ||
| // SC_CHAOSPANIC can't be placed on the ground that near the warp portal with range 2 | ||
| // cells. (Because SC_CHAOSPANIC doens't have splash range, it uses layout range) | ||
|
|
||
| SC_CHAOSPANIC,0,1 | ||
| SC_MAELSTROM,0,1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.