Set level after picking hero from the tavern

Aries20

New Member
Reaction score
1
How do you set the level of the hero after the hero is selected from the tavern. Example: Player picks Warrior and the Warrior is already level 3?
I did try to use the search function, but no good.
 

vypur85

Hibernate
Reaction score
803
Code:
Event
 A unit sells a unit
Condition
 Unit-Type of (Triggeirng unit) Equal to YourTavernType
 Unit-Type of (Sold unit) Equal to Warrior <-- [I]If you want it to be specific[/I]
Actions
 Hero - Set level of (Sold Unit) to somelevel...

This should do it, I think.
 

Aries20

New Member
Reaction score
1
Player Level
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Sold unit)) Equal to Holy
(Unit-type of (Sold unit)) Equal to Mage
(Unit-type of (Sold unit)) Equal to Paladin
(Unit-type of (Sold unit)) Equal to Warrior
(Unit-type of (Sold unit)) Equal to Hunter
(Unit-type of (Triggering unit)) Equal to Alliance Tavern
Actions
Hero - Set (Sold unit) Hero-level to 3, Hide level-up graphics

Thats what I have, did nothing.
 

vypur85

Hibernate
Reaction score
803
Err... A unit cannot be of multiple unit-types...

Use the 'Or - Conditions'.

Code:
Events
  Unit - A unit Sells a unit
Conditions
  Or - Conditions
    (Unit-type of (Sold unit)) Equal to Holy
    (Unit-type of (Sold unit)) Equal to Mage
    (Unit-type of (Sold unit)) Equal to Paladin
    (Unit-type of (Sold unit)) Equal to Warrior
    (Unit-type of (Sold unit)) Equal to Hunter
  (Unit-type of (Triggering unit)) Equal to Alliance Tavern <-- [I]Leave this out of the 'Or'[/I]
Actions
  Hero - Set (Sold unit) Hero-level to 3, Hide level-up graphics
 

Mynameis

New Member
Reaction score
0
Code:
Player Level
    Events
        Unit - A unit Sells a unit
    Conditions
        (Unit-type of (Sold unit)) Equal to Holy
        ((Unit-type of (Sold unit)) Equal to Mage) or ((Unit-type of (Sold unit)) Equal to Hunter)
        ((Unit-type of (Sold unit)) Equal to Paladin) or ((Unit-type of (Sold unit)) Equal to Warrior)
        (Unit-type of (Triggering unit)) Equal to Alliance Tavern
    Actions
        Hero - Set (Sold unit) Hero-level to 3, Hide level-up graphics

I didnt know about the priest, but it isnt working for me either.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top