Jump to content
  • 0

New skill targeting issue.


khalint

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/23/17
  • Last Seen:  

Edit: I cloned Cure as well and it is the same thing, I really hope this isn't something hard coded in the client but Cure is such a simple spell that it doesn't give me hope.

I created a new skill that is effectively a clone of al_heal to replace the crusader version with their own dedicated heal. I copied basically everything and setup my source code and everything works except targeting on the client. I am using I believe a 6-20-2018 client and when I use the skill it wants to target enemies and I have to hold shift to target myself. Is there something I am missing or is some part of this hard-coded in the client?

 

Here is the skill_db entry, I copied the heal one and have removed a few bits that won't be needed on this version. The end result will be a shield type effect instead of a heal but the targeting needs to be fixed before I can go any further.

  - Id: 859
    Name: CR_HEAL
    Description: Protect
    MaxLevel: 10
    Type: Magic
    TargetType: Support
    DamageFlags:
      NoDamage: true
    Range: 9
    Hit: Single
    HitCount: 1
    CastCancel: true
    AfterCastActDelay: 1000
    Requires:
      SpCost:
        - Level: 1
          Amount: 13
        - Level: 2
          Amount: 16
        - Level: 3
          Amount: 19
        - Level: 4
          Amount: 22
        - Level: 5
          Amount: 25
        - Level: 6
          Amount: 28
        - Level: 7
          Amount: 31
        - Level: 8
          Amount: 34
        - Level: 9
          Amount: 37
        - Level: 10
          Amount: 40

Any help would be greatly appreciated!

Edited by khalint
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   Paste as plain text instead

  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.

×
×
  • Create New...