Jump to content
  • 0

Marionette Control Status Never ends


fusqueta

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/26/20
  • Last Seen:  

I've been looking in the source a way to ends SG_MARIONETTE status when timer of skills is over.

this is my skill_db

 

Spoiler

 

  - Id396
    NameCG_MARIONETTE
    DescriptionMarionette Control
    MaxLevel: 1
    TargetTypeSupport
    DamageFlags:
      NoDamagetrue
    Flags:
      NoTargetSelftrue
#      PartyOnly: true
#      IgnoreKagehumi: true
    Range7
    HitSingle
    HitCount1
    CastCanceltrue
    Duration160000
    Requires:
      SpCost100

 

but the status nevers ends, the function status_change_end_()(L#13010 on status.cpp) is not called when timer is over unless you got dipelled, out of range, logout etc.

The timer counter ingame become negative BTW

 

this is the SC_START of skill in skill.cpp L#6885

 

Spoiler

                    sc_start(src,src,SC_MARIONETTE,100,bl->id,skill_get_time(skill_id,skill_lv));
                    sc_start(src,bl,SC_MARIONETTE2,100,src->id,skill_get_time(skill_id,skill_lv));

 

note skill_get_time(skill_id,skill_lv) is normally set on sc_start() call

 

How can I made Marionette cancelable over time?

 

Edited by fusqueta
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...