Jump to content
  • 0
Rebel

Custom Soul Link Skill Effect

Question

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.a60a77f650503e995bdd7de9dbd97492.JPG
this one.. im not sure where to change or add so it can have also this effect when linked.

Thank you ~

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
2 hours ago, Rytech said:

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

Yes. I added SL_GUNSLINGER after SL_WIZARD. Using 2014-10-22bRagexe.
Capturex.JPG.da1e0ae662bd380f002467f528bb5bdd.JPG

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0
12 hours ago, Rytech said:

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 >

Spoiler

{
    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.

Edited by Rebel
Include all other codes in src.

Share this post


Link to post
Share on other sites
  • 0

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...

 

// 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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.