Thread: Inflicting Spell Damage
-
January 21st, 2014, 11:56 #1
Inflicting Spell Damage
How do you inflict spell damage?
I cant seem to find a way to automate the application of spell damage?
Say my good wizard Thom sends a fireball the way of some Ettins.
He targets all those in the area of effect.
How do I then apply either 5d6 or 5d6/2 damage?
Is there a way to do this in C&C?
For NPCs I can add Fireball as a Weapon with the damage afterwards in brackets. That works - but what about for my PCs?
Additionally then - is there a way to say apply a 50% damage reduction on the lucky Ettin that saves his Dex check? That way I would still apply 5d6 to them all but have something already applied to the Ettin that reduces the applied damage by 50%
Are any of these possible?
I guess this could apply to other non spell like things like falling damage?
PCs are crossing a bridge which collapse and they take 3d6 damage... is there a way to apply this to each?
-
January 21st, 2014, 12:15 #2
- Roll the damage from an attack entry without anyone targeted. This is because spell damage is usually only rolled once for all targets.
- Drag the damage from the chat window to the tokens of the creatures that failed the save - do this one by one.
- If any creatures made the save, right click on the damage entry in the chat window and select "Halve value"
- Drag the resulting half damage value to the tokens of all of the creatures who made the save.
The actions types defined in the C&C manager_gamesystem.lua script are:
Code:actions = { ["dice"] = { bUseModStack = "true" }, ["table"] = { }, ["init"] = { bUseModStack = "true" }, ["ability"] = { bUseModStack = "true" }, ["attack"] = { sIcon = "action_attack", sTargeting = "each", bUseModStack = "true" }, ["damage"] = { sIcon = "action_damage", sTargeting = "each", bUseModStack = "true" }, ["heal"] = { sIcon = "action_heal", sTargeting = "all", bUseModStack = true }, ["effect"] = { sIcon = "action_effect", sTargeting = "all" } };
Setup an NPC called "Bridge Trap" and have the relevant attack/damage entry in "Attacks".Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
January 21st, 2014, 20:57 #3
I think I will create a NPC called Trap and list lots of different weapons It can be a hidden combatant at all times... I might accidentally trip over it myself if the players are boring me....
Forgive my ignorance but how do I use Heal from those actions?
-
January 21st, 2014, 21:24 #4"I am a Canadian, free to speak without fear, free to worship in my own way, free to stand for what I think right, free to oppose what I believe wrong, or free to choose those who shall govern my country. This heritage of freedom I pledge to uphold for myself and all mankind."
- John Diefenbaker
RIP Canada, February 21, 2022
-
February 8th, 2014, 11:39 #5
a follow up question -
what is the format for weapon Damage if you drag to a Hotkey?
ie I could make a Hotkey for Fireball or Magic Missile if I can get the syntax right!
[DAMAGE (M)] Magic Missile 1d4+1
[DAMAGE (M)] Magic Missile (1d4+1)
I can create a weapon called Magic Missile and then drag the damage to the Hotkey and it works but I want to know the formatting if anyone knows it?
Will be quicker to write these up outside of FG and copy them in rather than create new "weapons"...
-
February 8th, 2014, 13:10 #6
Looking at an example slot within <campaign>\usersettings\hotkeys_host.xml (which is written when the campaign is closed) at an example entry, it appears it is essentially a dragdata object that is required:
Code:<bank number="0"> <key number="0"> <description>[DAMAGE (M)] </description> <icon>action_damage</icon> <shortcut> <class>pc</class> <datasource>charsheet.id-00001</datasource> </shortcut> <data> <type>damage</type> <slot number="0"> <type>damage</type> <string>[DAMAGE (M)] </string> <dice> <die>d6</die> </dice> </slot> </data> </key> </bank>
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
February 8th, 2014, 23:59 #7
you are right it might not be easier but at least I could copy and paste to a new character
or maybe make a new spells module so that the spells could be dragged in as weapons...?
is there a reference that I can find the different damage types? I can add the [M] and get the sword Icon - i can leave it blank and get the blood drop icon - are there others?
-
February 9th, 2014, 00:30 #8
[R] for ranged.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
February 9th, 2014, 00:44 #9
so.... do you know off the top of your head where i would look to see how hard it would be to add a new damage type?
well it looks like all the damage is the blood icon - I will leave for now - thanks Trenloe
-
February 9th, 2014, 00:56 #10
Damage is applied in manager_actions_damage.lua
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks