Item-Kombination #6877
Kombinationsgröße: 2
Kombinationsgegenstände
Bakonawa_Tattoo
Wei_Brush_Tattoo
Kombinationseffekt
skill "TF_DOUBLE",max(getskilllv("TF_DOUBLE"),3);
bonus bAtkRate,(readparam(bStr)+readparam(bLuk))/40;
Skriptreferenzen
getskilllv
Befehl
getskilllv
Signatur:
getskilllv(<skill id>)
getskilllv("<skill name>")
Beschreibung:
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:
Beispiel:
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;
bAtkRate
Gegenstandsbonus
bAtkRate
Signatur:
bonus bAtkRate,n;
Beschreibung:
ATK + n% that won't interfere with Damage modifier and SC_EDP (renewal mode only)
readparam
Befehl
readparam
Signatur:
readparam(<parameter number>{,"<character name>"})
readparam(<parameter number>{,<char_id>})
Beschreibung:
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.
Beispiel:
// 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
Gegenstandsbonus
bStr
Signatur:
bonus bStr,n;
Beschreibung:
STR + n
bLuk
Gegenstandsbonus
bLuk
Signatur:
bonus bLuk,n;
Beschreibung:
LUK + n