Change to SpellProcess.h and SpellProcess.cpp

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Change to SpellProcess.h and SpellProcess.cpp

Post by Scatman » Fri Dec 05, 2008 2:20 pm

Hey LE, John and I were testing out some spells he made the other day and came to one that required and also took HP away from the caster as well as power. We realized we could do this with the hp_req field but noticed there wasn't any support yet in SpellProcess.cpp. I told John I'd take a look at it and I added two new functions and added them where they go. We tested it out on John's dev server and everything was fine. Here are the diffs. Let me know if there's anything you don't like about it.
You do not have the required permissions to view the files attached to this post.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Fri Dec 05, 2008 3:31 pm

Looks like the diff file got messed up somehow but I think I have your changes merged into the baseline. Great work :)

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Fri Dec 05, 2008 3:33 pm

Oop, that might have been my fault. I pasted his changes to my code and did a diff off 169. The only custom code I have is in Commands.cpp for the /level cap... but yeah it's a pretty easy read. I'm sure you got it. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests