Recovery Drop ( A_Drop_Of_Heal_ )
| ID 4956 |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Harga Beli: zeny | Harga Jual: 0 zeny | Berat: 0 | Slot: Tidak ditentukan | ||||||||||||||||||||||||||||||||||||
| Tipe: Item kartu. | Sub Tipe: Kartu Enchant | Gender: Keduanya | Lokasi: Tidak ditentukan | |||||||||||||||||||||||||||||||||||||
| Serangan: Tidak ditentukan | Serangan Sihir: Tidak ditentukan | Jangkauan: Tidak ditentukan | Pertahanan: Tidak ditentukan | |||||||||||||||||||||||||||||||||||||
| Tingkat Senjata: Tidak ditentukan | Level Armor: Tidak ditentukan | Min. Level Equip: Tidak ditentukan | Max. Level Equip: Tidak ditentukan | |||||||||||||||||||||||||||||||||||||
| Bisa Ditempa: Tidak ditentukan | Dapat Di-upgrade: Tidak ditentukan | Elemen: Netral | Kelas: Tidak ditentukan | |||||||||||||||||||||||||||||||||||||
|
Semua Tidak ditentukan
Bendera
Penumpukan
Tidak ditentukan
Penggunaan
Tidak ditentukan
Perdagangan
Penundaan
Tidak ditentukan
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% */
Referensi Skrip
setarray
Perintah
setarray
Tanda Tangan:
Deskripsi:
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
Contoh:
for
Perintah
for
Tanda Tangan:
Deskripsi:
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:
Contoh:
getarraysize
Perintah
getarraysize
Tanda Tangan:
Deskripsi:
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.
Contoh:
bSkillHeal
Bonus Item
bSkillHeal
Tanda Tangan:
Deskripsi:
Increases heal amount of skill sk by n%
bSkillHeal2
Bonus Item
bSkillHeal2
Tanda Tangan:
Deskripsi:
Increases heal amount if you are healed by skill sk by n%
recovery
Perintah
recovery
Tanda Tangan:
Deskripsi:
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:
Contoh:
Tidak ditentukan Referensi SkripTidak ada referensi terdokumentasi yang terdeteksi pada skrip ini. Tidak ditentukan Referensi SkripTidak ada referensi terdokumentasi yang terdeteksi pada skrip ini. Tidak ditentukan Tidak ditentukan Tidak ditentukan Tidak ditentukan Tidak ditentukan Tidak ditentukan Tidak ditentukan Tidak ditentukan Tidak ditentukan |
||||||||||||||||||||||||||||||||||||||||