Item Details

Peco Warrior Hat [1] ( Peco_Warrior_Hat_US )

ID 400667 Peco Warrior Hat [1]
Peco Warrior Hat [1] 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: Equipamento de Cabeça Superior
Ataque: Não especificado Ataque Mágico: Não especificado Alcance: Não especificado Defesa: 10
Nível da Arma: Não especificado Nível da Armadura: 1 Nível Mín. de Equipamento: 1 Nível Máx. de Equipamento: Não especificado
Refinável: 1 Graduável: Não especificado Elemento: Neutro Classes: Não especificado

A decorated hat modeled after the legendary Peco Peco.
It's the symbol of the Peco Peco Fan Club.
------------------------
MHP + 10%.
------------------------
All Basic Status + 5.
------------------------
Reduce After Cast Delay by 20%.
------------------------
When Base Level is 99 or lower,
There's a 5% chance to cast Level 10 Sonic Blow when performing melee physical attack.
------------------------
When Base Level is 100 or higher,
There's a 5% chance to cast Level 3 Cross Impact when performing melee physical attack.
------------------------
Set Bonus:
Peco Warrior Hat [1]
Peco Peco Egg

ATK + 50, ASPD + 5,
------------------------
When intimacy is loyal,
Increase movement speed,
All Basic Status + 5.
------------------------
When Headgear is refined to +10 or higher, MHP + 10%, MSP + 10%.
------------------------
When Headgear is refined to +11 or higher, ATK + 25%.
------------------------
When Headgear is refined to +12 or higher, additional MHP + 20%, MSP + 20%.
------------------------
Set Bonus:
Peco Warrior Hat [1]
Peco Peco Card

ATK + 15%, MHP + 15%.
Armor and Weapon will be indestructible.
------------------------
Type : Headgear
Def : 10
Location : Upper
Weight : 30
Required Level : 1
Class : All Jobs

Todos

Não especificado

Flags
Pode entrar em loja de player? Não
Invoca monstro? Não
Faz parte de um contêiner? Não
Tem pilha única? Não
Vincula ao equipar? Não
Anuncia o drop? Não
É consumido ao usar? Sim
Tem efeito ao cair no chão? Não
Empilhamento
Não especificado
Uso
Não especificado
Comércio
Substituir Não especificado
Pode ser descartado? Sim
Pode ser trocado? Sim
Pode ser trocado com o parceiro? Sim
Pode ser vendido para NPC? Sim
Pode ser colocado no carrinho? Sim
Pode ser colocado no armazém? Sim
Pode ser colocado no armazém da guilda? Sim
Pode ser enviado por correio? Sim
Pode ser leiloado? Sim
Atraso
Não especificado
.@r = getrefine();
bonus bMaxHPrate,10;
bonus bAllStats,5;
bonus bDelayrate,-20;
if (BaseLevel>=100)
   bonus3 bAutoSpell,"GC_CROSSIMPACT",3,50;
else if (BaseLevel<=99)
   bonus3 bAutoSpell,"AS_SONICBLOW",10,50;
if (getpetinfo(PETINFO_EGGID) == 9014) {
   bonus bBaseAtk,50;
   bonus bAspd,5;
   if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL) {
       bonus bSpeedRate,25;
       bonus bAllStats,5;
       if (.@r>=10) {
            bonus bMaxHPrate,10;
            bonus bMaxSPrate,10;
            if (.@r>=11) {
                bonus bAtkRate,25;
                if (.@r>=12) {
                    bonus bMaxHPrate,20;
                    bonus bMaxSPrate,20;
                }
            }
       }
   }
}
Referências do Script
getrefine Comando
getrefine
Assinatura:
getrefine()
Descrição:
function is called. This function is intended for use in item scripts.
bMaxHPrate Bônus de Item
bMaxHPrate
Assinatura:
bonus bMaxHPrate,n;
Descrição:
MaxHP + n%
bAllStats Bônus de Item
bAllStats
Assinatura:
bonus bAllStats,n;
Descrição:
STR + n, AGI + n, VIT + n, INT + n, DEX + n, LUK + n
bDelayrate Bônus de Item
bDelayrate
Assinatura:
bonus bDelayrate,n;
Descrição:
Increases skill delay by n%
if Comando
if
Assinatura:
if (<condition>) <statement>;
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:
if (1)  mes "This will always print.";
if (0)  mes "And this will never print.";
if (5)  mes "This will also always print.";
if (-1) mes "Funny as it is, this will also print just fine.";
if (strcharinfo(0) == "Daniel Jackson") mes "It is true, you are Daniel!";
.@answer = 1;
input .@input;
if (.@input == .@answer)
close;
mes "Sorry, your answer is incorrect.";
close;
.@answer = 1;
input .@input;
if (.@input != .@answer)
mes "Sorry, your answer is incorrect.";
close;
.@count++;
mes "[Forgetful Man]";
if (.@count == 1) mes "This is the first time you have talked to me.";
if (.@count == 2) mes "This is the second time you have talked to me.";
if (.@count == 3) mes "This is the third time you have talked to me.";
if (.@count == 4) {
mes "This is the fourth time you have talked to me.";
mes "I think I am getting amnesia, I have forgotten about you...";
.@count = 0;
}
close;
mes "[Quest Person]";
if (countitem(512) < 1) {  // 512 is the item ID for Apple, found in db/item_db.yml
mes "Can you please bring me an apple?";
close;
}
mes "Oh, you brought an Apple!";
mes "I didn't want it, I just wanted to see one.";
close;
mes "[Person Checker]";
if ($@name$ == "") {  // global variable not yet set
mes "Please tell me someones name";
next;
input $@name$;
$@name2$ = strcharinfo(0);
mes "[Person Checker]";
mes "Thank you.";
close;
}
if ($@name$ == strcharinfo(0)) {  // player name matches $@name$
mes "You are the person that " + $@name2$ + " just mentioned.";
mes "Nice to meet you!";
// reset the global variables
$@name$ = "";
$@name2$ = "";
close;
}
mes "You are not the person that " + $name2$ + " mentioned.";
close;
mes "[Multiple Checks]";
if (@queststarted == 1 && countitem(512) >= 5) {
mes "Well done, you have started the quest and brought me 5 Apples.";
@queststarted = 0;
delitem 512,5;
close;
}
mes "Please bring me 5 apples.";
@queststarted = 1;
close;
if (<condition>)
dothis;
else
dothat;
if (<condition>) {
dothis1;
dothis2;
} else {
dothat1;
dothat2;
dothat3;
}
if (<condition 1>)
dothis;
else if (<condition 2>) {
dothat;
end;
} else
dothis;
bAutoSpell Bônus de Item
bAutoSpell
Assinatura:
bonus5 bAutoSpell,sk,y,n,bf,i;
Descrição:
Adds a n/10% chance to cast skill sk of level y when attacking with trigger criteria bf
getpetinfo Comando
getpetinfo
Assinatura:
getpetinfo(<type>{,<char_id>})
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:
mes "[Vet]";
mes "Your pet + " getpetinfo(PETINFO_NAME);
if (getpetinfo(PETINFO_INTIMATE) < PET_INTIMATE_LOYAL)
mes "has some growing to do on you!";
else
mes "seems to love you very much!";
close;
bBaseAtk Bônus de Item
bBaseAtk
Assinatura:
bonus bBaseAtk,n;
Descrição:
Basic attack power + n
bAspd Bônus de Item
bAspd
Assinatura:
bonus bAspd,n;
Descrição:
Attack speed + n
bSpeedRate Bônus de Item
bSpeedRate
Assinatura:
bonus bSpeedRate,n;
Descrição:
Movement speed + n% (only the highest among all is applied, won't be stacked with SC_SPEEDUP0, SC_SPEEDUP1)
bMaxSPrate Bônus de Item
bMaxSPrate
Assinatura:
bonus bMaxSPrate,n;
Descrição:
MaxSP + n%
bAtkRate Bônus de Item
bAtkRate
Assinatura:
bonus bAtkRate,n;
Descrição:
ATK + n% that won't interfere with Damage modifier and SC_EDP (renewal mode only)
Não especificado
Referências do Script

Nenhuma referência documentada foi detectada neste script.

Não especificado
Referências do Script

Nenhuma 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

Refino Grupo Nível do Item Refinável Nível da Arma Nível da Armadura Detalhes
Refino Armadura 1 Sim Não especificado 1 Detalhes

Não especificado