ChaosRider’s WML questions
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.
Re: ChaosRider’s WML questions
As far as I know, the sprites in Library of Kratemaqht were created by its author in Blender, therefore as a 3D animation.
Re: ChaosRider’s WML questions
Ok. Forget I said anything then.Dugi wrote:As far as I know, the sprites in Library of Kratemaqht were created by its author in Blender, therefore as a 3D animation.
Formerly known as the creator of Era of Chaos and maintainer of The Aragwaithi and the Era of Myths.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
I got a new question, why i have some info about invalid closing tag set_specials? This code for leadership is working for charge/backstab/poison/drain/slow/berserk. Maybe there is some problem cause LATENT SHOCK WAVE is a more complex code than weapon specials from default.
Weapon special
Leadership (shockwave is powerfull weapon special so this is why i prefer to make 2 leaderships, one for melee attacks, one for ranged attacks).
Weapon special
Spoiler:
Spoiler:
Last edited by ChaosRider on May 30th, 2013, 3:38 pm, edited 1 time in total.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: ChaosRider’s WML questions
The code itself is not syntactically incorrect, but you've placed it wrongly. This structure:
is supposed to be inserted into this structure:
Creating together a code like this:
that is supposed to be identical to this:
You should be able to understand the syntax or reopening tags.
You have, however, placed it in set_specials, that you didn't mention in your usual technique of asking about problems improperly. In that case, it creates a structure like this:
It is commonly said that event based abilities cannot be added by objects or AMLA. If you want to do it, place the event into the scenario, era or unit tags.
Code: Select all
[/specials]
[/attack]
[event]
...
[/event]
[+attack]
[+specials]
Code: Select all
[attack]
[specials]
...
{LATENT_SHOCK_WAVE}
...
[/specials]
[/attack]
Code: Select all
[attack]
[specials]
...
[/specials]
[/attack]
[event]
...
[/event]
[+attack]
[+specials]
...
[/specials]
[/attack]
Code: Select all
[attack]
[specials]
...
...
[/specials]
[/attack]
[event]
...
[/event]
You have, however, placed it in set_specials, that you didn't mention in your usual technique of asking about problems improperly. In that case, it creates a structure like this:
Code: Select all
[object]
...
[effect]
...
[set_specials]
[/specials]
[/attack]
[event]
...
[/event]
[+attack]
[+specials]
[/set_specials]
[/effect]
[/object]
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
I will think about shockwave leader abilitie later, now i got other question:
Is in this code is something wrong ? Cause stored leader unit cant pass this code part (i think), and when we use "[or][/or]" then only one of them have to be successful to go inside this [then][/then].
So if unit have unit type one of all these used in WOTG on lvls 2-5 should make it. My leaders dont have added to recruit list new units so i am interested what is wrong .
Is in this code is something wrong ? Cause stored leader unit cant pass this code part (i think), and when we use "[or][/or]" then only one of them have to be successful to go inside this [then][/then].
So if unit have unit type one of all these used in WOTG on lvls 2-5 should make it. My leaders dont have added to recruit list new units so i am interested what is wrong .
Spoiler:
Last edited by ChaosRider on May 30th, 2013, 3:38 pm, edited 1 time in total.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: ChaosRider’s WML questions
You just can't learn to ask questions properly? What is in the variables named ALLXLVLS_SOWER_OF_SOMETHING ? What does 'sower' mean here? Sower is a person who plants seeds to grow crops. From what I have understood of your question (that was really hard to understand because of the quantity of grammar errors), you want all units whose types are in these variables pass the condition, and your code seems correct for that purpose.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
These variables:
Sower - Siewca (english - polish)
Sower of chaos - Siewcy chaosu
Sower of peace - Siewcy pokoju
Sower of light - Siewcy światła
Sower of death - Siewcy śmierci
Sower of ancients knowledge - Siewcy wiedzy pradawnych
Spoiler:
Sower of chaos - Siewcy chaosu
Sower of peace - Siewcy pokoju
Sower of light - Siewcy światła
Sower of death - Siewcy śmierci
Sower of ancients knowledge - Siewcy wiedzy pradawnych
Last edited by ChaosRider on May 30th, 2013, 3:37 pm, edited 1 time in total.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: ChaosRider’s WML questions
Are you sure that the variables are defined (not only the macros, but also the variables)? You can test it by using a [message] to show their content, and you will see if they are empty. You can also try it inside the [if] to see if the error is really there.
Well, the usage of the word sower was correct, I just didn't expect you to use it on purpose and suspected that there might be a typo in the variable name. Especially Sower of Death looks weird, because death (and also ancient knowledge) doesn't even metaphorically grow (well, there is a metal band named Sower of Death, but all good names for metal bands were already taken).
Well, the usage of the word sower was correct, I just didn't expect you to use it on purpose and suspected that there might be a typo in the variable name. Especially Sower of Death looks weird, because death (and also ancient knowledge) doesn't even metaphorically grow (well, there is a metal band named Sower of Death, but all good names for metal bands were already taken).
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
I am really suprised by this how wml works, cause sometimes this program undestand [if],[then],[or],[and], but sometimes not. Thx this reason i have to change this:
For this:
Pick_Option_WOTG is set by player in code part below:
Red, Green, Blue after show up this message are changed for another one message in which player choose how many recruits he want to add:
Code for picking random portrait (default - from default wesnoth):
And now code part in which is problem cause stored leaders cant pass if/switch (i have two ideas for these - but both dont work, earlier way in which i used if was working, now wesnoth dont understand it...):
Code from which was cut center:
If way (in this idea, sides with leaders who are not from WOTG addon should get new recruits (but for now they dont get them cause they cant pass if by yes and even by no answer:
Switch way:
$stored_leader_WOTG[$j].type changed for $stored_leader_WOTG[$j].id dont help...
____________________________________________________________________________________________
This is working version:
Spoiler:
Spoiler:
Spoiler:
Spoiler:
Spoiler:
Spoiler:
Spoiler:
Code from which was cut center:
Spoiler:
Code: Select all
[if]
[variable]
name=ALL2LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[or]
[variable]
name=ALL3LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL4LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL5LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[then]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
{RANDOM_UNIT_01LVL_SOWER_OF_PEACE}
[allow_recruit]
side=$i
type=$CHOSEN01LVL_SOWER_OF_PEACE
[/allow_recruit]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[else]
[if]
[variable]
name=ALL2LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[or]
[variable]
name=ALL3LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL4LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL5LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[then]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
{RANDOM_UNIT_01LVL_SOWER_OF_CHAOS}
[allow_recruit]
side=$i
type=$CHOSEN01LVL_SOWER_OF_CHAOS
[/allow_recruit]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[else]
[if]
[variable]
name=ALL2LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[or]
[variable]
name=ALL3LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL4LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL5LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[then]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
{RANDOM_UNIT_01LVL_SOWER_OF_LIGHT}
[allow_recruit]
side=$i
type=$CHOSEN01LVL_SOWER_OF_LIGHT
[/allow_recruit]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[else]
[if]
[variable]
name=ALL2LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[or]
[variable]
name=ALL3LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL4LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL5LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[then]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
{RANDOM_UNIT_01LVL_SOWER_OF_DEATH}
[allow_recruit]
side=$i
type=$CHOSEN01LVL_SOWER_OF_DEATH
[/allow_recruit]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[else]
[if]
[variable]
name=ALL2LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[or]
[variable]
name=ALL3LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL4LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL5LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[then]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
{RANDOM_UNIT_01LVL_SOWER_OF_GREED}
[allow_recruit]
side=$i
type=$CHOSEN01LVL_SOWER_OF_GREED
[/allow_recruit]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[else]
[if]
[variable]
name=ALL2LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[or]
[variable]
name=ALL3LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL4LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[or]
[variable]
name=ALL5LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/or]
[then]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
{RANDOM_UNIT_01LVL_SOWER_OF_ANCIENTS_KNOWLEDGE}
[allow_recruit]
side=$i
type=$CHOSEN01LVL_SOWER_OF_ANCIENTS_KNOWLEDGE
[/allow_recruit]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[else]
[if]
[not]
[variable]
name=ALL2LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[and]
[not]
[variable]
name=ALL3LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL4LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL5LVLS_SOWER_OF_PEACE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL2LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL3LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL4LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL5LVLS_SOWER_OF_CHAOS
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL2LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL3LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL4LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL5LVLS_SOWER_OF_LIGHT
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL2LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL3LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL4LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL5LVLS_SOWER_OF_DEATH
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL2LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL3LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL4LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL5LVLS_SOWER_OF_GREED
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL2LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL3LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL4LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[and]
[not]
[variable]
name=ALL5LVLS_SOWER_OF_ANCIENTS_KNOWLEDGE
contains=$stored_leader_WOTG[$j].type
[/variable]
[/not]
[/and]
[then]
[set_variable]
name=Random_Number_Value
rand=1..6
[/set_variable]
[while]
[variable]
name=CountNumber
less_than=$Random_Recruits_Number
[/variable]
[do]
[switch]
variable=Random_Number_Value
[case]
value=1
{RANDOM_UNIT_01LVL_SOWER_OF_PEACE}
[allow_recruit]
side=$f
type=$CHOSEN01LVL_SOWER_OF_PEACE
[/allow_recruit]
[/case]
[case]
value=2
{RANDOM_UNIT_01LVL_SOWER_OF_CHAOS}
[allow_recruit]
side=$f
type=$CHOSEN01LVL_SOWER_OF_CHAOS
[/allow_recruit]
[/case]
[case]
value=3
{RANDOM_UNIT_01LVL_SOWER_OF_LIGHT}
[allow_recruit]
side=$f
type=$CHOSEN01LVL_SOWER_OF_LIGHT
[/allow_recruit]
[/case]
[case]
value=4
{RANDOM_UNIT_01LVL_SOWER_OF_DEATH}
[allow_recruit]
side=$f
type=$CHOSEN01LVL_SOWER_OF_DEATH
[/allow_recruit]
[/case]
[case]
value=5
{RANDOM_UNIT_01LVL_SOWER_OF_GREED}
[allow_recruit]
side=$f
type=$CHOSEN01LVL_SOWER_OF_GREED
[/allow_recruit]
[/case]
[case]
value=6
{RANDOM_UNIT_01LVL_SOWER_OF_ANCIENTS_KNOWLEDGE}
[allow_recruit]
side=$f
type=$CHOSEN01LVL_SOWER_OF_ANCIENTS_KNOWLEDGE
[/allow_recruit]
[/case]
[/switch]
[set_variable]
name=CountNumber
add=1
[/set_variable]
[/do]
[/while]
[/then]
[/if]
[/else]
[/if]
[/else]
[/if]
[/else]
[/if]
[/else]
[/if]
[/else]
[/if]
[/else]
[/if]
Spoiler:
____________________________________________________________________________________________
This is working version:
Spoiler:
Last edited by ChaosRider on May 30th, 2013, 3:36 pm, edited 1 time in total.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
New question , below you have posted code for ability which is working well when its set in [unit_type][/unit_type] code, but its not working when this abilitie is added (in game) to unit by effect:
Weapon special (for example i will post here codes for plague leadership - each adjected to this unit with this abilitie will get weapon special plague):
Ability code:
Code for artifact in mwc game:
What or how should be change in this codes to makes this codes works well when its added to unit by effect. Problem is like the event didnt work when units attack from team in which is unit with this ability dont get weapon special plague.
Weapon special (for example i will post here codes for plague leadership - each adjected to this unit with this abilitie will get weapon special plague):
Spoiler:
Spoiler:
Spoiler:
Spoiler:
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: ChaosRider’s WML questions
I find your lack of learning ability disturbing. Several post above in this thread, I have explained you how do the macros and tag reopening work in abilities. And after using it for the first time after it, you have inserted an event into the effect tag again. Place these events elsewhere, somewhere where they can be loaded, ideally near event tags that already exist. You have also placed a filter_self into the specials tag.
If you had done even the slightest amount of debugging, simply inserted a message into the event, you'd learn that the event is never fired and known that you had misplaced it, but why, there are 25483 other users who love your great and unique add-ons and can't wait to do it for yourself.
If you had done even the slightest amount of debugging, simply inserted a message into the event, you'd learn that the event is never fired and known that you had misplaced it, but why, there are 25483 other users who love your great and unique add-ons and can't wait to do it for yourself.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
All events for leaderships abilities (charge,drain,slow... ,plague) were once set in scenario code, but also by this way adjected unit didnt get weapon special. There is no diffrence in where is set event because as for me problem is in event, not where its set.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: ChaosRider’s WML questions
You will never debug an event that is completely ignored by the code... I expect the problem to be in a typo in these endless variable names. Debug it yourself, place messages to see if the event is fired, to see if the foreach is iterating correctly, if variables contain what they should and so on. This way, you can isolate it and find it much easier.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Re: ChaosRider’s WML questions
Event is not started... As you can see in code below they are added code parts with message, and i didnt see any message after attacking enemy unit.
In {RANDOM_PORTRAIT} is chosen image which will appear with message.
Spoiler:
Last edited by ChaosRider on June 3rd, 2013, 8:21 pm, edited 1 time in total.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: ChaosRider’s WML questions
Haven't I said that it won't work in the [effect] tag, where you've placed the event if you are working on World Conquest?