Item Details

Recovery Drop ( A_Drop_Of_Heal_ )

ID 4956 Recovery Drop
Recovery Drop Buy Price: zeny Sell Price: 0 zeny Weight: 0 Slots: Not specified
Type: Card item. Sub Type: Enchant Card Gender: Both Locations: Not specified
Attack: Not specified Magic Attack: Not specified Range: Not specified Defense: Not specified
Weapon Level: Not specified Armor Level: Not specified Min. Equip Level: Not specified Max. Equip Level: Not specified
Refineable: Not specified Gradable: Not specified Element: Neutral Classes: Not specified

All

Not specified

Flags
Can be added to a player buying store? No
Summons monster? No
Is part of a container? No
Has unique stack? No
Binds on equip? No
Announces drop? No
Is consumed on use? Yes
Has drop effect? No
Stacking
Not specified
Usage
Not specified
Trade
Override Not specified
Can be dropped? Yes
Can be traded? Yes
Can be traded with partner? Yes
Can be sold to NPC? Yes
Can be placed in cart? Yes
Can be placed in storage? Yes
Can be placed in guild storage? Yes
Can be sent by mail? Yes
Can be put in auction? Yes
Delay
Not specified
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% */
Script References
setarray Command
setarray
Signature:
setarray <array name>[<first value>],<value>{,<value>...<value>};
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
Example:
setarray .@array[0], 100, 200, 300, 400, 500, 600;
setarray .@array[0],200,200,200;
setarray .@array[1],300,150;
for Command
for
Signature:
for (<variable initialization>; <condition>; <variable update>) <statement>;
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:
Example:
for( .@i = 1; .@i <= 5; .@i++ )
mes "This line will print 5 times.";
mes "This will print the numbers 1 - 5.";
for( .@i = 1; .@i <= 5; .@i++ )
mes "Number: " + .@i;
getarraysize Command
getarraysize
Signature:
getarraysize(<array name>)
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.
Example:
setarray .@array[0], 100, 200, 300, 400, 500, 600;
set .@arraysize,getarraysize(.@array);
setarray .@array[0], 100, 200, 300, 400, 500, 600, 0;
set .@arraysize,getarraysize(.@array);
bSkillHeal Item Bonus
bSkillHeal
Signature:
bonus2 bSkillHeal,sk,n;
Description:
Increases heal amount of skill sk by n%
bSkillHeal2 Item Bonus
bSkillHeal2
Signature:
bonus2 bSkillHeal2,sk,n;
Description:
Increases heal amount if you are healed by skill sk by n%
recovery Command
recovery
Signature:
recovery <type>{,<option>,<revive_flag>{,<map name>}};
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:
Example:
// Only revive characters in invoking party on map "morocc"
recovery 1,getcharid(1),4,"morocc";
// Fully heal (don't revive) all members of invoking character's guild
recovery 2,getcharid(2),2;
// Revive and fully heal everyone in map "prontera"
recovery 3,"prontera";
// Only revive all dead characters on server
recovery 4,4;
Not specified
Script References

No documented script references were detected.

Not specified
Script References

No documented script references were detected.

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified