HexecuteIf - HexCasting 的插件
HexecuteIf 是 HexCasting 的一个插件,提供了若干法术。
基础法术:
赫尔墨斯的深思:此法术评估当前的魔法环境,并且仅在满足施法者设定的前置条件时,选择性地执行后续法术。
它允许你创建带有条件触发的复杂法术,确保它们仅在安全或有利条件下才会被施放。
卡戎的小心:与卡戎的博弈类似,如果满足特定条件,此法术会阻止后续法术的施放。
它起到保护作用,防止在特定情况下执行潜在危险或不需要的法术。
方块管理:
可破坏方块:检查给定的方块是否可以被破坏。
可放置方块:检查在指定位置是否可以放置方块(考虑液体的存在)。
物品栏管理:
物品栏大小:返回物品栏中的总槽位数。
已占用槽位:返回当前已被占用的槽位列表。
槽位中的物品数量:返回指定槽位中的物品数量。
投掷物品:从物品栏的指定槽位中移除指定数量的物品。
转移物品:将指定数量的物品从一个物品栏槽位移至另一个槽位,前提是目标槽位为空。
HexecuteIf - Addon for HexCasting
HexecuteIf is an addon for HexCasting that provides several spells.
Basic spells:
Hermes' Deliberation: This spell evaluates the current magical environment and selectively performs subsequent spells only if the preconditions set by the mage are met.
It allows you to create complex spells with a conditional trigger, ensuring they are only cast under safe or favorable conditions.
Charon's Caution: Similar to Charon's Gambit, this spell stops subsequent spells from being cast if a certain condition is met.
It acts as a protective measure, preventing potentially dangerous or unwanted spells from being performed under certain circumstances.
Block management:
Can Break Block: Checks whether the given block can be broken.
Can Place Block: Checks if it is possible to place a block in the specified position, given the presence of liquids.
Inventory management:
Inventory Size: Returns the total number of slots in the inventory.
Occupied Slots: Returns a list of slots that are currently occupied.
Number of Items in Slot: Returns the number of items in the specified slot.
Throw Item: Removes the specified number of items from the specified slot in the inventory.
Transfer Item: Moves the specified number of items from one inventory slot to another, provided the target slot is empty.
评论 0
登录后参与评分
还没有评论,来抢沙发吧