mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2025-12-17 15:24:41 +08:00
修改二仇顺劈绘制逻辑
This commit is contained in:
@@ -83,14 +83,10 @@ public class Emanation
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
var Lakshmis = Svc.Objects.Where(x => x.DataId == 7712);
|
||||
foreach (var Lakshmi in Lakshmis)
|
||||
{
|
||||
if (Lakshmi.IsTargetable)
|
||||
{
|
||||
dp.Owner = Lakshmi.EntityId;
|
||||
}
|
||||
}
|
||||
var boss = IbcHelper.GetFirstByDataId(7712);
|
||||
if (boss == null) return;
|
||||
dp.Owner = boss.GameObjectId;
|
||||
|
||||
dp.Name = "光之波动";
|
||||
dp.TargetObject = @event.TargetId();
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
@@ -100,6 +96,7 @@ public class Emanation
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
|
||||
[ScriptMethod(name: "光之瀑布(分摊)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:9361"])]
|
||||
public void 光之瀑布(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user