I wanted to configure it to automatically launch only the skills: MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT
and remove the skills: MG_FROSTDIVER, MG_FIREBALL, MG_SOULSTRIKE, MG_NAPALMBEAT
and for her at the maximum level to launch MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT at equivalent levels.
EX: SA_AUTOSPELL LV 1 = MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT LV 1
SA_AUTOSPELL LV 5 =
MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT LV 3
considering that the class will only learn these 3 skills.
I'm starting now in these settings I imagine that I should modify the skills in the src: skill.cpp
but I don't quite understand the language to make it happen.
I tried it but it doesn't seem to work well:
Quote
case SA_AUTOSPELL:
clif_skill_nodamage(src,bl,skill_id,skill_lv,1);
if (sd) {
sd->state.workinprogress = WIP_DISABLE_ALL;
clif_autospell(sd,skill_lv);
} else {
int maxlv=1,spellid=0;
static const int spellarray[10] = { MG_COLDBOLT,MG_FIREBOLT,MG_LIGHTNINGBOLT };
Question
Agriias
I want to work on the SA_AUTOSPELL skill.
I wanted to configure it to automatically launch only the skills: MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT
and remove the skills: MG_FROSTDIVER, MG_FIREBALL, MG_SOULSTRIKE, MG_NAPALMBEAT
and for her at the maximum level to launch MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT at equivalent levels.
EX: SA_AUTOSPELL LV 1 = MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT LV 1
SA_AUTOSPELL LV 5 =
MG_COLDBOLT, MG_FIREBOLT, MG_LIGHTNINGBOLT LV 3
considering that the class will only learn these 3 skills.
I'm starting now in these settings I imagine that I should modify the skills in the src: skill.cpp
but I don't quite understand the language to make it happen.
I tried it but it doesn't seem to work well:
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.