Chopinski测试地图的Side Missile技能GUI请求
Projectile skill Gui Request
Chopinski测试地图的Side Missile技能新增SideMissile_变量用于GUI调节导弹属性。可修改SideMissile_Damage(每级伤害)、SideMissile_CountPerSide(每侧数量)、SideMissile_TravelDistance(距离)与SideMissile_Offset(100偏移生成于100/50/-50/-100)。
-
Side Missile
-
Side Missile OnHit
I tested this inside Chopinski's test map, the "SideMissile_" variables are new added for this spell specifically.
On the Missile variables inside the loop, you can change attributes of the missile, like speed, visual scale, collision (AoE), speed, height etc.
New variables:
You can modify these;
SideMissile_Damage = Real -> How much damage per level each missile deals
SideMissile_CountPerSide = Integer -> How many missiles are created on each side
SideMissile_TravelDistance = Real -> How far the missile travels
SideMissile_Offset = Real -> The X offset of each missile (with 100 offset, it creates them at 100, 50, -50, -100, so evenly spaced out)
Don't modify these, unless you want to change the functionality;
SideMissile_Step = Real
SideMissile_X = Real
SideMissile_Loc = Point
//
The "OnHit" trigger tells the system what to do when the missile collides with something. I added checks to know if the hit unit belongs to an enemy and is alive, but you can change these however you wish for more control.
MissileDestroy = True means the missile that hit a target is destroyed OnHit.
来源:Hiveworkshop · hiveworkshop.com