Jump to content
  • 0

+20 stats food


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

how do i make the +20 stats food cant eat at the same time, even relog also cant....

same like +10 stats food's function

Edited by donkeyg
Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

same like +10 stats food's function

then change 10 to 20

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

same like +10 stats food's function

then change 10 to 20

change at where

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

change

sc_start SC_STRFOOD, 1200000, 10;

into

sc_start SC_STRFOOD, 1200000, 20;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

lol, what i meant to say was, how to make the +20 stats food cant be use at the same time?? even relog also can only use 1 type of stats food....

example: u used a STR +20 stats food, then u are unable to use other Stats food (AGI / VIT / DEX / LUK / INT ) already.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

create a new sc script ....

or

you can just simply make use of these other sc script that are not using in your server...

SC_STRFOOD 203
SC_AGIFOOD 204
SC_VITFOOD 205
SC_INTFOOD 206
SC_DEXFOOD 207

SC_INCALLSTATUS 187
SC_INCSTR 188
SC_INCAGI 189
SC_INCVIT 190
SC_INCINT 191
SC_INCDEX 192
SC_INCLUK 193

SC_FOOD_STR_CASH 303
SC_FOOD_AGI_CASH 304
SC_FOOD_VIT_CASH 305
SC_FOOD_DEX_CASH 306
SC_FOOD_INT_CASH 307
SC_FOOD_LUK_CASH 308

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

sc_check

http://www.eathena.w...dpost&p=1498382

hmm I didn't explain how to use

sc_check <effect type>;

sc_check <effect type> {, <account ID> };

sc_check <effect type> {, <type> };

sc_check <effect type> {, <type> {, <account ID> } };

<type> is only use for soul link

because sc_spirit has extra argument that different to every jobs

http://www.eathena.w...howtopic=274421

for agi: if ( sc_check(sc_strfood) || sc_check(sc_agifood) || sc_check(sc_vitfood ) end; else sc_start sc_agi, 1000,1;

for str: if ( sc_check(sc_agifood) || sc_check(sc_agifood) || sc_check(sc_vitfood ) end; else sc_start sc_str, 1000,1;

expand them as you see fit

EDIT:

there's getstatus script command implemented on newer rathena that's doing similar to my modification

change my sc_check into official getstatus script command

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   1
  • Joined:  08/08/12
  • Last Seen:  

There's cooldown settings in some of *.conf files...

Something about: cash food use delay, just set value to 0 instead of 3600 and I hope it will help.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

There's cooldown settings in some of *.conf files...

Something about: cash food use delay, just set value to 0 instead of 3600 and I hope it will help.

it's just for +10 stats food isnt?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

/db/item_delay.txt is for any items.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

/db/item_delay.txt is for any items.

i mean i don wan to let players eat AGI +20 food and STR +20 foods in the same time..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

/db/item_delay.txt is for any items.

i mean i don wan to let players eat AGI +20 food and STR +20 foods in the same time..

http://rathena.org/board/topic/72590-20-stats-food/#entry147142

or just add a time record variable to use when eatting

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   1
  • Joined:  08/08/12
  • Last Seen:  

i mean i don wan to let players eat AGI +20 food and STR +20 foods in the same time..

I'ts like kinda player abuse, isn't it? Even kRO let them do so :D

You have what, 0.001 exp and etc rates on your server? Oh I see, oldschool "pre- re without 3rd and 99/70" Than, just remove the food, thats more episodes later than 99/70 :)

Just kidding, lol )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

12202,Str_Dish10_,Steamed Tongue,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if(getstatus(304)||getstatus(305)||getstatus(306)||getstatus(307)||getstatus(308)) end; else sc_start SC_FOOD_STR_CASH,1800000,10; percentheal 15,5; },{},{}

/?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

If end after sc check then the item will be consumed right? Why not getitem 12202 again. :P

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