I'm trying to make a spell that would be more or less effective depending on the caster's Charisma. I don't know any way to represent that statistic in the spell itself, so instead I'm spawning an invisible creature who will follow up with extra effects on the target for a charismatic caster. First I have to mark the target somehow so the creature, who is fucking blind, can find it through Nearest, SecondNearest and so on. But the whole thing is unreliable and rickety like a forgotten scaffold. Sometimes the creature sees the target, sometime it doesn't. It's just not going anywhere.
Can you think of other ways to represent Charisma or other stats, guys? Through outside tricks, Weidu, anything?
This is the simplest version of the script for the invisible creature. It doesn't mention Charisma. For now I'm just trying to get the creature to react to a property of the target (class in this case) so that it casts a spell on him about half of the time and just destroys itself silently otherwise. If this worked, I could put extra triggers for Charisma. But it doesn't. The spell makes a wild dog out of the target... don't ask, but it does... and then, after the 2-second wait, the creature is supposed to do its thing. Well, it does jack.
It's not helping that the creature is visible right now and is a beer-sipping peasant on a chair. This is extra aggravating.
IF True() THEN RESPONSE #100 Wait(2) Continue() END IF Class(Nearest,DOG_WILD) RandomNumLT(20,10) THEN RESPONSE #100 Wait(2) ReallyForceSpellRES("SPWI105",Nearest) // Color Spray DestroySelf() END IF Class(Nearest,DOG_WILD) RandomNumGT(20,9) THEN RESPONSE #100 DestroySelf() END
Edited by temnix, 21 September 2016 - 03:29 PM.