
Lv.1
func.我又开始学习了
在 关于岛3怎么在软件里打开链接 中回复
https://box3.codemao.cn/e/363604acf9喵37189063
https://box3.codemao.cn/e/363604acf9喵37189063
https://box3.codemao.cn/e/363604acf9喵37189063
https://box3.codemao.cn/e/363604acf9喵37189063
2023-02-10T21:53:24 点赞:0
在 捡抢代码教程 中回复
world.querySelectorAll('.喵').forEach((喵)=>{
喵.onEntityContact(({other})=>{
if(is_contact_喵[find(all_player_name,other.player.name)]===false){
if(喵.hasTag('1')){
attack_power[find(all_player_name,other.player.name)]=2;
} else if(喵.hasTag('2')){
attack_power[find(all_player_name,other.player.name)]=5;
} else if(喵.hasTag('3')){
attack_power[find(all_player_name,other.player.name)]=10;
} else if(喵.hasTag('4')){
attack_power[find(all_player_name,other.player.name)]=20;
}
world.say(other.player.name+'捡起了喵');
world.say('攻击力为'+attack_power[find(all_player_name,other.player.name)]);
is_contact_喵[find(all_player_name,other.player.name)]=true;
}
});
喵.onEntitySeparate(({other})=>{
is_contact_喵[find(all_player_name,other.player.name)]=false;
});
});
world.querySelectorAll('.喵').forEach((喵)=>{ 喵.onEntityContact(({other})=>{ if(is_contact_喵[find(all_player_name,other.player.name)]===false){ if(喵.hasTag('1')){ attack_power[find(all_player_name,other.player.name)]=2; } else if(喵.hasTag('2')){ attack_power[find(all_player_name,other.player.name)]=5; } else if(喵.hasTag('3')){ attack_power[find(all_player_name,other.player.name)]=10; } else if(喵.hasTag('4')){ attack_power[find(all_player_name,other.player.name)]=20; } world.say(other.player.name+'捡起了喵'); world.say('攻击力为'+attack_power[find(all_player_name,other.player.name)]); is_contact_喵[find(all_player_name,other.player.name)]=true; } }); 喵.onEntitySeparate(({other})=>{ is_contact_喵[find(all_player_name,other.player.name)]=false; }); });
world.querySelectorAll('.喵').forEach((喵)=>{ 喵.onEntityContact(({other})=>{ if(is_contact_喵[find(all_player_name,other.player.name)]===false){ if(喵.hasTag('1')){ attack_power[find(all_player_name,other.player.name)]=2; } else if(喵.hasTag('2')){ attack_power[find(all_player_name,other.player.name)]=5; } else if(喵.hasTag('3')){ attack_power[find(all_player_name,other.player.name)]=10; } else if(喵.hasTag('4')){ attack_power[find(all_player_name,other.player.name)]=20; } world.say(other.player.name+'捡起了喵'); world.say('攻击力为'+attack_power[find(all_player_name,other.player.name)]); is_contact_喵[find(all_player_name,other.player.name)]=true; } }); 喵.onEntitySeparate(({other})=>{ is_contact_喵[find(all_player_name,other.player.name)]=false; }); });
world.querySelectorAll('.喵').forEach((喵)=>{ 喵.onEntityContact(({other})=>{ if(is_contact_喵[find(all_player_name,other.player.name)]===false){ if(喵.hasTag('1')){ attack_power[find(all_player_name,other.player.name)]=2; } else if(喵.hasTag('2')){ attack_power[find(all_player_name,other.player.name)]=5; } else if(喵.hasTag('3')){ attack_power[find(all_player_name,other.player.name)]=10; } else if(喵.hasTag('4')){ attack_power[find(all_player_name,other.player.name)]=20; } world.say(other.player.name+'捡起了喵'); world.say('攻击力为'+attack_power[find(all_player_name,other.player.name)]); is_contact_喵[find(all_player_name,other.player.name)]=true; } }); 喵.onEntitySeparate(({other})=>{ is_contact_喵[find(all_player_name,other.player.name)]=false; }); });2023-02-17T19:02:18 点赞:0
在 【神器代码岛】【建议收藏】喵代码大合集!!! 中回复
₮ ৲ ৳ ௹ ฿ ៛ ₠ ₡ ₢ ₣ ₤ ₥ ₦ ₧ ₨ ₩ ₪ ₫ ₭ ₯ ₰ ₱ ₲ ₳ ₴ ₵ ¥ ﷼ ¢ ¤ € ƒ £ ¥ ∛ ∜ π = 3.141592653589793
2023-02-24T20:56:48 点赞:0
在 喵 教程 中回复
world.querySelectorAll('.喵').forEach((e)=>{ c喵tbounds=getEntityBounds(e); world.addZone({ bounds, force:[0,0.1,0], }) })
2023-03-03T16:31:09 点赞:0
在 非常重要的事情^ 中回复
https://box3.codemao.cn/e/363604acf96437189063
https://box3.codemao.cn/e/363604acf96437189063
https://box3.codemao.cn/e/363604acf96437189063
2023-03-07T17:27:57 点赞:0
在 当Sa了含有标签0的实体就增加10金币,求代码 中回复
//*伴雪纷飞版权所有 // //没进地图时按f12或fn+f12或ctrl+shift+i输入一定是打开之前 box3=document.querySelector(".desktop")._reactRootContainer._internalRoot.current.updateQueue.baseState.element.props.children.props.children.props.state; //进地图后输入 //易错点:要在没有关闭dialog(对话框)(就是选择兵种和喵)的时候输入 box3.box3.dialog.resolveDialog(); //伴雪不知道别人是怎么卡的()反正我是这么卡的()原理是拒绝对话框 //按f12或fn+f12打开控制台输入这串代码 //doge( //搬运请注明原作者(伴雪纷飞) //*参考资料[box3++]
2023-06-26T16:58:10 点赞:0