.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old August 22nd, 2008, 07:20 PM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default Re: Dominions Rogue

newest release.

nothing special here unless you are interested in the code.

i've cleaned up monster code BIG time, and now it is working properly. before, they were doing way too much damage due to some modifiers to damage that were hiding somewhere, left-over from the way tome/angband or whatever used to calculate damage.

tome is a study in obsfucation and superfluity. I've removed tons of useless crap that served no purpose but to make the code difficult to read (for example, assigning a value to a variable, then assigning that variable to anther variable, and that to another variable, when the original value could have simply been called by its own name all along. or calculating damage inside of a function outside of the original function and then not commenting that this is where damage is calculated. this is why the monsters were doing so much damage)

so if you were dying too easily, that's why

notice that this attachment is actually smaller than the last, this is where I removed all that useless crap from the monster combat code.
Attached Files
File Type: zip dominions.zip (107.1 KB, 162 views)
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.