Scofield Posted October 16, 2019 Group: Members Topic Count: 109 Topics Per Day: 0.02 Content Count: 272 Reputation: 16 Joined: 01/11/13 Last Seen: 17 hours ago Share Posted October 16, 2019 Hello, I want my endless tower to award every 25 floors, in case I tried to summon 3 baus but I am not sure if it is correct. 1@tower,270,51,0 script 24FGate102tower 45,2,2,{ end; OnInstanceInit: disablenpc instance_npcname("24FGate102tower", instance_id()); end; OnEnable: enablenpc instance_npcname("24FGate102tower", instance_id()); areamonster "1@tower",352,9,362,45,"Gato de Nove Caudas",1307,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"; areamonster "1@tower",352,9,362,45,"Flor do Luar",1150,1,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"; areamonster "1@tower",352,9,362,45,"Nove Caudas",1180,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"; end; OnTouch_: warp "1@tower",395,12; end; OnMyMobDead: set .@mob_dead_num,mobcount("1@tower",instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"); if (.@mob_dead_num < 1) { instance_announce 0, "Todos os monstros no 25° andar foram derrotados.",bc_map,"0xffff00"; donpcevent instance_npcname("25FGate102tower", instance_id())+"::OnEnable"; areamonster "1@tower",352,9,362,45,"Baú do Tesouro",1356,1,instance_npcname("24FGate102tower", instance_id())+"::Onboxdead1"; areamonster "1@tower",352,9,362,45,"Baú do Tesouro",1356,1,instance_npcname("24FGate102tower", instance_id())+"::Onboxdead1"; areamonster "1@tower",352,9,362,45,"Baú do Tesouro",1356,1,instance_npcname("24FGate102tower", instance_id())+"::Onboxdead1"; //SetItemPartyInMap in_102floor 25 } else instance_announce 0, "Monstros vivos no 25° andar: " + .@mob_dead_num,bc_map,"0x00ff99"; end; Onboxdead1: Announce "[Torre Infinita. And.25] " + strcharinfo(0) +" abriu um dos Baús do Tesouro.",8; end; } Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 17, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 17, 2019 1@tower,270,51,0 script 24FGate102tower 45,2,2,{ end; OnInstanceInit: disablenpc instance_npcname("24FGate102tower", instance_id()); end; OnEnable: enablenpc instance_npcname("24FGate102tower", instance_id()); areamonster "1@tower",352,9,362,45,"Gato de Nove Caudas",1307,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"; areamonster "1@tower",352,9,362,45,"Flor do Luar",1150,1,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"; areamonster "1@tower",352,9,362,45,"Nove Caudas",1180,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"; end; OnTouch_: warp "1@tower",395,12; end; OnMyMobDead: set .@mob_dead_num,mobcount("1@tower",instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead"); if (.@mob_dead_num < 1) { instance_announce 0, "Todos os monstros no 25° andar foram derrotados.",bc_map,"0xffff00"; donpcevent instance_npcname("25FGate102tower", instance_id())+"::OnEnable"; areamonster "1@tower",352,9,362,45,"Baú do Tesouro",1356,1,instance_npcname("24FGate102tower", instance_id())+"::Onboxdead1"; areamonster "1@tower",352,9,362,45,"Baú do Tesouro",1356,1,instance_npcname("24FGate102tower", instance_id())+"::Onboxdead1"; areamonster "1@tower",352,9,362,45,"Baú do Tesouro",1356,1,instance_npcname("24FGate102tower", instance_id())+"::Onboxdead1"; // party rewards. addrid(2, 0, getcharid(1)) { if (strcharinfo(3) == strnpcinfo(4)) { getitem 512, 1; getitem 512, 2; getitem 512, 3; } } } else instance_announce 0, "Monstros vivos no 25° andar: " + .@mob_dead_num,bc_map,"0x00ff99"; end; Onboxdead1: Announce "[Torre Infinita. And.25] " + strcharinfo(0) +" abriu um dos Baús do Tesouro.",8; end; } Quote Link to comment Share on other sites More sharing options...
Question
Scofield
Hello, I want my endless tower to award every 25 floors, in case I tried to summon 3 baus but I am not sure if it is correct.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.