gimmegimme220 / cbloader

Automatically exported from code.google.com/p/cbloader
0 stars 0 forks source link

Add the ability to insert nodes with the AppendNodes tag. #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently all Appended Nodes are placed at the end of an element.  This caused 
issues when trying to append specifics.

This issue is to add some way of inserting a specific (or other node) somewhere 
within the element (probably based on matching another line, as line numbers 
are too unpredictable to be safe).

Please add your thoughts on how to do this within the markup.

Current thoughts include an inside node <after name="Hit">, or something 
similar.

Original issue reported on code.google.com by YeOldeSt...@gmail.com on 23 Dec 2010 at 2:02

GoogleCodeExporter commented 8 years ago
I think we'll simply need to comprehend the schema better. If it's an sequence, 
we'll just have to treat it that way.

Original comment by jeff.h...@gmail.com on 23 Dec 2010 at 7:18

GoogleCodeExporter commented 8 years ago
In some cases this can be really difficult.  Especially if we want to (for 
example) append an Effect line within a Secondary Attack.

Actually, Effect Lines in general can go anywhere within a power:
Effect: You may shift up to two squares.
Attack: Dex Vs AC
Hit: [W] Damage
Effect: You may shift up to two squares
Secondary Attack:
  Requirement: Make this attack against different target.
  Attack: Dex vs AC
  Hit: [W] Damage
  Effect: You may shift up to two squares.
Effect: You may shift one square and make a stealth check.

Yes, that's a complex power. Yes, It *could* exist as a Rogue attack - Put in a 
tertiary attack, and call it a daily. 

If I were to append an Effect Line with that power, how would I do it?

Original comment by YeOldeSt...@gmail.com on 23 Dec 2010 at 7:33