Item Combo #4169
Combo Size: 2
Combo Items
Neev_Rifle
Neev_Barrette
Combo Effect
.@r = getequiprefinerycnt(EQI_HAND_R); .@a = readparam(bStr)/10; .@b = readparam(bAgi)/10; .@c = readparam(bVit)/10; .@d = readparam(bInt)/10; .@e = readparam(bDex)/10; .@f = readparam(bLuk)/10; bonus bAtkRate,.@a; bonus bBaseAtk,.@r*20; bonus bAspdRate,.@b; bonus bMaxHPrate,.@c; bonus bMatk,.@d+(.@r*20); bonus bVariableCastrate,-.@e; bonus bCritical,.@f;
Script References
getequiprefinerycnt
Command
getequiprefinerycnt
Signature:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Description:
slot. For a list of equipment slots see 'getequipid'.
Can be used to check if you have reached a maximum refine value, default for
this is +10:
Example:
if (getequiprefinerycnt(EQI_HEAD_TOP) < 10)
mes "I will now upgrade your " + getequipname(EQI_HEAD_TOP);
else
mes "Sorry, it's not possible to refine hats better than +10";
close;
readparam
Command
readparam
Signature:
readparam(<parameter number>{,"<character name>"})
readparam(<parameter number>{,<char_id>})
Description:
This function will return the specified stat of the invoking character, or, if a
character name or character id is specified, of that player. The stat can either
be a number or parameter name, defined in ''.
Some example parameters:
StatusPoint, BaseLevel, SkillPoint, Class, Upper, Zeny, Sex, Weight, MaxWeight,
JobLevel, BaseExp, JobExp, NextBaseExp, NextJobExp, Hp, MaxHp, Sp, MaxSp,
BaseJob, Karma, Manner, bVit, bDex, bAgi, bStr, bInt, bLuk, Ap, MaxAp
All of these also behave as variables, but don't expect to be able to just 'set'
them - some will not work for various internal reasons.
Example 1:
Using this particular information as a function call is not required. Typing this
will return the same result:
Example 2:
You can also use this command to get stat values.
Example:
// Returns how many status points you haven't spent yet.
mes "Unused status points: " + readparam(9);
mes "Unused status points: " + StatusPoint;
if (readparam(bVit) > 77)
mes "Only people with over 77 Vit are reading this!";
bStr
Item Bonus
bStr
Signature:
bonus bStr,n;
Description:
STR + n
bAgi
Item Bonus
bAgi
Signature:
bonus bAgi,n;
Description:
AGI + n
bVit
Item Bonus
bVit
Signature:
bonus bVit,n;
Description:
VIT + n
bInt
Item Bonus
bInt
Signature:
bonus bInt,n;
Description:
INT + n
bDex
Item Bonus
bDex
Signature:
bonus bDex,n;
Description:
DEX + n
bLuk
Item Bonus
bLuk
Signature:
bonus bLuk,n;
Description:
LUK + n
bAtkRate
Item Bonus
bAtkRate
Signature:
bonus bAtkRate,n;
Description:
ATK + n% that won't interfere with Damage modifier and SC_EDP (renewal mode only)
bBaseAtk
Item Bonus
bBaseAtk
Signature:
bonus bBaseAtk,n;
Description:
Basic attack power + n
bAspdRate
Item Bonus
bAspdRate
Signature:
bonus bAspdRate,n;
Description:
Attack speed + n%
bMaxHPrate
Item Bonus
bMaxHPrate
Signature:
bonus bMaxHPrate,n;
Description:
MaxHP + n%
bMatk
Item Bonus
bMatk
Signature:
bonus bMatk,n;
Description:
Magical attack power + n
bVariableCastrate
Item Bonus
bVariableCastrate
Signature:
bonus2 bVariableCastrate,sk,n;
Description:
Increases variable cast time of skill sk by n% (If RENEWAL_CAST is NOT defined, this bonus is equal to bCastrate)
bCritical
Item Bonus
bCritical
Signature:
bonus bCritical,n;
Description:
Critical + n