Cesta das Maravilhas [1] ( Wonder_Egg_Basket_ )
| ID 410028 |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Preço de Compra: 20 zeny | Preço de Venda: 10 zeny | Peso: 0 | Slots: 1 | ||||||||||||||||||||||||||||||||||||
| Tipo: Equipamento | Subtipo: Não especificado | Gênero: Ambos | Localizações: Equipamento de Cabeça Médio | |||||||||||||||||||||||||||||||||||||
| Ataque: Não especificado | Ataque Mágico: Não especificado | Alcance: Não especificado | Defesa: Não especificado | |||||||||||||||||||||||||||||||||||||
| Nível da Arma: Não especificado | Nível da Armadura: 1 | Nível Mín. de Equipamento: 100 | Nível Máx. de Equipamento: Não especificado | |||||||||||||||||||||||||||||||||||||
| Refinável: Não especificado | Graduável: Não especificado | Elemento: Neutro | Classes: Não especificado | |||||||||||||||||||||||||||||||||||||
|
Imagina carregar tantos ovos de bichinhos de estimação nos braços? É por isso que 9 entre 10 Kafras recomendam uma Cesta de palha para levar esses bichinhos fofinhos para onde quiser! Todos Não especificado
Flags
Empilhamento
Não especificado
Uso
Não especificado
Comércio
Atraso
Não especificado
bonus bAspdRate,10;
switch( getpetinfo(PETINFO_EGGID) ) {
case 9109: // Sweet_Drops_Egg
case 9112: // Moonlight_Egg
case 9115: // Bacsojin_Egg2
case 9121: // Orc_Hero_Egg_
case 9126: // Kiel_Egg
case 9136: // Eddga_Egg
bonus bBaseAtk,200;
bonus bMatk,200;
bonus bAllStats,10;
break;
case 9088: // Angeling_Egg
case 9108: // Xm_Teddybear_Egg
case 9113: // Roost_Of_Skelion
bonus bBaseAtk,200;
bonus bMatk,200;
bonus2 bAddSize,Size_All,10;
bonus2 bMagicAddSize,Size_All,10;
break;
case 9069: // Mastering_Egg
case 9087: // High_Orc_Egg
case 9096: // Cat_O_Nine_Tail_Egg
case 9106: // Metaller_Egg
case 9117: // Contaminated_Wanderer_Egg
case 9118: // Aliot_Egg
case 9119: // Alicel_Egg
case 9120: // Aliza_Egg
case 9124: // Ep17_2_C_Admin2_Egg
bonus bBaseAtk,200;
bonus bMatk,200;
bonus bDef,150;
bonus bMdef,15;
break;
}
Referências do Script
bAspdRate
Bônus de Item
bAspdRate
Assinatura:
Descrição:
Attack speed + n%
switch
Comando
switch
Assinatura:
Descrição:
The switch statement is similar to a series of if statements on the same expression.
In many occasions, you may want to compare the same variable (or expression)
with many different values, and execute a different piece of code depending
on which value it equals to. This is exactly what the switch statement is for.
to avoid mistakes. The switch statement executes line by line (actually, statement by statement).
In the beginning, no code is executed. Only when a case statement is found
with a value that matches the value of the switch expression the case statement(s)
will to executed. The parser continues to execute the statements until the end
of the switch block, or the first time it sees a break statement. If you don't
write a break statement at the end of a case's statement list, the parser will
go on executing the statements of the following case (fall-through).
Example 1:
the user selects option, otherwise, would go to the second one.
Example 2:
The example above would print a message depending on the player's groupid.
If there is no statement declared for the corresponding groupid, the script
would use the 'default' statement that applies to rest of possible values,
similar to 'else' in the if-else statement.
Exemplo:
getpetinfo
Comando
getpetinfo
Assinatura:
Descrição:
currently has active. Valid types are:
PETINFO_ID - Pet unique ID
PETINFO_CLASS - Pet class number as per '' - will tell you what kind of a pet it is.
PETINFO_NAME - Pet name. Will return "null" if there's no pet.
PETINFO_INTIMATE - Pet friendly level (intimacy score). 1000 is full loyalty.
PETINFO_HUNGRY - Pet hungry level. 100 is full hunger.
PETINFO_RENAMED - Pet rename flag. 0 means this pet has not been named yet.
PETINFO_LEVEL - Pet level
PETINFO_BLOCKID - Pet Game ID
PETINFO_EGGID - Pet egg item ID
PETINFO_FOODID - Pet food item ID
PETINFO_INTIMATE can be used with the following constants for checking values:
PET_INTIMATE_NONE = 0
PET_INTIMATE_AWKWARD = 1 ~ 99
PET_INTIMATE_SHY = 100 ~ 249
PET_INTIMATE_NEUTRAL = 250 ~ 749
PET_INTIMATE_CORDIAL = 750 ~ 909
PET_INTIMATE_LOYAL = 910 ~ 1000
PETINFO_HUNGRY can be used with the following constants for checking values:
PET_HUNGRY_NONE = 0
PET_HUNGRY_VERY_HUNGRY = 1 ~ 10
PET_HUNGRY_HUNGRY = 11 ~ 25
PET_HUNGRY_NEUTRAL = 26 ~ 75
PET_HUNGRY_SATISFIED = 76 ~ 90
PET_HUNGRY_STUFFED = 91 ~ 100
Example:
These commands will only work if the invoking character has a pet, and are meant
to be executed from pet scripts. They will modify the pet AI decision-making for
the current pet of the invoking character, and will NOT have any independent
effect by themselves, which is why only one of them each may be in effect at any
time for a specific pet. A pet may have 'petloot', 'petskillbonus',
'petskillattack' OR 'petpetskillattack2' and 'petskillsupport'.
the specified duration of seconds, with a delay of the specified number of
seconds between activations. Rates are a chance of the effect occurring and are
given in percent. 'bonusratebattle_athena.conf'.
from the egg. Other commands usable in item scripts (see 'bonusre essentially on your own here.
Exemplo:
bBaseAtk
Bônus de Item
bBaseAtk
Assinatura:
Descrição:
Basic attack power + n
bMatk
Bônus de Item
bMatk
Assinatura:
Descrição:
Magical attack power + n
bAllStats
Bônus de Item
bAllStats
Assinatura:
Descrição:
STR + n, AGI + n, VIT + n, INT + n, DEX + n, LUK + n
bAddSize
Bônus de Item
bAddSize
Assinatura:
Descrição:
+x% physical damage against size s
bMagicAddSize
Bônus de Item
bMagicAddSize
Assinatura:
Descrição:
+x% magical damage against size s
bDef
Bônus de Item
bDef
Assinatura:
Descrição:
Equipment DEF + n
bMdef
Bônus de Item
bMdef
Assinatura:
Descrição:
Equipment MDEF + n
Não especificado Referências do ScriptNenhuma referência documentada foi detectada neste script. Não especificado Referências do ScriptNenhuma referência documentada foi detectada neste script. Não especificado Não especificado Não especificado Não especificado Não especificado Não especificado Não especificado Não especificado |
||||||||||||||||||||||||||||||||||||||||