Item Details

Crown of Good and Evil (Elemental Master) [1] ( GoodnEvil_Circlet_EM )

ID 400377 Crown of Good and Evil (Elemental Master) [1]
Crown of Good and Evil (Elemental Master) [1] Preço de Compra: zeny Preço de Venda: 0 zeny Peso: 10 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: 2 Nível Mín. de Equipamento: 215 Nível Máx. de Equipamento: Não especificado
Refinável: 1 Graduável: 1 Elemento: Neutro Classes: Classes Quartas.

Crown imbued with the power of good and evil.
------------------------
For every 3 refine level, increase magic damage against all races enemies by 5%.
------------------------
For every 4 refine level, increase Fire, Poison, Water, and Earth property magic damage by 7%.
------------------------
When refined to +7 or higher, RES + 50.
------------------------
When refined to +9 or higher, reduce Variable Casting Time by 10%.
------------------------
When refined to +11 or higher, MATK + 5%, reduce Fixed Casting Time by 0.3 seconds.
------------------------
Set Bonus:
Crown of Good and Evil (Elemental Master) [1]
Doom Bible [2]

For every 3 refine level of Weapon, increase Venom Swamp damage by 4%, increase Conflagration damage by 5%.
When weapon grade is B or higher, increase Venom Swamp damage by additional 10%.
------------------------
Set Bonus:
Crown of Good and Evil (Elemental Master) [1]
Doom Bible [2]
Evil Spell

Increase Venom Swamp damage by additional 15%, increase Conflagration damage by additional 20%.
------------------------
Set Bonus:
Crown of Good and Evil (Elemental Master) [1]
Blessed Bible [2]

For every 3 refine level of Weapon, increase Diamond Storm damage by 4%, increase Terra Drive damage by 5%.
When weapon grade is B or higher, increase Diamond Storm damage by additional 10%.
------------------------
Set Bonus:
Crown of Good and Evil (Elemental Master) [1]
Blessed Bible [2]
Good Spell

Increase Diamond Storm damage by additional 15%, increase Terra Drive damage by additional 20%.
------------------------
[Grade Bonus]
[Grade D] MHP + 5%.
[Grade C] P.ATK + 3, S.MATK + 3.
[Grade B] P.ATK + 2, S.MATK + 2, POW + 2, SPL + 2.
[Grade A] RES + 50, MRES + 50, When refined to +12 or higher, reduce Fixed Casting Time by additional 0.2 seconds.
------------------------
Type : Headgear
Def : 10
Location : Upper
Weight : 10
Armor Level : 2
Required Level : 215
Class : Elemental Master

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
.@g = getenchantgrade();
.@r = getrefine();
bonus2 bMagicAddRace,RC_All,5*(.@r/3);
bonus2 bMagicAtkEle,Ele_Earth,7*(.@r/4);
bonus2 bMagicAtkEle,Ele_Fire,7*(.@r/4);
bonus2 bMagicAtkEle,Ele_Water,7*(.@r/4);
bonus2 bMagicAtkEle,Ele_Poison,7*(.@r/4);
if (.@r>=7) {
   bonus bRes,50;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      if (.@r>=11) {
         bonus bFixedCast,-300;
         bonus bMatkRate,5;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMaxHPrate,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bPAtk,3;
      bonus bSMatk,3;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bPAtk,2;
         bonus bSMatk,2;
         bonus bPow,2;
         bonus bSpl,2;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bMRes,50;
            bonus bRes,50;
            if (.@r>=12) {
               bonus bFixedCast,-200;
            }
         }
      }
   }
}
Referências do Script
getenchantgrade Comando
getenchantgrade
Assinatura:
getenchantgrade({<equipment slot>,<char_id>})
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'.
getrefine Comando
getrefine
Assinatura:
getrefine()
Descrição:
function is called. This function is intended for use in item scripts.
bMagicAddRace Bônus de Item
bMagicAddRace
Assinatura:
bonus2 bMagicAddRace,r,x;
Descrição:
+x% magical damage against race r
bMagicAtkEle Bônus de Item
bMagicAtkEle
Assinatura:
bonus2 bMagicAtkEle,e,x;
Descrição:
Increases damage of e element magic by x%
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;
bRes Bônus de Item
bRes
Assinatura:
bonus bRes,n;
Descrição:
Res + n
bVariableCastrate Bônus de Item
bVariableCastrate
Assinatura:
bonus2 bVariableCastrate,sk,n;
Descrição:
Increases variable cast time of skill sk by n% (If RENEWAL_CAST is NOT defined, this bonus is equal to bCastrate)
bFixedCast Bônus de Item
bFixedCast
Assinatura:
bonus bFixedCast,t;
Descrição:
Increases fixed cast time of all skills by t milliseconds (has effect in RENEWAL_CAST only)
bMatkRate Bônus de Item
bMatkRate
Assinatura:
bonus bMatkRate,n;
Descrição:
Magical attack power + n%
bMaxHPrate Bônus de Item
bMaxHPrate
Assinatura:
bonus bMaxHPrate,n;
Descrição:
MaxHP + n%
bPAtk Bônus de Item
bPAtk
Assinatura:
bonus bPAtk,n;
Descrição:
PAtk + n
bSMatk Bônus de Item
bSMatk
Assinatura:
bonus bSMatk,n;
Descrição:
SMatk + n
bPow Bônus de Item
bPow
Assinatura:
bonus bPow,n;
Descrição:
POW + n
bSpl Bônus de Item
bSpl
Assinatura:
bonus bSpl,n;
Descrição:
SPL + n
bMRes Bônus de Item
bMRes
Assinatura:
bonus bMRes,n;
Descrição:
MRes + n
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

# Itens-Alvo Funções Slots Detalhes
#67 22 rodatabase.target_item 2 Detalhes
ID Item de Ativação Itens-Base Materiais Funções Detalhes
#76 Crown of Good and Evil Smelting Hammer 22 22 rodatabase.base_item Item Resultante Detalhes
#96 +7 Refine Hammer for NPC 324 648 rodatabase.base_item Item Resultante Detalhes
Refino Grupo Nível do Item Refinável Nível da Arma Nível da Armadura Detalhes
Refino Armadura 2 Sim Não especificado 2 Detalhes

Não especificado