Adding a skill on new created characters

Results 1 to 5 of 5
  1. #1
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Adding a skill on new created characters

    Hello guys, As title explains, I need to add a new buff for every created character like Silkroad-Europe. any idea?


  2. #2
    Moderator Blacksheep25 is offline
    ModeratorRank
    Jan 2009 Join Date
    AustraliaLocation
    715Posts

    Re: Adding a skill on new created characters

    Just add an insert to TimedJob in the _AddNewChar procedure for the skill ID's you wanna add buffs for.

  3. #3
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: Adding a skill on new created characters

    Unfortunately, I don't know where this values should be put it in, but i have tried adding into _CharSkillMastery, _CharSkill and even _RefCharDefault_Skill but they didn't worked. So you can tell where specifically i can put it.

  4. #4
    Moderator Blacksheep25 is offline
    ModeratorRank
    Jan 2009 Join Date
    AustraliaLocation
    715Posts

    Re: Adding a skill on new created characters

    Well for my csro-r test server this is what ive placed in the "_AddNewChar" procedure to give new chars drug of typoon already on.

    Code:
    INSERT INTO _TimedJob VALUES (@NewCharID, 0, 5410, 3600, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    RED = RefSkill ID (Mine is 100% Drug of Typoon)
    GREEN = Duration of the skill

    Pretty simple, hope it works for you :)

  5. #5
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: Adding a skill on new created characters

    It worked, thank you.



Advertisement