It seems like its trying to apply what it thinks is a unit effect to a tile. Things to try: 1. Try and put this on a skill and see if it works 2. Make sure that the item or skill has information that the script can use to determine whether the target is a tile or unit i.e enemy flag indicates a unit, a tile flag indicates a tile effect. Let me know if it works. -----Original Message----- From: ian-reeds-games-bounce@xxxxxxxxxxxxx [mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Monkey Sent: Tuesday, March 24, 2015 8:58 AM To: ian-reeds-games Subject: [ian-reeds-games] Question about replace_effects script error Hello, So I was trying out the replace_effects script for a useable item, but I got this error: Calling Context: vicAfterItemUse Filename: effect.js Line: 315 Column: 7, 8 Argument mismatch for method "ApplyEffect". I have effects=disorientation,acid And replace_effects acid|strong acid, strong acid|very powerful acid, very powerful acid|extreme acid With replace_effects_limit 1. I tried removing acid and disorientation from the effects list and adding none|acid to the replace_effects list, but I still got the error. I also tried moving the effects around, instead of being in the order they should be applied, but still no progress. What am I doing wrong?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature