Custom Spells

Got some?
User avatar
Shin Noir
Posts: 380

Re: Custom Spells

Post#41 » Wed Sep 16, 2009 1:36 am

Latest spellfile:
Spell info for spell #6271:
name: Spirit of Vesagran
base[12]: 0, 0, 0, 0, 0, 0, 0, 1000, 60, 35, 0, 140
base2[12]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -858993460
max[12]: 0, 0, 0, 0, 0, 0, 0, 0, 60, 35, 0, 0

This is why my epic still isn't working, tyler.. Didn't do the mods I noted earlier... XD
I'm not sure how you modify files, but I found most spell editors to be annoying and limited, well frankly that's my outlook on most GUI editors. Haha.

change line in spells_us.txt (search for 6271^) from:

Code: Select all

6271^Spirit of Vesagran^BLUE_TRAIL^^^^You are filled with the spirit of Vesagran.^ is filled with the spirit of Vesagran.^The draconic spirit fades.^^150^0^0^0^0^0^8^10^0^0^0^0^0^0^0^0^0^1000^60^35^0^140^0^0^0^0^0^0^0^0^0^0^0^-1^0^0^0^0^0^0^0^0^60^35^0^0^0^0^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^^0^10^10^10^10^10^10^10^100^124^185^138^254^41^0^52^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^13^0^-1^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^179^342^0^0^0^0^0^0^0^0^-1^6271^^^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0


To:

Code: Select all

6271^Spirit of Vesagran^BLUE_TRAIL^^^^You are filled with the spirit of Vesagran.^ is filled with the spirit of Vesagran.^The draconic spirit fades.^^150^0^0^0^0^0^8^10^0^0^0^0^0^0^0^0^0^1000^60^35^0^140^0^0^0^0^0^0^0^0^0^0^-1^-1^0^0^0^0^0^0^0^0^0^35^0^0^0^0^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^^0^10^10^10^10^10^10^10^100^124^185^138^254^41^0^52^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^13^0^-1^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^179^342^0^0^0^0^0^0^0^0^-1^6271^^^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0


Tada. That's it.
ImageImage

User avatar
Tyler
Posts: 4365

Re: Custom Spells

Post#42 » Wed Sep 16, 2009 9:26 am

Edited this in, no error when i launched the Editor so technically it's working. Let me know if it is indeed working ingame.

I just realized this effect lasts 1 minute, so i cut the Hot in half (same for kinsong which i fixed the same way).
Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

User avatar
Shin Noir
Posts: 380

Re: Custom Spells

Post#43 » Thu Sep 17, 2009 2:08 am

Wtih sept 16th edition of spell file:
Found spell 6271
Spell info for spell #6271:
name: Spirit of Vesagran

base[12]: 0, 0, 0, 0, 0, 0, 0, 500, 60, 35, 0, 140
base2[12]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -858993460
max[12]: 0, 0, 0, 0, 0, 0, 0, 0, 60, 35, 0, 0

See the two sets of 60, and only one -1?

The tool I'm using by the way is inside the SVN of source, you can compile it in : <dir of SVN>\utils\spell_explorer.dsw
copy your spells_ud to the same dir as spell_explorer.exe , and run spell_explorer.exe <spellid> in a command line, and it spits out in DOS like this:
Image

You can count the 0's to figure out what slot it represents, e.g. slot 8 (8th spot) is 500 in base[12] row, slot 9 is 60, slot 10 is 35, etc etc..

Referring to my original quote:
For the spell effect Spirit of Vesagran (6721) to work, change the max value in slot 9 from 60 to 0, then change base2 value in slot 10 from 0 to -1, and I think it'll be solved

Added numbers above to help show the counted "slots".

Code: Select all

        1   2  3  4  5  6 7  8  -9-  10 11 12
max[12]: 0, 0, 0, 0, 0, 0, 0, 0, 60, 35, 0, 0

It's still 60.

and base2 value in slot 10 from 0 to -1

Code: Select all

           1   2  3  4  5  6 7  8  9 10  11   12
base2[12]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -858993460

It's still 0.


With the change I suggested a post ago about how to fix it (I also edited 1000 to 500 since you changed that after my last post):

Code: Select all

6271^Spirit of Vesagran^BLUE_TRAIL^^^^You are filled with the spirit of Vesagran.^ is filled with the spirit of Vesagran.^The draconic spirit fades.^^150^0^0^0^0^0^8^10^0^0^0^0^0^0^0^0^0^500^60^35^0^140^0^0^0^0^0^0^0^0^0^0^-1^-1^0^0^0^0^0^0^0^0^0^35^0^0^0^0^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^^0^10^10^10^10^10^10^10^100^124^185^138^254^41^0^52^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^13^0^-1^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^179^342^0^0^0^0^0^0^0^0^-1^6271^^^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0

if you add that to spells.us replacing the line of Spirit of Vesagran, spell_explorer spits out this:
Image
See how the 60 is only on there once, and there's two -1's instead of 1? that file should fix it. Once that's in and it still doesn't work, I'll really sit down and test it on my box.
ImageImage

User avatar
Tyler
Posts: 4365

Re: Custom Spells

Post#44 » Thu Sep 17, 2009 7:46 am

Well no idea- i copy and pasted exactly what you set in code tags.

I'll check it again later today.
Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

User avatar
Tyler
Posts: 4365

Re: Custom Spells

Post#45 » Thu Sep 17, 2009 9:10 am

Ok I checked and i think you're wrong ;)

You wrote in field/slot 10 i needed to add an additional -1 but it seems you put it in slot 11.

To clarify:

Slot 8 : 500 Hot
Slot 9 : 60% increased spell damage
Slot10 : 35% Damage Mod
Slot11 : Limit Spell Type

Both have min and max values. Removing the 60 from the max field from slot9 - np
But add a -10 to slot 10 would add it to 35% damage mod. What you posted in codes puts this to slot11.

Let me know what you think.
Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

User avatar
Shin Noir
Posts: 380

Re: Custom Spells

Post#46 » Thu Sep 17, 2009 11:16 am

Ok, let me talk slower.
My code examples (where I am attempting to number each slot?) is your code. It's unmodified. I'm showing why it's wrong.

The screenshot on the bottom shows the modified spell file.

You want the line:

Code: Select all

           1   2  3  4  5  6 7  8  9 10  11   12
base2[12]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -858993460


To become this:

Code: Select all

           1   2  3  4  5  6 7  8  9  10   11    12
base2[12]: 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -858993460

There's going to be two -1's side by side in the base2 portion after you modify. This means slot 10 will be -1, and slot 11 will be -1. Slot 11 has ALWAYS been -1, since you first edited it, and it's fine. I'm focused solely on slot 10. It hasn't changed in the last 3 or 4 spell file edit updates.

For the spell effect Spirit of Vesagran (6721) to work, change the max value in slot 9 from 60 to 0, then change base2 value in slot 10 from 0 to -1.

that's it. Every single post I've written since I said that has been reiterating it, trying to explain it, etc... since it wasn't in yet.
I can like, send you the spellfile if you want? with the changes? would that be easier? I kind of give up on explaining this, it's really really simple. But I guess I fail at explaining it. so, yeah.. I don't know.
ImageImage

User avatar
Tyler
Posts: 4365

Re: Custom Spells

Post#47 » Thu Sep 17, 2009 12:18 pm

Done.

As i said, i copy and pasted your code in the spellfile yesterday. Maybe an error happened there, not sure.
Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

Jeido
Posts: 1265

Re: Custom Spells

Post#48 » Thu Sep 17, 2009 1:48 pm

I think something did go wrong, Tyler, because I looked at the spell file also to see what shin was talking about and you were missing a -1. Hopefully it's fixed now.
Jeido, Founder of Evolution

User avatar
Tyler
Posts: 4365

Re: Custom Spells

Post#49 » Thu Sep 17, 2009 1:49 pm

Fingers crossed ;)
Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

sarcon
Posts: 257

SK pet

Post#50 » Sat Sep 19, 2009 3:15 am

http://thehiddenforest.dyndns.org/pets.php?class=shd for pet table on SKs ( i know the lvl 68 spell son of decay is higher but i cannot for the life of me find data on it in alla clone), eitherway it still dies from a solo trash mob AoE in a single hit ( any way to boost its hp so it can eat maybe even a single group mob rampage? ( like above 4k?), its dps is just fine though.


P.S. a alternative to dmg shield for mages new spell in PoFire could be a new improved monster summoning ( they are always fun instead of the plain old turds)
Sarcon -Evolution Officer-

Return to “Spell/Disc Issues”

Who is online

Users browsing this forum: No registered users and 1 guest

cron