JED 2 enhantmentquestion

hagel666

Member!
Joined
Dec 12, 2002
Messages
133
Reaction score
0
Website
Visit site
I have a question. Can you set JED 2 to skip game if a monster has two different enhantments?

------------ This is from a script description---------------------

/// SkipEnchantment("enchantment name", skip_without_another);
/// SkipEnchantment("Lightning Enchanted", 0); ///
/// SkipEnchantment("Extra Strong", 1); ///
/// SkipEnchantment("Might", 1);

-------------------------------------------------------------------------

Is 0 = ignore the enchantment and 1 = skip when monster have that enchantment?

And if i e.g want to skip when a monster has both multi AND light enchants, is that possible and how do you write it?

And what about immunities, can you set them as well?

Thanks, Hagel.
 

michigan

Member!
Joined
Feb 8, 2003
Messages
15
Reaction score
0
Website
Visit site
well mine is like SkipEnchantment("Stone Skin", 0); skips stone skin.

i dont know how to only skip if it has a combo of encahntments

as for immunes i can skip immune to physical because all physical immunes have stone skin so i just set stone skin to be skipped.
 

hagel666

Member!
Joined
Dec 12, 2002
Messages
133
Reaction score
0
Website
Visit site
ok

i ask this because i don´t have any problem with lightenhanced monsters, but if the monster are light + multi or light + conv. e.g

and about immunities i thought about cold immun. because i use f.orb
 

Morgalis

Member!
Joined
Dec 14, 2002
Messages
91
Reaction score
0
Website
www.diabloworld.com
Code:
SkipEnchantment("enchantment name", skip_without_another);
javascripts work with the booleans 0/1 or true/false

this is set to be a 0/1 function where 0 = yes and 1 = no

if you want to leave if an immunity is always there you have it as 0

if you would like to leave when it is with another immunity have it as 1

immunities/enchantments are all the same thing
 

hagel666

Member!
Joined
Dec 12, 2002
Messages
133
Reaction score
0
Website
Visit site
Morgalis

i thought it was boolean with true/false and i know now it´s booleans for the question "skip_without_another", i didn´t get that when i first read it, thanks.

Ok then, if i set a couple of enchantments to 1 that means i don´t skip games until at least two of them are active, right?

Thanks again, Hagel.
 

NewPosts

New threads

Top