Thread: Effects library
-
February 8th, 2013, 18:03 #41Originally Posted by Blackfoot
Perhaps add align_evil, align_good, align_lawful and align_chaos as conditions?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, 2013, 18:47 #42
If it worked... what would the correct syntax be?
Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
-
February 9th, 2013, 20:27 #43Originally Posted by Blackfoot
Example:
- Add "alignevil" to the conditions list in data_common.lua
- For a Paladin's Smite Evil ability (Paladin level 3, CHA bonus +2) make an effect: Smite Evil; IFT: alignevil; ATK:2;DMG:3
- Add a condition to evil creatures of "alignevil".
When the Paladin activates their Smite Evil ability, the GM decides if the target creature is evil and if so adds the alignevil condition to the NPC. The Paladin adds the Smite Evil; IFT: alignevil; ATK:2;DMG:3 effect to their PC, whenever they do an attack or damage to a target (IFT = If Target has the following condition) with the alignevil condition then the effects will occur.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, 2013, 20:50 #44
Of course, a really nice way to do this would be when an NPC was added to the combat tracker, the current code that calculates effects be modified to look at the alignment of the creature and set GM only visible conditions based off alignment. e.g. a Devil was added to the CT, alignevil and alignlawful were added as GM visible conditions to the creature.
Then a PC could cast Protection from Evil (for example) on themselves and add the following effect:
Code:Protection from Evil; IFT: alignevil; AC:2; SAVE:2
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, 2013, 20:58 #45
What is the difference between the IF and the IFT?
Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
-
February 9th, 2013, 21:01 #46Originally Posted by Trenloe
Then you could just go IFT: evil; AC:2; SAVE:2 for protection from evil and it would 'know' what that meant.
The monster already knows it is evil without the condition being added to it... just need a way for combat to look it up.Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
-
February 9th, 2013, 21:12 #47Originally Posted by Blackfoot
Have you ever noticed that things like DR, immunities, etc. are parsed when the creature is added to the CT and applied as conditions and effects?
As an example of this, add a Vampire to the CT and you end up with the following effects:
Code:FHEAL: 5; DR: 10 magic and silver; Undead traits; RESIST: 10 cold; RESIST: 10 electricity; DMGTYPE: magic
So, in our example, parse out the alignment when it is added to the CT and then you won't have to code to check the alignment in the creature statblock every time an effect needs to be checked.
Condition labels are great - parse them out once and then use them as the label - the underlying code doesn't need to know where to go to check if "alignevil" is valid or not, it just checks to see if the creature has the alignevil condition true or false, simple! :-) No messy parsing through statblocks every time the results of an effect needs to be analysed - do it once when the creature is added to the CT: parse once, use many! :-)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, 2013, 21:21 #48Originally Posted by Blackfoot
IFT is as explained in my post above: "If you are being targeted by a creature with this condition" as well as "If you are targeting a creature with this condition" - with my 2 examples of a Paladin's smite evil (targeting a creature with the alignevil condition) and protection from evil (being targeted by a creature with the alignevil condition) - both of these are covered by IFT: alignevil on the Paladin or the recipient of the protection from evil spell.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 10th, 2013, 21:18 #49
Is there anyway this could be done?
Type poison (ingested); Save Fortitude DC 14
Frequency 1/minute for 6 minutes
Effect 1d2 Str damage, target can attempt one save to cure a lycanthropy affliction contracted in the past hour; Cure 1 save"When questing once in noble wood of gray medieval pine, I came upon a tomb, rain-slicked, rubbed cool, ethereal, its inscription long vanished, yet still within its melancholy fissures."
-
February 10th, 2013, 21:22 #50
Well.. you can roll the d2 STR loss and apply it as:
Lycanthropy;STR:-2 or whatever...
then keep increasing that number as the victim's STR dwindles.
Plus you can do a Lycanthropy generic effect with a timer that ticks off until they are out of luck... the rest pretty much has to be done manually.Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks