Chain Lightning Autocast?

SpartanWho

New Member
Reaction score
0
How can I get chain lightning to have an autocast option? Also, how can I make an ability automatically be constantly autocasting? Sorry if I seem like a noob :banghead:

Best Regards,
SpartanWho
 

jackall

You can change this now in User CP.
Reaction score
37
you mean like frost/fire arrows and such? just modify the order strings Turn off and Activate(i think), be sure to use orders that are like frost arrows orders or else it might not work(even if you do get them right it still might not work)
 

Avaleirra

Is back. Probably.
Reaction score
128
I don't think that will do it. I believe you need to change the order ID of the spell itself.

For example, your spell is probably based off chain lightning. Base it off something like faerie fire instead.
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
I don't think that will do it. I believe you need to change the order ID of the spell itself.

For example, your spell is probably based off chain lightning. Base it off something like faerie fire instead.

You need to make a dummy unit, give it chain lightning then order it to cast it. Just FYI.
 

Moridin

Snow Leopard
Reaction score
144
Well, the two ways would be:
1) Base it off an auto-cast-able ability
2) Trigger it with a dummy.

I suggest number 2, mainly because I have no idea if there's a base spell that has auto-cast enabled and allows it to bounce between enemy targets.
 

SpartanWho

New Member
Reaction score
0
Thanks for the help guys! I'll try out Moon Glaive first, then I'l try the dummy unit method.

Best Regards,
SpartanWho
 

takethat

Active Member
Reaction score
12
theres another way,

give the original chain lightning (u may modify its cd, dmg, bounce target)

make a trigger like this, (sorry i dun have WE now)

event - a unit is atked
condition - unit type of atking unit == (your type)
action - order atking unit to [orc - chain lightning] atked unit


this simple trigger will force the ur hero whenever he atk a unit, will cast the chain lightning on the target, however if ur hero did not learn chain lightning, this trigger will just do nothing.

you may add chances of auto casting too like this :

make a integer variable - TempInt1

same event
same condition
action -
set TempInt1 == random number from 1-100
if then else
if TempInt1 => 1
TempInt1 =< 35
then
order atking unit to [orc - chain lightning] atked unit
else

this will give u a 35% on auto casting,

pro: simple and not involving dummy nor point variable, will not leak
con: do not disable player to cast the spell manually, only 1 spell is require.
 

Dest

New Member
Reaction score
26
Moon Glaive should be able to do that. It bounces and is auto.

What if you wanted to click the ability? It wouldn't work and therefore defeating the purpose.

The dummy unit is only the thing you're stuck with.
 

ertaboy356b

Old School Gamer
Reaction score
86
Go look for the ability called "Orb of Lightning" something..

then edit the ability something and put Chain Lightning there..

You will be able to autocast chain lightning now..
 

dls

New Member
Reaction score
0
or so easy create and edit spell phenix fire.. if unit have got phenix fire automatically shoots but must edit effect phenix fire on the lighting effect :)

sorry for my english :nuts:
 

Joccaren

You can change this now in User CP.
Reaction score
54
Orb of lightning gives a chance that a spell will be cast whilst attacking.
Phoenix Fire passively shoots at nearby enemies.

Create a spell based of faerie fire that does nothing.
Change its icons, tooltips ect. to that of chain lightning
Create a dummy unit with the real chain lightning spell in the OE

Use this Tigger:

Event: Unit starts the effects of an ability
Conditions:Ability being cast equal to (FearieFireChainLightning)
Actions: Create one dummy unit for owner of triggering unit
Order last created unit to orc-Far Seer- Chain Lightning target unit of ability being cast
add a 1 second generic expiration time to last created unit.
 

reyghost

New Member
Reaction score
14
theres another way,

give the original chain lightning (u may modify its cd, dmg, bounce target)

make a trigger like this, (sorry i dun have WE now)

event - a unit is atked
condition - unit type of atking unit == (your type)
action - order atking unit to [orc - chain lightning] atked unit


this simple trigger will force the ur hero whenever he atk a unit, will cast the chain lightning on the target, however if ur hero did not learn chain lightning, this trigger will just do nothing.

you may add chances of auto casting too like this :

make a integer variable - TempInt1

same event
same condition
action -
set TempInt1 == random number from 1-100
if then else
if TempInt1 => 1
TempInt1 =< 35
then
order atking unit to [orc - chain lightning] atked unit
else

this will give u a 35% on auto casting,

pro: simple and not involving dummy nor point variable, will not leak
con: do not disable player to cast the spell manually, only 1 spell is require.

Not a good idea that event can be exploited,moridin an joccarens answers are the ones that should give overall better results
 

takethat

Active Member
Reaction score
12
why do people need to exploit that event when the spell can also be manually cast? giving cd and mana cost to the spell will make it unexploitable.

its just another option making autocast, one that does not require creating a location and extra unit and then remove them in the same moment.
 

Joccaren

You can change this now in User CP.
Reaction score
54
why do people need to exploit that event when the spell can also be manually cast? giving cd and mana cost to the spell will make it unexploitable.

its just another option making autocast, one that does not require creating a location and extra unit and then remove them in the same moment.

but then how do you tun on/off autocast?
 

lh2705

Just another Helper
Reaction score
111
Orb of Slow
Chain Lightning

set the orb of slow % chance to trigger to 100%
CD - 0 seconds
add chain lightning as the spell being casted.
 

Joccaren

You can change this now in User CP.
Reaction score
54
Orb of Slow
Chain Lightning

set the orb of slow % chance to trigger to 100%
CD - 0 seconds
add chain lightning as the spell being casted.

Again, how would you turn autocast on/off?
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
Again, how would you turn autocast on/off?

base it of any autocastable ability

when a unit is ordered to autocast on/off , get the order string of it and write it down

then whenever a unit is ordered something, check if the order equal to <order string>

if it is equal to "autocast on", use a dummy
if it is equal to "autocast off", disable the dummy

a bit complicated though...
 

Joccaren

You can change this now in User CP.
Reaction score
54
base it of any autocastable ability

when a unit is ordered to autocast on/off , get the order string of it and write it down

then whenever a unit is ordered something, check if the order equal to <order string>

if it is equal to "autocast on", use a dummy
if it is equal to "autocast off", disable the dummy

a bit complicated though...

What I've already said, I'm just asking how lh2705's method is going to enabled/disable autocasting.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top