Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old March 5, 2020, 14:03   #1
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,297
wobbly is on a distinguished road
Melee Effect Handlers

So there are a bunch of melee effect handlers for elemental attacks that are essentially 1 word difference. There's also a bunch of melee effect handlers for timed effects that are 1 word difference. Is there a reason it's setup like this? I mean, I know the obvious reason of "someone would have to change it" but I was curious if there were other reasons. It just seemed to be a lot of steps to add an attack that was the same as something else, just a different timer (e.g. slow vs paralyze).
wobbly is offline   Reply With Quote
Old March 5, 2020, 18:35   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,696
Donated: $40
Pete Mack is on a distinguished road
yes. It allows a form of call-by-name generated via h files (rather than invoking thru the library.)
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
spell parameter effect? Tibarius Development 3 October 27, 2019 11:55
4.0.5 device skill effect PowerDiver Vanilla 19 January 20, 2017 19:34
Light effect stacking? Thraalbee Vanilla 15 October 8, 2015 12:46
Question about scrolls effect duration Kyle Vanilla 1 July 24, 2009 23:44
Area of Effect kandrc Vanilla 16 January 19, 2008 12:27


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


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