• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Request - an easy ability (channel charm)

Status
Not open for further replies.
Level 22
Joined
Feb 4, 2005
Messages
3,971
I know JASS has more opportunities and I am requesting this spell, coz with GUI it doesn't work much:

ChannelCharm
- single target, enemies (I'll add the targets allowed etc.)
- 1) the target to be able to escape if away from the casting range and the caster is currently channeling it. I'm talking about imagine a MK casts bolt on a unit but the unit runs away - then the MK goes after that unit with the Storm bolt button still selected as an ordered command. If you can do this OR - 2) like Drain Life if the unit gets away from the casting range the charm not to occur or to cancel. One of these 2, 1) is preferred.
- Also not with 'Change owner trigger' because then the unit's owner will be changed just for starting the ability even if it ecapes the range,
- casting range: 2140, chaneling: 10 sec, description,name, hotkeys - dont waste ur time with that, just the things to do the spell. Thx
- a unit ability, 1 level, I also temp make it hero ability to change required level to 6 or 10 (that doesn't matter for a unit), because when the skill requires level 6+ you can cast it on magic immune units too, even though it doesn't take dmg on them but for other purposes - like Charm it works like charming dryads.
 
Terran, the JASS section != (does not) equal the request section.

And that would be fairly simple (I think) you just create a dummy ability that has a 10 second channel time, then after 10 seconds, you check to see if the targeted unit is still within the cast range, then make a dummy caster, add the charm ability to it (make sure the dummy unit belongs to the caster of the channel charm) and cast on the targetted unit.

And no unit will be able to escape a 2140 range spell in 10 frikken seconds unless they are on the edge of the AoE.

Also, make sure the charm ability (NOT the channeling dummy ability) has no mana cost (makes it easier) and has enough cast range (although you can use the cast range instead of hunting around through the conditions to find the is unit is range of unit field)

So it would be: A unit starts the effect of an ability (event, I don't know if this includes channeling time or not, but it feels like it doesn, but test it to be sure)

Condition: Ability being cast equal to (Channel charm)

Actions: (IF the event does NOT include cast time you need this line) wait for 10 seconds
Create 1 (dummy caster) for (owner of unit casting ability) at (position of unit castng ability
Add (Charm [effect]) to last created unit.
Set level of (Charm [effect]) for (last created unit) to (level of Channeling Charm) for (unit castign ability)
Order (last created unit) to (nuetral hostile - charm [or: nuetral dark ranger charm]) (target of ability being cast)
Add a (generic) (10 second) expiration timer to (last created unit)

Make sure your dummy unit has: no food cost, no point value, no model file (where it says model go to custom and type .mdx) no collision size, flying movement type, 0 movement speed, 1000000 initial mana, 100000 max mana, 1000 mana per second regen.

Make sure the Channeling Charm has: 10 second channel or casting time, proper tooltips, mana costs, etc

Make sure the Charm [effect] ability: proper cast range, 0 mana cost.
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
Yeah right,a dummi. I was hoping someone to make it with JASS because it is not so much of a spell to have to make a dummy or a 2nd ability. If we can just make the caster's ability to do that using JASS' advanced capabilities, it would be great.

So who can spare a little time on doing that? I will need it for a model already seen by some of you.
 
Level 3
Joined
Aug 24, 2007
Messages
77
Couldn't you just use the spell I made for you ages ago and create a lightning effect from unit A to unit B and at the end of the spell time check to see if the unit is still in range of the charm ability?

Anyway, if you don't want to do that I could try and whip up a JASS spell soon (assignments ftl).
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
The problem with your charm was casting time =/= channeling. It's not like create a 10 second casting time and problem solved. No triggers work before these 10 seconds. That's why I'm requesting this to be a channel charm, possibly interruptable - if the unit gets away you have to run to charm it again, I think that was the original Charm. Come on, make the JASS power do it, you will receive points for that :)
 
Level 11
Joined
Aug 25, 2006
Messages
971
How would that in any way help? He wants a channeling charm, not a chain charm. Also you can't make chain lightning give buffs.
 
Level 11
Joined
Nov 12, 2006
Messages
765
oh no sorry man. i cant do spells, i can only take them from the "spells" section on this site. before what i was saying was that: i was thinking you wanted to mod chain lightning, so that when it hits a unit it works like charm and the ability goes to you. but you meant channel charm. so i was just correcting my mistake.

sorry i cant help ya :/
 
Status
Not open for further replies.
Top