Next problem: new ability is working.... too well
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Next problem: new ability is working.... too well
I have rewritten my elvish red mage unit to take away its leadership, and replace it with "fear". Fear looks like this:
However , when i call up the statistics in the game........ it says that the unit (the enemy) is losing -100025% on its attack. So..... every single thing is working EXCEPT for the amount the enemy is penalised. How do i fix it?
Code: Select all
[abilities]
[leadership]
value=-25
id=fear
affect_allies=no
affect_enemies=yes
affect_self=no
cumulative=yes
name= _ "Fear"
description= _ "All enemies are scared of this unit, and fight worse"
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/leadership]
[/abilities]
-
- Posts: 151
- Joined: August 12th, 2008, 11:10 pm
- Location: The Isle of Alduin
Re: Next problem: new ability is working.... too well
Try setting cumulative to false.
'We've strayed into a zone with a high magical index... Don't ask me how. Once upon a time a really powerful magic field must have been generated here, and we're feeling the after-effects.'
'Precisely,' said a passing bush.
Art for Tale of a Mage
'Precisely,' said a passing bush.
--Terry Pratchett
Tale of a Mage(finished)Art for Tale of a Mage
Re: Next problem: new ability is working.... too well
its says, but how it actually works?
Re: Next problem: new ability is working.... too well
Thank you, the cumalative thing fixed it.
As for how does it work........ Leadership gives bonus to your team right? But intead of 25% I put -25%-so it makes them fight weaker. Then i changed "affect allies" to "no" and affect enemies to "yes". Now its the enemy who is losing 25% attack.
As for how does it work........ Leadership gives bonus to your team right? But intead of 25% I put -25%-so it makes them fight weaker. Then i changed "affect allies" to "no" and affect enemies to "yes". Now its the enemy who is losing 25% attack.