Issue information

Issue ID
#6841
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Nov 1, 2012 9:17
Last Post
Hercules Elf Bot
Nov 5, 2012 2:44
Confirmation
Yes (0)
No (2)

Hercules Elf Bot - Nov 1, 2012 9:17

Originally posted by [b]CairoLee[/b]
the function sc_start2 usage like:

[b]*sc_start2 <effect type>,<ticks>,<extra argument>,<percent chance>{,<GID>};[/b]

===========================

if you uses it like this:

[b]sc_start2 SC_Stun,5000,0,10000;[/b]

that mean 100% chance success~

but However, the fact is not the case~ it's not 100% chance!!!

===========================

Bad English

Hercules Elf Bot - Nov 1, 2012 9:21

Originally posted by [b]malufett[/b]
remember that some Status Change has a resistance capability therefore 100% may reduce..
:meow:

Hercules Elf Bot - Nov 1, 2012 16:42

Originally posted by [b]CairoLee[/b]
thanks malufett. i know that~

how can i let the player has 100% chance to get the [b]SC_Stun [/b]status ?

uses the [b]sc_start [/b]function? i try to uses [b]sc_start[/b] ,but it's not has 100% chance to success.

[quote name='malufett' timestamp='1351761697' post='15265']
remember that some Status Change has a resistance capability therefore 100% may reduce.. :meow:
[/quote]

Hercules Elf Bot - Nov 2, 2012 3:06

Originally posted by [b]malufett[/b]
No problem but if you want to have a 100% chance to inflict stun use:
[CODE]setoption <option number>{,<flag>};[/CODE]
sample : setoption 1;

:meow:

Hercules Elf Bot - Nov 4, 2012 17:06

Originally posted by [b]CairoLee[/b]
i don't know how to do it ~

i read the script_commands.txt , it's say setoption only can use:


0x1 - Sight in effect.
0x2 - Hide in effect.
0x4 - Cloaking in effect.
0x8 - Cart number 1 present.
0x10 - Falcon present.
0x20 - Peco Peco present.
0x40 - GM Perfect Hide in effect.
0x80 - Cart number 2 present.
0x100 - Cart number 3 present.
0x200 - Cart number 4 present.
0x400 - Cart number 5 present.
0x800 - Orc head present.
0x1000 - The character is wearing a wedding sprite.
0x2000 - Ruwach is in effect.
0x4000 - Chasewalk in effect.
0x8000 - Flying or Xmas suit.
0x10000 - Sighttrasher.
0x100000 - Warg present.
0x200000 - The character is riding a warg.

in this list, no has the stun status~

[quote name='malufett' timestamp='1351825596' post='15276']
No problem but if you want to have a 100% chance to inflict stun use:[CODE]setoption <option number>{,<flag>};[/CODE]sample : setoption 1; :meow:
[/quote]

Hercules Elf Bot - Nov 5, 2012 2:44

Originally posted by [b]malufett[/b]
oopps..sorry my bad..

try this one:
[CODE]atcommand "@option 1";[/CODE]

:meow: