This is my Bonus Script:
15094,Brave_robe,Brave Robe,5,20,,800,,50,,1,0x00000004,8,2,16,0,160,1,0,{bonus
bMaxHPrate,5; bonus bMaxSPrate,5; bonus bMatk,10; bonus bFlee,10; bonus2
bCastValue,"WZ_VERMILION",-1; bonus2 bCastValue,"WZ_METEOR",-1; bonus2
bCastValue,"WZ_STORMGUST",-1; if(((getrefine())/2) == (floot((getrefine())/2)))
{bonus bCastrate,20; bonus bNoCastCancel2,0;} if(((getrefine())/2)
>(floor((getrefine())/2))) {bonus bCastrate,20; bonus bNoCastCancel2,0;}
},{},{}
In which:
if(((getrefine())/2) == (floot((getrefine())/2))) {bonus bCastrate,20; bonus bNoCastCancel2,0;} if(((getrefine())/2) >(floor((getrefine())/2))) {bonus bCastrate,20; bonus bNoCastCancel2,0;}
Console error: Unrecognized
The RED Introduction is: If there is an odd one smelting, variable cast time increased by 20%, and the cast is broken. If there is an even number, smelting, refining sugar 2 MDEF + 1, 1% variable cast time reduction.
How to determine the Odd Even.??