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
- Id: 396
Name: CG_MARIONETTE
Description: Marionette Control
MaxLevel: 1
TargetType: Support
DamageFlags:
NoDamage: true
Flags:
NoTargetSelf: true
# PartyOnly: true
# IgnoreKagehumi: true
Range: 7
Hit: Single
HitCount: 1
CastCancel: true
Duration1: 60000
Requires:
SpCost: 100
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.
Question
fusqueta
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
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
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?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.