Recovery Drop ( A_Drop_Of_Heal_ )
| ID 4956 |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Prix d'achat: zeny | Prix de vente: 0 zeny | Poids: 0 | Emplacements: Non spécifié | ||||||||||||||||||||||||||||||||||||
| Type: Carte. | Sous-type: Carte enchantée | Genre: Les deux | Lieux: Non spécifié | |||||||||||||||||||||||||||||||||||||
| Attaque: Non spécifié | Attaque magique: Non spécifié | Portée: Non spécifié | Défense: Non spécifié | |||||||||||||||||||||||||||||||||||||
| Niveau d'arme: Non spécifié | Niveau d'armure: Non spécifié | Niveau d'équipement min.: Non spécifié | Niveau d'équipement max.: Non spécifié | |||||||||||||||||||||||||||||||||||||
| Affûtage: Non spécifié | Améliorable: Non spécifié | Élément: Neutre | Classes: Non spécifié | |||||||||||||||||||||||||||||||||||||
|
Tous Non spécifié
Drapeaux
Empilement
Non spécifié
Utilisation
Non spécifié
Commerce
Délai
Non spécifié
setarray .@skills$, "AL_HEAL", "PR_SANCTUARY", "AM_POTIONPITCHER", "AB_HIGHNESSHEAL", "AB_CHEAL";
for( .@i = 0; .@i < getarraysize(.@skills$); .@i++ ) {
bonus2 bSkillHeal,.@skills$[.@i],2;
bonus2 bSkillHeal2,.@skills$[.@i],2;
}
/* TODO: Depending on some recovery items HP recovery amount + 2% */
Références du Script
setarray
Commande
setarray
Signature:
Description:
This command will allow you to quickly fill up an array in one go. Check the
Kafra scripts in the distribution to see this used a lot.
First value is the index of the first element of the array to alter. For
example:
will produce:
.@array[0]=200
.@array[1]=300
.@array[2]=150
Exemple:
for
Commande
for
Signature:
Description:
Another pretest looping structure is the 'for' statement. It is considered a
specialized form of the 'while' statement, and is usually associated with counter-
controlled loops. Here are the steps of the 'for' statement: the initialize
statement is executed first and only once. The condition test is performed.
When the condition evaluates to false, the rest of the for statement is skipped.
When the condition evaluates to true, the body of the loop is executed, then the
update statement is executed (this usually involves incrementing a variable).
Then the condition is reevaluated and the cycle continues.
Example 1:
Example 2:
Exemple:
getarraysize
Commande
getarraysize
Signature:
Description:
This function returns highest index of the array that is filled.
counted towards this number.
For example:
This will make .@arraysize == 6. But if you try this:
.@arraysize will still equal 6, even though you've set 7 values.
Exemple:
bSkillHeal
Bonus d’Objet
bSkillHeal
Signature:
Description:
Increases heal amount of skill sk by n%
bSkillHeal2
Bonus d’Objet
bSkillHeal2
Signature:
Description:
Increases heal amount if you are healed by skill sk by n%
recovery
Commande
recovery
Signature:
Description:
This command will revive and fully restore the HP/SP of the selected characters.
It returns 1 upon successful use.
<type> is the target, and determines the <option> parameter:
0: Player -> Character ID number
1: Party -> Party ID number
2: Guild -> Guild ID number
3: Map -> Map name (a string)
4: All -> None (takes <revive_flag> as option)
If no option is specified, the invoking player's character ID, party ID, guild ID,
or map will be used.
<revive_flag> determines the action:
1: Revive and heal all players (default)
2: Heal living players only
4: Revive dead players only
<map name> can optionally be used to define a single map to execute the command on
for types 1 (party) and 2 (guild).
Examples:
Exemple:
Non spécifié Références du ScriptAucune référence documentée n’a été détectée dans ce script. Non spécifié Références du ScriptAucune référence documentée n’a été détectée dans ce script. Non spécifié Non spécifié Non spécifié Non spécifié Non spécifié Non spécifié Non spécifié Non spécifié Non spécifié |
||||||||||||||||||||||||||||||||||||||||