GX Poison 100% Chance Effect

nikki1200

New member
Messages
113
Points
0
Hi All,

Seeking for your assistance on how to fix the GX poison, it always 100% chance effect. T_T

Please see below my item_db

12719,Poison_Oblivion,Oblivion Curse,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ if(rand(10000) < 10) sc_start SC_OBLIVIONCURSE,300000,0; },{},{}

I 2ble check it on  sql-files it;s the same.

Can you help me to fix this one.

Please advise,

Thanks,

 
If you want to make it 100%, just remove this piece of code:

if(rand(10000) < 10)
And done.

 
Hi Sir,

No i don't want it 100%. all i want is to reduce the effect into at least 20% chance.

i checked my status.c and and i saw this formula. maybe there's something wrong on this formula(please see below)

 
case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT)
sc_def = 100 - ( 100 - status->int_* 8 / 10 );
// sc_def = max(sc_def, 5); // minimum of 5%
sc_def = max(sc_def, 1); // minimum of 1%
break;
 
Please advise,
 
THanks,
 
If you want to make it 100%, just remove this piece of code:

if(rand(10000) < 10)
And done.
i have the same issue, i delete the script for this item but it still works, seems like the item script has nothing to do with it,

i think the item is just a catalyst for a skill so it will work even without a script, (oblivion curse = blue gemstone) something like that 

 
i think there is no fix for this at the moment i already report this as a bug and still no fix,  i think this is a big deal since silencing a player for 5mins without the ability to resist it is a definitely imbalance

 
Have you tried to use that on a player with high int? Don't know if it's when used by a player with high int or launched on a player with low int, but if I read that code well, success rate is (100 - (100 - 0.8*int) )

 
Have you tried to use that on a player with high int? Don't know if it's when used by a player with high int or launched on a player with low int, but if I read that code well, success rate is (100 - (100 - 0.8*int) )
i already tested it on 130 int but its like 50% chance to infect, so i think the formula is not working properly,

 
sure, here you go.

case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT) 
sc_def = status->int_*80;
sc_def = max(sc_def, 500); // minimum of 5% resist
break;
 
sure, here you go.

case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT) 
sc_def = status->int_*80;
sc_def = max(sc_def, 500); // minimum of 5% resist
break;
thnx
do u have error in compiling?
no idont, just change the

[SIZE=12.222222328186035px]sc_def = status->int_*80;[/SIZE]

[SIZE=12.222222328186035px]into[/SIZE]

[SIZE=12.222222328186035px]sc_def = st->int_*80;[/SIZE]
Hell Kerbii

This is in my status.c

       case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT)              sc_def = 100 - ( 100 - st->int_* 8 / 10 );              sc_def = max(sc_def, 5); // minimum of 5%              break; 
I cant find what you are  referring to? 

I just want to make sure

can u edit it for me please? 
 
Last edited by a moderator:
sure, here you go.

case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT) 
sc_def = status->int_*80;
sc_def = max(sc_def, 500); // minimum of 5% resist
break;
thnx
do u have error in compiling?
no idont, just change the

sc_def = status->int_*80;

into

sc_def = st->int_*80;
Hell Kerbii

This is in my status.c

       case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT)              sc_def = 100 - ( 100 - st->int_* 8 / 10 );              sc_def = max(sc_def, 5); // minimum of 5%              break; 
I cant find what you are  referring to? 

I just want to make sure

can u edit it for me please? 
change it into this:

[cbox] case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT)

sc_def = st->int_*80;

sc_def = max(sc_def, 500); // minimum of 5%[/cbox]

 
Back
Top