What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[资料]脚本制作资料

谢谢EP大大,继续照做,Slots改成FilledSlots。
出现如下信息:
4) ) expected
4) ; expected
4) Invalid expression term ','
4) ; expected
4) ; expected
4) Invalid expression term ')'

能否麻烦大大给个修改好的完整的语句,那个什么FFXIVDB网站真心打不开,我打了2个多小时了,中间那图片就是一张黑纸。。。谢谢!!
 
请问控制游戏里时间和改变人物职业的的语句要怎么写?

比如1点要变成矿工去挖玄铁,2点变成园艺去挖蚕茧
 
怪物id获取方法:游戏里选中怪物/NPC为目标,然后在插件里RebornConsole里粘贴下面代码Run[F5]运行即可获得对应信息
Code:
Log(Core.Target.NpcId);
 
EP,大大,你帮我看看我设置的把一个东西做到1000个再做另外一个东西1000,脚本参数对不对?
<!--338 CP required.-->
<Profile>
<Name>Crafting - Spinel&Electrum Ingot</Name>
<KillRadius>50</KillRadius>
<GrindAreas>
</GrindAreas>
<Order>
<While Condition="Core.Player.MaxCP &gt;= 338">
<NPCRepair Threshhold="20" XYZ="4.119806, 0, 5.349827" NpcId="1008874"/>
<!-- Electrum Ingot -->
<If Condition="Core.Player.CurrentJob == ClassJobType.Goldsmith ">
<If Condition="(ItemCount<1000)">
</If>
<Gather while="(ItemCount<1000)">
<Synthesize RecipeItemId="5066" HQMats="-2,-2,-2,-2" />
</Gather>
<!-- Spinel -->
<If Condition="Core.Player.CurrentJob == ClassJobType.Goldsmith ">
<If Condition="(ItemCount<1000)">
</If>
<Gather while="(ItemCount<1000)">
<Synthesize RecipeItemId="5185" HQMats="-2,-2,-2,-2" />
</Gather>
<While Condition="CraftingManager.IsCrafting">
<CraftAction Name="模范制作II" ActionId="100069" />
</While>
</While>
</Order>
</Profile>
 
:)E大好,请问一下,如何判断 当前目标的buff ID或名称? 还有 当前目标施放的技能 ID或名称?

有语句在Rebornconsole里查找不?
 
:)E大好,请问一下,如何判断 当前目标的buff ID或名称? 还有 当前目标施放的技能 ID或名称?

有语句在Rebornconsole里查找不?
Code:
ClearLog();
Log(((BattleCharacter)Core.Player.CurrentTarget).SpellCastInfo.ActionId);//目标正在施放法术ID
Log(((BattleCharacter)Core.Player.CurrentTarget).SpellCastInfo.Name);//目标正在施放法术英文名
Log(((BattleCharacter)Core.Player.CurrentTarget).SpellCastInfo.SpellData.LocalizedName);//目标正在施放法术中文名
Log(((BattleCharacter)Core.Player.CurrentTarget).HasAura("Medica II"));//目标是否有Medica II这个Buff,Buff名字需要是英文名字
Log(((BattleCharacter)Core.Player.CurrentTarget).HasAura(150));//目标是否有150这个ID的Buff
int i = 1;
foreach (var Arua in ((BattleCharacter)Core.Player.CurrentTarget).Auras.AuraList)
{
    Log("目标第{0}个Buff, 名字: {1} ,ID: {2}", i, Arua.Name, Arua.Id);
    i++;
}
 
Last edited:
谢谢e大~回答的相当专业啊! 解决了我很多问题!:)非常感谢


-------------------------------------------------------------------------------------------
int i = 1;
foreach (var Arua in ((BattleCharacter)Core.Player.CurrentTarget).Auras.AuraList)
{
Log("目标第{0}个Buff, 名字: {1} ,ID: {2}}", i, Arua.Name, Arua.Id);
i++;
}
-------------------------------------------------------------------------------------------

这段没有正确获取BUFF列表的名称和ID,运行结果如下,麻烦E大查看一下

-------------------------------------------------------------------------------------------
目标第{0}个Buff, 名字: {1} ,ID: {2}}
目标第{0}个Buff, 名字: {1} ,ID: {2}}
目标第{0}个Buff, 名字: {1} ,ID: {2}}
-------------------------------------------------------------------------------------------
 
Last edited:
:)E大好~请问在序列模式下,有没有语句来执行修理动作,就是只需要加入NPC的Id,和坐标即可


虽然有些高手的写的修理插件挺好用的,但是在实际应用中比较难达到自己想要的效果,甚至有时候插件本身就会出错
 
Back
Top