Nightshade Nuke

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Nightshade Nuke

Postby Hiatus » Sun Jun 05, 2011 11:24 pm

Changed a little bit of the equation, you really did not need int dexValue = player.GetModified((eProperty)player.Dexterity);. Could have just used player.Dexterity (this works better & it was tested). GetModified would bring an "invisible error" in which if a player had a certain amount of dexterity the variance would not work and the spell would hit for base dmg + spell dmg x2.
Attachments
NightShadeNukeFix.patch
(572 Bytes) Downloaded 14 times
Graveen wrote:If you can't see the problem, then this is the problem :mrgreen:
Hiatus
Support Team
 
Posts: 263
Joined: Sat Apr 30, 2011 3:54 pm

Re: Nightshade Nuke

Postby Tolakram » Sun Jun 05, 2011 11:27 pm

player.Dexterity is the players DEX value without being modified, ie without any item bonuses or buffs.

GetModified(eproperty.Dexterity) is the adjusted Dex value including any item and buff bonuses.

Is the NS damage not supposed to increase if the NS dex increases?
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Nightshade Nuke

Postby Hiatus » Sun Jun 05, 2011 11:32 pm

I tested it based off of increasing dex value. It seemed to work fine, and it also did not return that same error.

Also, yeah it's supposed to.

Edit - Well that's without items. Hm. So how would this work....
Graveen wrote:If you can't see the problem, then this is the problem :mrgreen:
Hiatus
Support Team
 
Posts: 263
Joined: Sat Apr 30, 2011 3:54 pm


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest