Jump to content
  • 0

Tarot Card removes Pushcart


Venomenon

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

Hi. Just want to ask how can i make it that Tarot card of Fate not remove pushcarts.

Here's the effect of it on skill.c


case 2: // all buffs removed
status_change_clear_buffs(bl,1);
break;

Thanks and more power!

Edited by Venomenon
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

on skill.c

find this skill case

case CG_TAROTCARD:{
...
}

find

eff = rnd() % 14;

becomes

eff = rnd() % 15;

then, on these lines

case 13:	// atk,matk,hit,flee,def reduced
      sc_start(bl,SC_INCATKRATE,100,-20,skill_get_time2(skillid,skilllv));
      sc_start(bl,SC_INCMATKRATE,100,-20,skill_get_time2(skillid,skilllv));
      sc_start(bl,SC_INCHITRATE,100,-20,skill_get_time2(skillid,skilllv));
      sc_start(bl,SC_INCFLEERATE,100,-20,skill_get_time2(skillid,skilllv));
      sc_start(bl,SC_INCDEFRATE,100,-20,skill_get_time2(skillid,skilllv));
      break;
default:
      break;

add some lines, before default:

case 14:
pc_setcart(dstsd,0);
break;

I didn't try this yet

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