Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old October 26, 2019, 23:57   #1
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
Tibarius is an unknown quantity at this point
spell parameter effect?

spell:Magic Missile:1:1:22:4
effect:BOLT_OR_BEAM:MISSILE:-10

What does the -10 parameter influence please?
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old October 27, 2019, 00:18   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
That's reducing the beam chance.

You're probably best looking at the code in effects.c for working out exactly what spells do. Ideally it would all be documented clearly somewhere, but (a) it isn't and (b) I'm not actually clear on what the best way to do that would be.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old October 27, 2019, 09:40   #3
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
Tibarius is an unknown quantity at this point
beam chance

Thanks Nick, and you are right that looking at the code would be best. And the best documentation is readable and clear code ...

but i wanted mainly to remove those things which utterly feel wrong for me, not do a rewrite.
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old October 27, 2019, 12:55   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
Pete Mack is on a distinguished road
Tiberius--
There is a lot of room between a quick familiarization with the code and '[doing] a rewrite.' Some of the issues I have with Nick's changes would require minor code changes. The biggest is the change to randomize individual 'pvals' on ego items. The reault is to make them all good but not great. Crown of Might is the obvious one--they were all either +1, +2, ir +3--mediocre*, good, and phenomenal. Now they are all a mixture of the three values--never more than a bit above or below average.

* even a +1 Crown of Might was not actually a bad find.
Pete Mack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4.0.5 device skill effect PowerDiver Vanilla 19 January 20, 2017 20:34
Light effect stacking? Thraalbee Vanilla 15 October 8, 2015 13:46
Effect of abilities on free attacks Philip Sil 4 October 23, 2013 08:23
Spell effect ideas that should be in some variant Jude Variants 7 July 13, 2008 17:57
Area of Effect kandrc Vanilla 16 January 19, 2008 13:27


All times are GMT +1. The time now is 22:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.