Jump to content
  • 0

Tarot Card removes Pushcart


Question

Posted (edited)

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

1 answer to this question

Recommended Posts

Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...