HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Factory Chain Slow Help

11-29-2008, 02:23 AM#1
Axzarious
Well, I seem to have run into a problem here for some odd reason. Chain slow does not seem to work. At first I used Chain Innerfire as the base, but since its basically the same targeting mechanism, and still did not work when it was based off chain innerfire, I swiched it to use Chain Frost as the base (As the base code was shorter as well), and its still not working, and I have no idea whats wrong so im posting it here. I am using the latest version of spell factory.

Collapse JASS:
// Chain Slow ('A018')
//
set s=SetSpellTemplate('A018',"ChainSpellTemplate")
set D=0                                                  
set D=D+DamageTypes(ATTACK_TYPE_PIERCE,DAMAGE_TYPE_MAGIC) 
set D=D+DamageIgnore(UNIT_TYPE_STRUCTURE)               
set D=CreateDamageOptions(D)                            
 
 
    call SetAbilityDataInt( s,"options" ,0,D) 
    call SetAbilityDataInt( s,"bounces" ,0,5)  
    call SetAbilityDataReal(s,"factor"  ,0,0.75) 
    call SetAbilityDataReal(s,"speed"   ,0,0)   
    call SetAbilityDataReal(s,"damage"  ,0,100) 
    call SetAbilityDataInt( s,"spellid" ,0,PreloadAbility('A017'))
    call SetAbilityDataInt( s,"orderid" ,0,OrderId("slow"))
11-29-2008, 08:08 AM#2
Pyrogasm
Perhaps you fucked with the spellfactory code or disabled something on accident. If the demo spell isn't working anymore, then that's definitely what happened.
11-29-2008, 08:33 AM#3
Axzarious
Chain Slow is not a demo spell, its a custom. I based it off the chain freezing democode after trying the democode for Chain Innerfire (Which also did not work). The democode for chain freezing and chain innerfire are still working however.
11-29-2008, 08:35 AM#4
Pyrogasm
Oh. Can you post the code for those two demo spells?
11-29-2008, 08:40 AM#5
Axzarious
Okay, now its working for some odd reason... Have not changed anything since I posted this. God this is wierd, lol.
11-29-2008, 08:41 AM#6
Pyrogasm
That happens sometimes. You probably just accidentally disabled or enabled something without noticing.
11-29-2008, 08:47 AM#7
Axzarious
Sorry for that, and thanks for the help... I just gave the two spells to units for testing, and it worked, lol.

Although I am having problems with a frost nova using breath of frost using the nova demo in the caster system. I do want to use it in the Nova Template style, as the way you can combine missiles with death effects has grown on me, although I cannot set it up though this template, because its using stuff like immolation, and Pheonix fire for damage and stuff, and I dont know of any abilities that slow damaged units that are like that.... I should see if your mystical commenting powers have fixed the first option too.