Difference between revisions of "Template talk:Spellcaster"

From CrawlWiki
Jump to: navigation, search
(Questions for CommanderC)
m
Line 46: Line 46:
 
::: The advantage is that those templates (<nowiki>{{Holy vulnerability 2}}</nowiki>, etc.) can be defined to display the info in any way we want. One problem is the lack of control over line breaks. --[[User:CommanderC|CommanderC]] 20:08, 23 January 2013 (CET)
 
::: The advantage is that those templates (<nowiki>{{Holy vulnerability 2}}</nowiki>, etc.) can be defined to display the info in any way we want. One problem is the lack of control over line breaks. --[[User:CommanderC|CommanderC]] 20:08, 23 January 2013 (CET)
  
:::: Would this eventual bot be able to add degrees of resistance down the line? If we have to add a few more categories to do so, that'd be fine. Resistance, immunity, and absorption are all very different things I'd like us to track, though I've been justifying the current arrangement to myself by thinking that knowledge of any level of resistance is usually enough for most players to know not to do it.
+
:::: Would this eventual bot be able to add different sorts of resistance down the line? If we have to add a few more categories to do so, that'd be fine. Resistance, immunity, and absorption (it's admittedly rare) are all very different things I'd like us to track, though I've been justifying the current arrangement to myself by thinking that knowledge of any level of resistance is usually enough for most players to know not to do it.
 
:::: Also, we're currently manually tracking a decent number of special vulnerabilities (dragon-slaying, orc-slaying, and silver at least) that the knowledge bots don't seem to follow. Would it be possible to still incorporate those in an automated system? --[[User:MoogleDan|MoogleDan]] 21:35, 23 January 2013 (CET)
 
:::: Also, we're currently manually tracking a decent number of special vulnerabilities (dragon-slaying, orc-slaying, and silver at least) that the knowledge bots don't seem to follow. Would it be possible to still incorporate those in an automated system? --[[User:MoogleDan|MoogleDan]] 21:35, 23 January 2013 (CET)

Revision as of 22:39, 23 January 2013

What do people think of this? I can see three possible advantages to it:

  • It seems more bot-friendly, though it may have to be made to include HD if we want to derive spell damages for it (I'm not sure there).
  • It better shows the relative frequency of spells, i.e. that ice fiends can be expected to spam their bolts of cold at you, or that hell sentinels have a reasonable probability to use their melee spell.
  • It's a little neater.

Anyway, do people think it's worth putting this in articles? If not, I can gladly delete this page. -Ion frigate 18:48, 23 January 2013 (CET)

Y'know what, I like this. Nice work here Ion. Any arguments against adding this in? --MoogleDan 18:50, 23 January 2013 (CET)
Thanks. One problem I can see is monsters with multiple spell sets, the worst being wizards. You can make multiple templates appear side-by-side by leaving out any lines between them, but even then, it might look more cluttered than just a spell list. Still though, I think it's worth it, since it much better shows how spellcasting actually works. -Ion frigate 19:02, 23 January 2013 (CET)
I like it. The bot can easily obtain the hit dice. Currently, my modified version of monster-trunk can do everything except flags, spells, genus, and habitat. It can also get the exact value of a resistance or vulnerability, but I'm not sure how to display that info in a clear way. --CommanderC 19:26, 23 January 2013 (CET)
Sounds like this is a good idea then. As for displaying the exact value of a resistance, I can think of two ways:
  • The way the learndb does it, where it's fire, fire++, fire+++
  • The way it is on artefacts, i.e. rF+, rF++, rF+++
Either way, it can be linked to the appropriate page for the resistance. Would you be able to modify your bot to scrape the spells? Even if not, there actually aren't so many spellcasters that it'd be impossible to do by hand. -Ion frigate 19:37, 23 January 2013 (CET)
Regarding resistances, I'd say use the full word. rAsphyx and rWind never really show up in game, do they? --MoogleDan 19:44, 23 January 2013 (CET)
I think this template will be done by a different bot. That way I can get it working sooner. The first implementation I've made displays the resistances as follows:
{{monster
|name=bone dragon
|glyph={{LightGray|D}}
|tile=[[File:Bone dragon.png]]
|flags=, evil, sense invisible, fly|resistances={{Fire resistance}}, {{Cold resistance}}, {{Electricity resistance}}, {{Poison resistance 3}}, {{Drown resistance}}, {{Rot resistance 3}}, {{Negative energy resistance 3}}, {{Torment resistance}}
|vulnerabilities={{Holy vulnerability 2}}
|max_chunks=0
|meat={{No corpse}}
|xp=2362
|holiness={{Undead}}
|magic_resistance=106
|hp_range=205-275
|armour_class=20
|evasion=4
|speed= 8
|size=Huge
|item_use={{Uses nothing}}
|attack1=30 ({{Bite type}}: {{Plain flavour}})
|attack2=20 ({{Claw type}}: {{Plain flavour}})
|attack3=20 ({{Trample type}}: {{Plain flavour}})
|attack4=
|hit dice=20
|intelligence={{Animal intelligence}}
|genus=dragon
|}
The advantage is that those templates ({{Holy vulnerability 2}}, etc.) can be defined to display the info in any way we want. One problem is the lack of control over line breaks. --CommanderC 20:08, 23 January 2013 (CET)
Would this eventual bot be able to add different sorts of resistance down the line? If we have to add a few more categories to do so, that'd be fine. Resistance, immunity, and absorption (it's admittedly rare) are all very different things I'd like us to track, though I've been justifying the current arrangement to myself by thinking that knowledge of any level of resistance is usually enough for most players to know not to do it.
Also, we're currently manually tracking a decent number of special vulnerabilities (dragon-slaying, orc-slaying, and silver at least) that the knowledge bots don't seem to follow. Would it be possible to still incorporate those in an automated system? --MoogleDan 21:35, 23 January 2013 (CET)