PDA

View Full Version : Twincast and "Spell Procs"


Township EQ
10-03-2013, 02:19 AM
Hey guys.

I have two issues here.

The first one is that for the life of me I just can't get Twincasting to work for anything.. It always ends up as an "unknowneffect" and doesn't work.

http://gyazo.com/2b217eaa2655b7370131e1a1fbaad06d.png - This is taken directly from an unedited spell file and doesn't work either.

Also, is there a way to add a "spell proc" for example, you can add a weapon proc via a spell, i was wondering if you could do the same just instead of a chance to proc on a swing it has a chance to proc on a spell cast.

Thanks!

demonstar55
10-03-2013, 02:43 AM
Those UnknownEffects are just because MQ2 doesn't know what they are. Are you sure twincast isn't working? The code says both of those are implemented (I haven't looked past common/spdat.h though, so it could be lying to me)

HnathBST
10-03-2013, 03:08 AM
To check wether the server knows that first spell effect type #spellinfo 9885

You can have a look at common/spdata.h and zone/spell_effects.cpp to see what spell effects the server knows how to handle.

demonstar55
10-03-2013, 03:14 AM
Unless there is something wrong with how I read the code, Twincast works and spell price are called Sympathetic procs (I think)

NatedogEZ
10-03-2013, 03:20 AM
Both effects work just fine Twincast / Sympathetic proc (casting proc)

At least on my somewhat up to date source :)

Township EQ
10-03-2013, 04:00 AM
Ahhh.. The unknown effect being MQ side makes a lot of sense, I'm not too knowledgeable about MQ I just use it for stuff like that.

Now for the twincasting if it does work it must be me editing the spells wrong, I'm sorta new to making customized spells so it's a bit of a learning process for me.. Thanks a lot guys.

Maceblade
10-04-2013, 08:59 PM
Twincast is a weird spell, so what I did is modified the chanter AA chaotic gift and removed the "detrimental" limitations of the spell file. BC even tho chaotic gift twincast evil spells it only worked with ones that did damage. Twincast was always buggy with me and only worked a small portion of the time. chaotic gift as a worn spell effect is a consistant twin cast.