Jump to content
  • 0

Tarot Card Of Fate's Problem


Question

Posted (edited)

Hello rAthena!

In my server, the Tarot Card Of Fate skill, of the Clown/Gypsy, when cast the Coma card, doesn't apply the status, so the HP and SP don't go to 0 (also if the user has not the Golden Th
eif Bug Card) ;
how I can fix it?

 

I've it in my skill.c :
 

case 8: // curse coma and poison
status_change_start(src, bl, SC_COMA, 100, skill_lv, 0, src->id, 0, 0, SCSTART_NONE);
sc_start(src,bl,SC_CURSE,100,skill_lv,skill_get_time2(skill_id,skill_lv));
sc_start2(src,bl,SC_POISON,100,skill_lv,src->id,skill_get_time2(skill_id,skill_lv));
break;

 

Thanks in advice! .

Edited by ProtoMan

7 answers to this question

Recommended Posts

  • 0
Posted

change this

case 8: // curse coma and poison
status_change_start(src, bl, SC_COMA, 100, skill_lv, 0, src->id, 0, 0, SCSTART_NONE);
sc_start(src,bl,SC_CURSE,100,skill_lv,skill_get_time2(skill_id,skill_lv));
sc_start2(src,bl,SC_POISON,100,skill_lv,src->id,skill_get_time2(skill_id,skill_lv));
break;

 

to 

 

case 8: // curse coma and poison
status_change_start(src, bl, SC_COMA, 10000, skill_lv, 0, src->id, 0, 0, SCSTART_NONE);
sc_start(src,bl,SC_CURSE,10000,skill_lv,skill_get_time2(skill_id,skill_lv));
sc_start2(src,bl,SC_POISON,10000,skill_lv,src->id,skill_get_time2(skill_id,skill_lv));
break;

 

that means if the death/coma card appeared in the skill, it will have 100% chance of activating coma. if you set 10000 to 5000 you will have 50% chance to activate coma whenever the death/coma card appears

  • Upvote 1
  • 0
Posted

u just need change the 100 on status_change_start(.. SC_COMA..) to 10000.

in 100 in sc_start()/sc_start2()/sc_start4() is multiplied by 100 (100 is 10000 = 100%)

  • 0
Posted (edited)

Okay, thanks for the replyes!
I put the 10000 in scr/map/skill.c like your posts and reboot the server, but it doesn't work; maybe is a stats problem? Like Freeze with Luk, or something, or maybe I must put 100000? Have you any ideas?

Thanks again

Edited by ProtoMan
  • 0
Posted

e.g. open the project in Visual Studio, then right click on the project and select something along the lines of "Recreate all".

 

Not sure what you mean with reboot, but if you just mean close the server and start it again, it just won't change anything. It's still the same .exe file but you want a new one.

  • Upvote 1

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