Jump to content
  • 0

Tarot Card Of Fate's Problem


ProtoMan

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  01/06/13
  • Last Seen:  

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
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   6
  • Joined:  08/17/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

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

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%)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  01/06/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

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

recompile ur server.

coma has no stat resistance.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  01/06/13
  • Last Seen:  

The reboot is not a recompile? How I can recompile the server?
(Sorry for the question, is just for understand)

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  816
  • Reputation:   236
  • Joined:  01/30/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  01/06/13
  • Last Seen:  

Perfect, I need to recompile with PuTTy and not reboot the server, that changes works; thanks to all, finally solved!

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