[ian-reeds-games] Re: A couple of small problems with effects

  • From: "Allan Thompson" <allan1.thompson@xxxxxxx>
  • To: <ian-reeds-games@xxxxxxxxxxxxx>
  • Date: Fri, 22 May 2015 16:25:35 -0400

I think it's a bug. I seem to recall having a similar problem.
al

-----Original Message-----
From: ian-reeds-games-bounce@xxxxxxxxxxxxx
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Monkey
Sent: Friday, May 22, 2015 3:44 PM
To: ian-reeds-games
Subject: [ian-reeds-games] A couple of small problems with effects

Hello,
So I'm having a bit of irritation here.
The skill:
Skill
10
|flags
description Calls down the wrath of the moon upon an enemy. Will also damage
units directly around the target. Costs 3 AP's. Key is m.
enemy
hp_inflict=250|moonlight
effects=mhp_remove
hp_splash_inflict=200|moonlight
splash_effects=mhp_remove
range=5
min_range=2
splash_range=1
AP's_cost=3
key=m
not_useable_on=shadow_king,sneaky_ninja,incorporeal_wraith,invisible_necroma
ncer,castle_gate,catapult,door,dungeon_door,locked_door,great_catapult,great
_locked_door,carved_black_pillar,mismatched_wall,volcano,wraith_king,zombie_
lair,shadow_phoenix,sarcophagus,gold_chest,book_of_the_dead,spirit
sound=moon's_wrath
|script_flags

I've got this point, mhp:
point
10
|flags
at_zero=weer_restore
hidden

And these effects:
mhp remove
effect
10
|flags
unit
mhp_inflict=1
duration=0
hidden
|script_flags

weer restore
effect
10
|flags
unit
hp_restore=200r250
duration=0
|script_flags
effects_on_fizzle mhp restore

mhp restore
effect
10
|flags
unit
mhp_restore=1
duration=0
hidden
|script_flags

So my problems...
I'm using the skill, and I don't want it to announce the loss of the mhp
point. It announces it the first time the skill is used on the specific
unit, but afterwards it doesn't.
And.
For some reason, I'm having hp_restore occur twice, even though the effect
is supposed to be removed instantly. I've got no idea why it's doing this.

Any suggestions on how I can deal with these?



Other related posts: