Item Combo #2648
Combo Size: 2
Combo Items
Ribbon_Piamat_K
Mad_Bunny_K_
Combo Effect
autobonus2 "{ }",1,3000,BF_WEAPON|BF_MAGIC,"{ heal 5000,0; unitskilluseid getcharid(3),\"WM_LULLABY_DEEPSLEEP\",1; active_transform 1930,3000; /*PIAMETTE, unknown timer*/ }";
Script References
heal
Command
heal
Signature:
heal <hp>,<sp>{,<char_id>};
Description:
This command will heal a set amount of HP and/or SP on the invoking character.
character and produces no other output whatsoever.
Example:
heal 30000,0; // This will heal 30,000 HP
heal 0,30000; // This will heal 30,000 SP
heal 300,300; // This will heal 300 HP and 300 SP
getcharid
Command
getcharid
Signature:
getcharid(<type>{,"<character name>"})
Description:
This function will return a unique ID number of the invoking character, or, if a
character name is specified, of that player.
Type is the kind of associated ID number required:
0 - Character ID
1 - Party ID
2 - Guild ID
3 - Account ID
4 - Battle Ground ID
5 - Clan ID
For most purposes other than printing it, a number is better to have than a name
(people do horrifying things to their character names).
If the character is not in a party or not in a guild, the function will return 0
if guild or party number is requested. If a name is specified and the character
is not found, 0 is returned.
If getcharid(0) returns a zero, the script got called not by a character and
doesn't have an attached RID. Note that this will cause the map server to
print "player not attached!" error messages, so it is preferred to use
"playerattached" to check for the character attached to the script.
if (getcharid(2) == 0)
Example:
mes "Only members of a guild are allowed here!";
active_transform
Command
active_transform
Signature:
active_transform <monster ID>,<duration>{,<sc type>,<val1>,<val2>,<val3>,<val4>};
active_transform "<monster name>",<duration>{,<sc type>,<val1>,<val2>,<val3>,<val4>};
Description:
a SC attribute effect while transformed. Note that players cannot be transformed
during War of Emperium or if already disguised.
Can only be removed when you die or the duration ends.
'transform' and 'active_transform' can stack on each other but using 'transform' or
'active_transform' twice will not stack (it will cancel the previous bonus for the new).
'active_transform' will take priority over transform for its duration.
\\
4,3 Marriage-related commands
\\