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

This Month's Specials

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

   







Go Back   .com.unity Forums > Shrapnel Community > The Honorably Discharged > Dungeon Odyssey

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 10th, 2003, 02:18 PM
henk brouwer's Avatar

henk brouwer henk brouwer is offline
Sergeant
 
Join Date: Nov 2000
Location: netherlands
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
henk brouwer is on a distinguished road
Default Workaround for the spell effect stacking bug (mod)

I've made a small mod that should prevent abuse of the "spell effect stacking bug" (the bug that causes the effects of a spell to stack when it's cast multiple times, for example: casting barkskin lvl I, which should give 15% resistance, six times in a row gives 90% resistance etc..)

The mod has the added effect that the affected spells will no longer run out, so you won't have to recast them every minute.

I intend to put this mod in my upcoming module, since it makes it far easier to fix things like game balance etc. I haven't checked wether all the spells work correctly, but have tested a few which seemed to work fine. Let me know if you find any bugs.

-------------------------------------------------

instructions:

Put the spell.txt file in the data folder of the module that should use it (DON'T FORGET TO BACKUP THE OLD FILE!!)

changes:

*Spellsystem changed to prevent abuse of the infamous "spell effect stacking bug"
-spells/skills like barkskin and berserk, that increase stats of the caster are automatically activated, and can no longer be cast (to prevent multicasting and bonus stacking) affected spells:
Barkskin, Berserk, Cleansing Armor, Cloack of Darkness, Cold Enchant, Deadly Precision, Fire Armor, Fire Enchant, Giant Strength, Ice Armor, Lightning Armor, Lightning Enchant, Magic Armor, Magic Shield, Nature's bounty, Rage, and Vigor.

-The 'light' spell will still stack, but it's casting cost has been increased, while casting light at a higher level has been made more effective.

1065790768.zip

[ October 10, 2003, 13:45: Message edited by: henk brouwer ]
__________________
Dungeon odyssey modules:

Christmas module v1.05 (attached to first post)

Xerathul's Revenge v0.5
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 06:25 PM.


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