Could you send me your skill/item files and the effect files? You can send it directly to my email address, dtvictorious@xxxxxxxxx if you want. -----Original Message----- From: ian-reeds-games-bounce@xxxxxxxxxxxxx [mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Monkey Sent: Tuesday, March 24, 2015 10:18 AM To: ian-reeds-games@xxxxxxxxxxxxx Subject: [ian-reeds-games] Re: Question about replace_effects script error 1. Alright, just tried making it a skill and still nothing. 2. The effects all have "unit" specified, and the item is specified for an enemy. The skill was specified for an enemy, too... On 3/23/15, Victorious <dtvictorious@xxxxxxxxx> wrote: > 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 > none|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? > -- -Mew __________ http://www.savethefrogs.com/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature