keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Teleport other

Open Loobinex opened this issue 1 year ago • 5 comments

Loobinex avatar Oct 07 '24 23:10 Loobinex

But it's already possible? You don't need to do all of this.

[shot112]
Name = SHOT_TIME_STAFF
SpellEffect = 10

In fact the above is all you need currently then your instance:

[instance140]
Name = TIME_STAFF
Time = 10
ActionTime = 8
ResetTime = 20
FPTime = 5
FPActionTime = 4
FPResetTime = 10
FPInstantCast = 0
ForceVisibility = 150
TooltipTextID = 673
SymbolSprites = 400
Graphics = ATTACK
RangeMin = MIN
RangeMax = 288
PrimaryTarget = 3
Properties = REPEAT_TRIGGER DESTRUCTIVE MELEE_ATTACK
Function = creature_fire_shot SHOT_TIME_STAFF 0

EDIT: but maybe there is an issue I'm not aware of with my method?

walt253 avatar Oct 08 '24 00:10 walt253

For a potential teleport that targets allies, what about a rule so the users only target critical low health allies?

walt253 avatar Oct 08 '24 00:10 walt253

But it's already possible? You don't need to do all of this.

[shot112]
Name = SHOT_TIME_STAFF
SpellEffect = 10

In fact the above is all you need currently then your instance:

[instance140]
Name = TIME_STAFF
Time = 10
ActionTime = 8
ResetTime = 20
FPTime = 5
FPActionTime = 4
FPResetTime = 10
FPInstantCast = 0
ForceVisibility = 150
TooltipTextID = 673
SymbolSprites = 400
Graphics = ATTACK
RangeMin = MIN
RangeMax = 288
PrimaryTarget = 3
Properties = REPEAT_TRIGGER DESTRUCTIVE MELEE_ATTACK
Function = creature_fire_shot SHOT_TIME_STAFF 0

EDIT: but maybe there is an issue I'm not aware of with my method?

Did you try it, did it work? Where would it teleport an enemy hero to?

Loobinex avatar Oct 25 '24 12:10 Loobinex

But it's already possible? You don't need to do all of this.

[shot112]
Name = SHOT_TIME_STAFF
SpellEffect = 10

In fact the above is all you need currently then your instance:

[instance140]
Name = TIME_STAFF
Time = 10
ActionTime = 8
ResetTime = 20
FPTime = 5
FPActionTime = 4
FPResetTime = 10
FPInstantCast = 0
ForceVisibility = 150
TooltipTextID = 673
SymbolSprites = 400
Graphics = ATTACK
RangeMin = MIN
RangeMax = 288
PrimaryTarget = 3
Properties = REPEAT_TRIGGER DESTRUCTIVE MELEE_ATTACK
Function = creature_fire_shot SHOT_TIME_STAFF 0

EDIT: but maybe there is an issue I'm not aware of with my method?

Did you try it, did it work? Where would it teleport an enemy hero to?

Yes it works. Enemy hero should teleport on their flee point/dungeon heart/hero gate.

BUT if there is none of that they will jump on PLAYER0 dungeon heart.

walt253 avatar Oct 26 '24 01:10 walt253

Annoying, need to look into it a bit then.

Loobinex avatar Nov 19 '24 23:11 Loobinex