I've tried creating a Grease spell that puts 3x3 grease on the ground. Weirdly, there is an "enemy received prone status" message when they move through it, but they are not actually receiving it.
Also it seems, it is not activated the moment it's cast and only when it's enemy's turn?
Spell:
- Code: Select all
"traitWorksOnlyWhen": [],
"traitWorksNeverWhen": [],
"usesTurnToActivate": true,
"onlyOncePerTurn": true,
"coolDownTime": 0,
"isSwiftAction": false,
"isUsedForCombatSquareEffect": true,
"triggeredEachStepToo": true,
"name": "Grease",
"tag": "spell_grease",
"spellImage": "sp_magebolt",
"description": "",
"useableInSituation": "Always",
"spellToReplaceByTag": "none",
"spriteFilename": "none",
"spriteEndingFilename": "none",
"spellStartSound": "none",
"spellEndSound": "none",
"costSP": 6,
"costHP": 0,
"castTimeInTurns": 0,
"canBeInterrupted": true,
"triggersAoO": true,
"spellTargetType": "PointLocation",
"spellEffectType": "Damage",
"aoeShape": "Circle",
"aoeRadius": 1,
"range": 6,
"spellScript": "none",
"spellScriptParm1": "none",
"spellScriptParm2": "none",
"additionalCustomLogTextOnCast": "none",
"spellEffectTag": "none",
"removeEffectTagList": [],
"spellEffectTagList": [
{
"tag": "fx_prone"
}
]
Effect:
- Code: Select all
"traitWorksOnlyWhen": [],
"traitWorksNeverWhen": [],
"name": "Prone",
"modifyShopBuyBackPrice": 0,
"modifyShopSellPrice": 0,
"allowCastingWithoutTriggeringAoO": false,
"allowCastingWithoutRiskOfInterruption": false,
"affectNeverList": [],
"affectOnlyList": [],
"tag": "fx_prone",
"tagOfSender": "senderTag",
"classLevelOfSender": 0,
"description": "Target falls on the ground, becomes immobile and easier to hit.",
"spriteFilename": "fx_prone.png",
"durationInUnits": 12,
"currentDurationInUnits": 0,
"startingTimeInUnits": 0,
"babModifier": 0,
"babModifierForRangedAttack": 0,
"babModifierForMeleeAttack": 0,
"damageModifierForMeleeAttack": 0,
"damageModifierForRangedAttack": 0,
"acModifier": -5,
"isStackableEffect": false,
"isStackableDuration": false,
"usedForUpdateStats": false,
"repeatTerminalSaveEachRound": false,
"isPermanent": false,
"endEffectWhenCarrierTakesDamage": false,
"saveOnlyHalvesDamage": false,
"effectScript": "efGeneric",
"saveCheckType": "fortitude",
"saveCheckDC": 15,
"doDamage": false,
"damType": "Fire",
"damNumOfDice": 0,
"damDie": 0,
"damAdder": 0,
"damAttacksEveryNLevels": 0,
"damAttacksAfterLevelN": 0,
"damAttacksUpToNLevelsTotal": 0,
"damNumberOfAttacks": 0,
"damNumberOfAttacksForEveryNLevels": 0,
"damNumberOfAttacksAfterLevelN": 0,
"damNumberOfAttacksUpToNAttacksTotal": 1,
"doHeal": false,
"healHP": true,
"healType": "Organic",
"healNumOfDice": 0,
"healDie": 0,
"healAdder": 0,
"healActionsEveryNLevels": 0,
"healActionsAfterLevelN": 0,
"healActionsUpToNLevelsTotal": 0,
"doBuff": false,
"doDeBuff": true,
"statusType": "Held",
"modifyFortitude": 0,
"modifyWill": 0,
"modifyReflex": 0,
"modifyStr": 0,
"modifyDex": 0,
"modifyInt": 0,
"modifyCha": 0,
"modifyCon": 0,
"modifyWis": 0,
"modifyLuk": 0,
"modifyMoveDistance": 0,
"modifyHpMax": 0,
"modifySpMax": 0,
"modifySp": 0,
"modifyHpInCombat": 0,
"modifySpInCombat": 0,
"modifyDamageTypeResistanceAcid": 0,
"modifyDamageTypeResistanceCold": 0,
"modifyDamageTypeResistanceNormal": 0,
"modifyDamageTypeResistanceElectricity": 0,
"modifyDamageTypeResistanceFire": 0,
"modifyDamageTypeResistanceMagic": 0,
"modifyDamageTypeResistancePoison": 0,
"modifyNumberOfMeleeAttacks": 0,
"modifyNumberOfRangedAttacks": 0,
"modifyNumberOfEnemiesAttackedOnCleave": 0,
"modifyNumberOfEnemiesAttackedOnSweepAttack": 0,
"useDexterityForMeleeAttackModifierIfGreaterThanStrength": false,
"useDexterityForMeleeDamageModifierIfGreaterThanStrength": false,
"negateAttackPenaltyForAdjacentEnemyWithRangedAttack": false,
"useEvasion": false