Hello there !
I am trying to create a teleport skill in the Coronus mastery (needed a place to start :D) and so far so good, I do have a teleport skill, working with a nice little animation on end.
The teleport spell is based of the template Skill_AttackSpellTeleportSelf
My issue now is that I am trying to add an effect to the base teleport skill, maybe damage on landing or a buff. I’d like it to be on the base teleport skill, not a skill modifier and I am hitting a wall.
I’ve been trying to use the autoCastSkill/autoCastController with an awful lot of triggers (creating a cast_@ally controller which should proc when my life is less than 101% for instance) but nothing worked.
So I’ve been searching a lot in the topics around here and came accross the SkillSecondary which if I understand correctly should proc once another spell has finished.
So I’ve created two new SkillSecondary skills :
- teleportation_modifier.dbr which is an instance of skillsecondary_buffselfduration.tpl and has a buffSkillName set to :
- teleportation_buff.dbr, the actual buff skill (template: SkillBuff_Passive), based of cadence third modifier.
I have added both teleportation.dbr and teleportation_modifier.dbr to my mastery skill tree (skills/playerclasscoronus/_classtree_classcoronus.dbr) in the correct order.
From what I understand, GD code seems to use the order of the skills to make one depend from the other but I am not sure about it. I am not even sure the teleportation is actually linked to its modifier (it does not feel like it in game, I just teleport and nothing else happens)
Am I missing a step to link those three files (teleportation.dbr, teleportation_modifier.dbr and teleportation_buff.dbr) ?
How does GD links the skills to their modifiers when they are not connected in the UI ?
I have made screenshots of all the dbrs to help out.
Maybe I am also using the wrong templates, I am not sure about anything.
If anybody has a lead I would be so glad !
Also, a last question : the teleport spell allows the player to go to offlimit areas, is it possible to remove that aspect of the skill ?
Thanks a lot guys !