Jump to content

  •  

Daiko

Member Since 22 Mar 2017
Offline Last Active Jun 03 2017 04:51 PM
-----

Topics I've Started

Grafity Error

30 March 2017 - 02:21 AM

bom gente desculpa incomodar mais não consegui arrumar esse erro minha ideia era coloca um item com 4 loc no equipamento portanto eu usei 102 abaixo está meu item db2

20029,Montaria,Montaria,5,0,0,10,0,0,0,4,0xFFFFFFFE,3,2,102,,1,1,1020,{},{},{}

bom eu ja coloquei a determinada montaria como um item equipavel como visual porém não consigo no loc.

coloquei as sprite na pasta sprite,texture,itemdb2 se alguém souber qual o erro e me explica como resolve agradeço mesmo

 


Help with NPC

22 March 2017 - 03:51 AM

Hello everyone, I am new forum and I need a help in the script so I would like it to run just the command when someone clicks npc only when someone clicks

 

OnInstanceInit:
    areamonster "1@tower",7,351,17,387,"Metaling",1613,15,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
    areamonster "1@tower",7,351,17,387,"Marin",1242,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
    areamonster "1@tower",7,351,17,387,"Poporing",1031,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
    areamonster "1@tower",7,351,17,387,"Drops",1113,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
    areamonster "1@tower",7,351,17,387,"Mastering",1090,1,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
    areamonster "1@tower",7,351,17,387,"Poring",1002,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
    end;
 
OnMyMobDead:
    set .@mob_dead_num,mobcount("1@tower",instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead");
    if (.@mob_dead_num < 1) {
        instance_announce -1, "Todos os monstros no 1° andar foram derrotados.",bc_map,"0xffff00";
        donpcevent instance_npcname("1FGate102tower", instance_id())+"::OnEnable";
        //SetItemPartyInMap in_102floor 1
    }
    else
        instance_announce -1, "Monstros vivos no 1° andar: " + .@mob_dead_num,bc_map,"0x00ff99";
    end;