PDA

View Full Version : Multiple "Types" in IFT statement



KlatuB
May 2nd, 2021, 05:38
I'm trying to create an effect for the Ranger Favored Enemy, when I try it on enemies it applies the damage to any "type" of creature, instead of just orc, goblinoid and fiend. What am I missing?

Fav Enemy: IFT: Type(orc, goblinoid, fiend); DMG: [WIS]

Phixation
May 2nd, 2021, 08:33
Easy fix! You only forgot a set of brackets and the first colon should be a semi colon. :)

Fav. Enemy; IFT: [TYPE](goblinoid, orc, fiend); DMG: [WIS]

Zacchaeus
May 2nd, 2021, 10:14
You don't need the square brackets. It's IFT:TYPE(etc); DMG:[WIS]. The important thing is TYPE is a keyword so must be in all caps.

Trenloe
May 2nd, 2021, 10:51
TYPE doesn't have to be all in capitals. The only thing in effect string that does not to be in capitals is the effect keywords - IFT, IF, DMG, ATK, etc..

This works fine for me: IFT: type(orc, goblinoid, fiend); DMG: 4

Kelrugem
May 2nd, 2021, 13:11
(Disregard, accidentally a double post :) see below)

Kelrugem
May 2nd, 2021, 13:12
Lol, I like the evolution in this thread :D

Yeah, as Trenloe wrote, multiple types should work, and type is indeed not case-sensitive; I suspect that the colon after Fav Enemy is the culprit in your effect :) (you should use a semicolon like Phixation (but without the extra square brackets :p), otherwise FG tries to interpret that string, although you just use it as information) And make sure that you apply this effect from an actions tab such that [WIS] gets replaced correctly with a number in the CT :) (but I think this part worked for you because you wrote that it applies the damage to all NPCs)

Griogre
May 2nd, 2021, 19:02
FG's hive mind is very powerful and nimble.... :D

Phixation
May 3rd, 2021, 13:04
well i learned more today. good stuff. :D