Download Game! Currently 134 players and visitors. Last logged in:VaykkyFarlissMarayanaPils

BatMUD Forums > Ideas-wanted > Re: light spell vs dmp

 
 
#1
02 Mar 2007 05:50
 
 
could light spell be tuned so that it gets removed with dispel magical
protection, and add an option to greater light to choose a level of light at
certain limits and raising spellcost depeding on that, like cast creater light
at 50 cost 50x more than greater light 1. also make light spell do the same
effect on cities as those lamps do.

 
Rating:
-3
Votes:
9
 
 
Ulver
1y, 221d, 22h, 40m, 19s old
Level:
85
 
 
#2
02 Mar 2007 16:08
 
 
Ulver wrote:
could light spell be tuned so that it gets removed with dispel magical
protection, and add an option to greater light to choose a level of light at
certain limits and raising spellcost depeding on that, like cast creater light
at 50 cost 50x more than greater light 1. also make light spell do the same
effect on cities as those lamps do.
The spell "dispel magical protection" is designed to do what the spell name
says, remove magical protection effects from the target. True, there might be
one or two exceptions, but what it mostly does is remove prots. Light spells
are not prots, neither in RPG terms nor in code. Having dmp remove them
doesn't make a lot of sense, nor would it be easy to code. If you want to
remove your own light spell, use darkness. If you want to remove someone
else's light spell, you might be out of luck there.

I can't offhand see a reason why you'd ever cast a light/darkness spell at
anything other than maximum power. If it's dark, you want to see normally, not
see your hand in front of your fact but no further. In addition, the amount of
code out there that looks at the brightness of light is very small (aside from
how quickly vampires turn to smoking piles of dust, I don't know of any "how
bright is it?" code out there), however, I guess I can add it since the only
result this will get is more sps wasted when you realize how little this
helps.

I have only taken a quick look at city lamp code, however, lamps have the
advantage of being immobile objects. Light/darkness on players moves pretty
much constantly. The amount of lag caused by glowing balls of light/darkness
screwing up the city maps could be terminal, so I'd recommend against it.

Shinarae Lluminus

 
Rating:
3
Votes:
3
 
 
Shinarae
A r c h w i z a r d
1y, 322d, 3h, 31m, 22s old
Level:
200 [Wizard]