Combo d'Objets #5587
Taille du Combo: 2
Objets du Combo
Diana_Suits
Dictator_Ring_TW
Effet du Combo
bonus2 bVariableCastrate,"SU_PICKYPECK",-50;
bonus2 bVariableCastrate,"SU_SV_STEMSPEAR",-50;
bonus2 bSkillAtk,"SU_PICKYPECK",((readparam(bAgi)+readparam(bDex))/6)*getskilllv("SU_PICKYPECK");
bonus2 bSkillAtk,"SU_SV_STEMSPEAR",((readparam(bInt)+readparam(bLuk))/6)*getskilllv("SU_SV_STEMSPEAR");
Références du Script
bVariableCastrate
Bonus d’Objet
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)
bSkillAtk
Bonus d’Objet
bSkillAtk
Signature:
bonus2 bSkillAtk,sk,n;
Description:
Increases damage of skill sk by n%
readparam
Commande
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.
Exemple:
// 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!";
bAgi
Bonus d’Objet
bAgi
Signature:
bonus bAgi,n;
Description:
AGI + n
bDex
Bonus d’Objet
bDex
Signature:
bonus bDex,n;
Description:
DEX + n
getskilllv
Commande
getskilllv
Signature:
getskilllv(<skill id>)
getskilllv("<skill name>")
Description:
character has. If they don't have the skill, 0 will be returned. The full list
of character skills is available in ''.
There are two main uses for this function, it can check whether the character
has a skill or not, and it can tell you if the level is high enough.
Example 1:
Example 2:
Exemple:
if (getskilllv(152))
mes "You have got the skill Throw Stone";
else
mes "You don't have Throw Stone";
close;
if (getskilllv(28) >= 5)
mes "Your heal lvl is 5 or more";
else if (getskilllv(28) == 10)
mes "Your heal lvl has been maxed";
else
mes "You heal skill is below lvl 5";
close;
bInt
Bonus d’Objet
bInt
Signature:
bonus bInt,n;
Description:
INT + n
bLuk
Bonus d’Objet
bLuk
Signature:
bonus bLuk,n;
Description:
LUK + n