Custom Soul Link Skill Effect

Rebel

New member
Messages
149
Points
0
Github
shadow-mo0n
Emulator
Hello. I managed to create a custom soul link for the Gunslinger job and it works perfect. The only thing missing is the Soul Link Effect..
asdasd.JPG
this one.. im not sure where to change or add so it can have also this effect when linked.

Thank you ~

 
Do you have clif_skill_nodamage in the code? Also what client are you using?

 
If I remember correctly, it checks for 2nd jobs and higher. But since Gunslinger is a 1st job, the check will fail and make the skill fail. Thats likely why your seeing no animation. Can you show the entire code your using?

 
If I remember correctly, it checks for 2nd jobs and higher. But since Gunslinger is a 1st job, the check will fail and make the skill fail. Thats likely why your seeing no animation. Can you show the entire code your using?
There's no much changes in the code.

On skill.c >
I just added `case SL_GUNSLINGER:` after `case SL_WIZARD:`

On skill.h >
I added `SL_GUNSLINGER = 931,` after `RL_GLITTERING_GREED_ATK,` (so my custom SL Gunslinger is Skill ID 931)

On status.c >
I added `status->dbs->Skill2SCTable[SL_GUNSLINGER]  = (sc_type)MAPID_GUNSLINGER,` after
`status->dbs->Skill2SCTable[SL_SOULLINKER]  = (sc_type)MAPID_SOUL_LINKER,`

skill_db.conf >

{
    Id: 931
    Name: "SL_GUNSLINGER"
    Description: "Spirit of the Gunslinger"
    MaxLevel: 5
    Range: 9
    Hit: "BDT_SKILL"
    SkillType: {
        Friend: true
    }
    SkillInfo: {
        NoCastSelf: true
    }
    AttackType: "Magic"
    DamageType: {
        NoDamage: true
    }
    InterruptCast: true
    CastTime: 1000
    AfterCastActDelay: 500
    SkillData1: {
        Lv1: 150000
        Lv2: 200000
        Lv3: 250000
        Lv4: 300000
        Lv5: 350000
        Lv6: 400000
        Lv7: 450000
        Lv8: 500000
        Lv9: 550000
        Lv10: 600000
    }
    CoolDown: 0
    Requirements: {
        SPCost: {
            Lv1: 460
            Lv2: 360
            Lv3: 260
            Lv4: 160
            Lv5: 60
            Lv6: 1
            Lv7: 1
            Lv8: 1
            Lv9: 1
            Lv10: 1
        }
    }
},
The skill works perfect. Its just the animation is not showing.

 
Last edited by a moderator:
OOOOOOOH I see what you did. Their's some official tags and ID's you could be using for this. Hercules doesn't have it in their skill_db.conf or other files needed but you can add it in yourself. Here's some of the missing tags and ID's from my emu...

Code:
// Soul Linker 2 / Soul Link Enabled
572,9,6,16,0,0x1,0,5,1,yes,0,0x200,0,magic,0,	SL_DEATHKNIGHT,Death Knight Spirit
573,9,6,16,0,0x1,0,5,1,yes,0,0x200,0,magic,0,	SL_COLLECTOR,Dark Collector Spirit
574,9,6,16,0,0x1,0,5,1,yes,0,0x200,0,magic,0,	SL_NINJA,Ninja Spirit
575,9,6,16,0,0x1,0,5,1,yes,0,0x200,0,magic,0,	SL_GUNNER,Gunslinger Spirit
//576,0,6,4,0,0x1,0,1,0,no,0,0x8,0,none,0,	AM_TWILIGHT4,Twilight Alchemy 4
//577,0,6,4,0,0,0,1,1,no,0,0,0,none,0,		DA_RESET,Dark Optimize // (Skill level and settings guessed based on DE_RESET)
//578,0,6,4,0,0,0,1,1,no,0,0x8,0,none,0,	DE_BERSERKAIZER,Berserkaizer
//579,9,6,1,0,0,0,1,1,no,0,0x8,0,none,0,	DA_DARKPOWER,Dark Soul Power


These exist in official but arn't used but you can take advantage of them. I know the soul link animation works for all 4 of these spirits. Try switching everything over to 575 SL_GUNNER.

 
Back
Top