[IDEA] Here's an idea for spell-affects:

[ Follow Ups ] [ Post Followup ] [ Dioxide's CForum Log Board ]

Posted by Joshu on October 11, 1999 at 02:12:42:

I think I proposed this once before, but I still think it's a good idea:

Replenishing spellaffects

Instead of getting the message "He's already moving as fast as he can" when you cast haste on someone who's already hasted, it should give him a new haste spell affect.

The reason is two-fold, firstly because of things like dirt-kick which uses the same affect-type as blindness, which means you can't cast blindness on someone who's been dirt-kicked which makes little sense, and secondly to avoid things like "oh, my haste will drop in 2 ticks, let's wait first". It's a relatively small change code-wise I think (depending on how you structured the code), but it would do a world of good.

For some spells like damnation and iceneedles, they add a new affect of the same type with it's own duration, but for the rest of the non-stackable spells there should be a check to see which is greater, the current duration or the new one, and whichever is greater should take hold.

Any criticism as to why this isn't possible, codewise or logically, is welcomed.

-Joshu


Follow Ups:

Post a Followup

Name:
E-mail:
Subject:
Comments:


[ Follow Ups ] [ Post Followup ] [ Dioxide's CForum Log Board ]