Jump to content
  • 0

Shadow Form + Manhole


Loke

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  12/20/11
  • Last Seen:  

How to implement this?

While the player is in manhole you can use Shadow Form

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   7
  • Joined:  11/15/11
  • Last Seen:  

at status.c [Manhole]

just remove

if( sc->data[sC__MANHOLE] || ((tsc = status_get_sc(target)) && tsc->data[sC__MANHOLE]) )
{
switch(skill_num)
{
     // Skills that can be used even under Man Hole effects.
    case SC_SHADOWFORM:
    case SC_STRIPACCESSARY:
            break;
    default:
            return 0;
    }
}

and then find

if( skill_num == PR_LEXAETERNA && (tsc->data[sC_FREEZE] || (tsc->data[sC_STONE] && tsc->opt1 == OPT1_STONE)) )
         return 0;

add below

if( (skill_num != SC_SHADOWFORM && skill_num != SC_STRIPACCESSARY) && tsc->data[sC__MANHOLE] )
         return 0;

at unit.c [Manhole]

just remove

if( tsc && tsc->data[sC__MANHOLE] )
         return 0;

compile it, enjoy

Edited by Daredevil
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  12/20/11
  • Last Seen:  

How about the Pinpoints Attack? I want to implement the armor/shield/weapon/headgear breakable by level. Btw im using 3ceam 659

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   7
  • Joined:  11/15/11
  • Last Seen:  

maybe Rytech sleepy while writing this skill, just kidding

rate = 10000 = 100%

rate = 100 = 1%

you need to multiply the rate to 10x

at skill.c [Pinpoint Attack]

default: skill_break_equip(bl,(skilllv == 3) ? EQP_SHIELD : (skilllv == 4) ? EQP_ARMOR : EQP_WEAPON,rate,BCT_ENEMY); break;

change to

default: skill_break_equip(bl,(skilllv == 3) ? EQP_SHIELD : (skilllv == 4) ? EQP_ARMOR : EQP_WEAPON,rate*10,BCT_ENEMY); break;

Edited by Daredevil
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  12/20/11
  • Last Seen:  

Still not working :<

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   7
  • Joined:  11/15/11
  • Last Seen:  

Pinpoint or Manhole??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  12/20/11
  • Last Seen:  

Pinpoint and the lullaby in other post

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