Alice Body Pillow [1] ( Alice_Pillow_US )
| ID 460084 |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Preço de Compra: zeny | Preço de Venda: 0 zeny | Peso: 30 | Slots: 1 | ||||||||||||||||||||||||||||||||||||
| Tipo: Equipamento | Subtipo: Não especificado | Gênero: Ambos | Localizações: Escudo | |||||||||||||||||||||||||||||||||||||
| Ataque: Não especificado | Ataque Mágico: Não especificado | Alcance: Não especificado | Defesa: 50 | |||||||||||||||||||||||||||||||||||||
| Nível da Arma: Não especificado | Nível da Armadura: 2 | Nível Mín. de Equipamento: 1 | Nível Máx. de Equipamento: Não especificado | |||||||||||||||||||||||||||||||||||||
| Refinável: 1 | Graduável: 1 | Elemento: Neutro | Classes: Não especificado | |||||||||||||||||||||||||||||||||||||
|
A super-duper-exclusive-limited edition of body pillow with a cute Alice image on it. Todos Não especificado
Flags
Empilhamento
Não especificado
Uso
Não especificado
Comércio
Atraso
Não especificado
.@r = getrefine();
.@g = getenchantgrade();
bonus bMaxHPrate,10;
bonus bMaxSPrate,10;
bonus bMdef,10;
bonus bPAtk,.@r/2;
bonus bSMatk,.@r/2;
bonus2 bAddClass,Class_All,5*(.@r/3);
bonus bMatkRate,5*(.@r/3);
if (getpetinfo(PETINFO_EGGID) == 9027) {
bonus bBaseAtk,30;
bonus bMatk,30;
bonus2 bHPDrainRate,30,5;
if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL) {
bonus bAspd,2;
bonus bVariableCastrate,-10;
}
}
if (.@r>=11) {
autobonus "{ bonus bInt,70; }",60,20000,BF_MAGIC;
autobonus "{ bonus bStr,70; }",60,20000,BF_WEAPON;
if (.@r>=12) {
bonus bFixedCastrate,-50;
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bMaxHPrate,10;
bonus bMaxSPrate,10;
if (.@g>=ENCHANTGRADE_C) {
bonus bDelayrate,-15;
if (.@g>=ENCHANTGRADE_B) {
bonus bPow,12;
bonus bSpl,12;
}
}
}
Referências do Script
getrefine
Comando
getrefine
Assinatura:
Descrição:
function is called.
This function is intended for use in item scripts.
getenchantgrade
Comando
getenchantgrade
Assinatura:
Descrição:
function is called or the specified equipment slot. If nothing is
equipped there, it returns -1.
Valid equipment slots are:
EQI_COMPOUND_ON - Item slot that calls this script (In context of item script) (default)
For a list of others equipment slots see 'getequipid'.
bMaxHPrate
Bônus de Item
bMaxHPrate
Assinatura:
Descrição:
MaxHP + n%
bMaxSPrate
Bônus de Item
bMaxSPrate
Assinatura:
Descrição:
MaxSP + n%
bMdef
Bônus de Item
bMdef
Assinatura:
Descrição:
Equipment MDEF + n
bPAtk
Bônus de Item
bPAtk
Assinatura:
Descrição:
PAtk + n
bSMatk
Bônus de Item
bSMatk
Assinatura:
Descrição:
SMatk + n
bAddClass
Bônus de Item
bAddClass
Assinatura:
Descrição:
+x% physical damage against class c
bMatkRate
Bônus de Item
bMatkRate
Assinatura:
Descrição:
Magical attack power + n%
if
Comando
if
Assinatura:
Descrição:
Este é o comando de instrução condicional básico, e praticamente o único disponível nesta linguagem de script.
A condição pode ser qualquer expressão. Todas as expressões que resultam em um valor não zero serão consideradas Verdadeiras, incluindo valores negativos. Todas as expressões que resultam em zero são falsas.
Se a expressão resultar em Verdadeira, a instrução será executada. Se não for verdadeira, nada acontece e passamos para a próxima linha do script.
Para mais informações sobre operadores condicionais, consulte a seção de operadores acima.
armazená-lo em uma variável específica:
Mais exemplos de uso do comando 'if' no mundo real:
Exemplo 1:
Exemplo 2:
Note que os exemplos 1 e 2 têm o mesmo efeito.
Exemplo 3:
Exemplo 4:
Exemplo 5:
Veja 'strcharinfo' para uma explicação do que esta função faz.
Exemplo 6: Usando condições complexas.
O motor de script também suporta declarações 'if' aninhadas:
Se a condição não for atendida, ele executará a ação seguinte ao 'else'.
Também podemos agrupar várias ações dependendo de uma condição:
Lembre-se que se você planeja fazer várias ações quando a condição for falsa, e
você esquecer de usar as chaves ( { } ), a segunda ação será executada independentemente
da saída da condição, a menos, é claro, que você pare a execução do script se a
condição for verdadeira (ou seja, no primeiro agrupamento usando um return;, end; ou um close;)
Além disso, você pode ter múltiplas condições aninhadas ou encadeadas.
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
bHPDrainRate
Bônus de Item
bHPDrainRate
Assinatura:
Descrição:
Adds a x/10% chance to drain n% HP from inflicted damage when attacking
bAspd
Bônus de Item
bAspd
Assinatura:
Descrição:
Attack speed + n
bVariableCastrate
Bônus de Item
bVariableCastrate
Assinatura:
Descrição:
Increases variable cast time of skill sk by n% (If RENEWAL_CAST is NOT defined, this bonus is equal to bCastrate)
bInt
Bônus de Item
bInt
Assinatura:
Descrição:
INT + n
bStr
Bônus de Item
bStr
Assinatura:
Descrição:
STR + n
bFixedCastrate
Bônus de Item
bFixedCastrate
Assinatura:
Descrição:
Increases fixed cast time of skill sk by n% (has effect in RENEWAL_CAST only)
bDelayrate
Bônus de Item
bDelayrate
Assinatura:
Descrição:
Increases skill delay by n%
bPow
Bônus de Item
bPow
Assinatura:
Descrição:
POW + n
bSpl
Bônus de Item
bSpl
Assinatura:
Descrição:
SPL + 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 |
||||||||||||||||||||||||||||||||||||||||