Jump to content
  • 0

Editing Auto Spell [solved]


1337

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   2
  • Joined:  03/27/12
  • Last Seen:  

Hello, im trying to edit the sage's auto spell skill and add heaven's drive to it.

I found where to edit it so that it'll show heaven's drive but when i choose it from the menu it doesn't work.

What i did was on clif.c

I found this

WFIFOL(fd,22)= 0x00000000;

if(skilllv>9 && pc_checkskill(sd,MG_FROSTDIVER)>0)

WFIFOL(fd,26)= MG_FROSTDIVER;

as a test, i replaced MG_FROSTDIVER with WZ_HEAVENDRIVE

i also did the same at skill.c

if(skilllv >= 10) {

spellid = MG_FROSTDIVER;

changed to WZ_HEAVENDRIVE too

but like i said, in-game when i choose heaven's drive as auto spell, it doesn't work(no auto spell status at the right side, also doesn't cast when attacking), however other auto spell skills eg. cold bolt and the rest, works fine still.

Can someone help me make it work? Thx !

Edited by angelo.t
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

I think it's because you forget to edit the reply of selection :

skill_autospell

Otherwise the change should be correct but I don't think someone could normally learn hevendrive lvl10 so be carefull in your change.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   2
  • Joined:  03/27/12
  • Last Seen:  

Oh yeah, i guess that's it. I'll try it soon thanks a lot!

Edit*

It worked :) thanks a lot !

Edited by angelo.t
Link to comment
Share on other sites

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...