- Joined
- Jul 22, 2024
- Messages
- 15
- Reaction score
- 5
- Points
- 3
I've been trying to figure out for a while now, how to make my RM buffs to be given around while in party to all party members (like heal rain works for heal) and be targeted while being without a party (like other Assists/RM buffs)
I've tried a lot of different configuration in propSkill.txt (Ex.: EXT_TROUPEWITH, EXT_TROUPE, WUI_NOW, WUI_TARGETINGOBJ and others) but did not manage to work, then I tried changing the Source file that called the function ApplySkillAroundTroupe inside ctrl.cpp in the Common folder which I found out that did the work behind EXT_TROUPEWITH and EXT_TROUPE (used for Heal Rain)
Changed from this:
Changed to this:
There for I manage to get my plan to work. It works as targeted without being in a party and as around inside the party, but (always a but)...
There is a problem in which even if I'm FAR away from the members of my party (have to be in the same world and layer) the buffs still works, like, my RM is in Flaris and my Blade is in Darkon and both of them get the buffs, I just wanted the around buff in party to work while the other member being in the range of the skill (same as if I would target it)
I'm using the L15 files, and here is the inside of the ApplySkillAroundTroupe which is called to buff all party members (I did not changed that and see that it does a calculation on fDist < fMaxDistSq)
I've tried a lot of different configuration in propSkill.txt (Ex.: EXT_TROUPEWITH, EXT_TROUPE, WUI_NOW, WUI_TARGETINGOBJ and others) but did not manage to work, then I tried changing the Source file that called the function ApplySkillAroundTroupe inside ctrl.cpp in the Common folder which I found out that did the work behind EXT_TROUPEWITH and EXT_TROUPE (used for Heal Rain)
Changed from this:
Changed to this:
There for I manage to get my plan to work. It works as targeted without being in a party and as around inside the party, but (always a but)...
There is a problem in which even if I'm FAR away from the members of my party (have to be in the same world and layer) the buffs still works, like, my RM is in Flaris and my Blade is in Darkon and both of them get the buffs, I just wanted the around buff in party to work while the other member being in the range of the skill (same as if I would target it)
I'm using the L15 files, and here is the inside of the ApplySkillAroundTroupe which is called to buff all party members (I did not changed that and see that it does a calculation on fDist < fMaxDistSq)