Stances don't work at all O_O

Discussion in 'Support' started by Luke135, Jul 11, 2018 at 7:38 AM.

  1. Luke135

    Luke135 New Member

    Joined:
    Oct 28, 2017
    Messages:
    11
    Likes Received:
    0
    Hello. I had some problems with stances, so I made a new mob and copied the example from the manual.
    It looks like this:

    Mob:
    TestStance:
    Type: ZOMBIE
    Skills:
    - skill{s=StanceChangeSkill} ~onDamaged 1
    - skill{s=AnotherSkill} ~onDamaged 1

    And skills:
    StanceChangeSkill:
    Skills:
    - message{m="<mob.name>&f<&co> Skr!"} @PlayersInRadius{r=30}
    - setstance{stance=bowphase} @self
    AnotherSkill:
    Conditions:
    - stance bowphase
    Skills:
    - message{m="<mob.name>&f<&co> Funguje to!"} @PlayersInRadius{r=30}

    When I damage the mob, it says Skr. But it never says Funguje to! It never triggers "AnotherSkill" Where's the problem?
     
    #1
  2. BerndiVader

    BerndiVader Active Member
    Supporter

    Joined:
    Feb 9, 2016
    Messages:
    599
    Likes Received:
    217
    Hi! Here an example of the past:

    Code:
    Stanci:
      Type: ZOMBIE
      Skills:
      - skill{s=blubb} ~onDamaged 1
     
    blubb:
      Conditions:
      - stance{s=bow} castinstead bowbla
      Skills:
      - setstance{s=bow} @self
      - message{msg="blubb"} @world
    
    bowbla:
      Skills:
      - setstance{s=null} @self
      - message{msg="bowbla"} @world
     
    #2
  3. tiradorus

    tiradorus New Member
    Supporter Premium Supporter

    Joined:
    Sep 7, 2015
    Messages:
    24
    Likes Received:
    0
    Even easier for him.

    Code:
    Mob1:
      Type: SKELETON
      Health: 5000
      Skills:
      - skill{s=IceBestial} 0.1 ~onTimer:20
      - skill{s=IcePassive}  ~onTimer:20
    
    IceBestial:
      Cooldown: 15
      Skills:
      - setstance{stance=ice} @Self
    
    IcePassive:
      Conditions:
      - stance{s=ice}
      Skills:
      - potion{t=SLOW;d=100;l=2;force=false} @PIR{r=20}
    Copy as much as you want.
     
    #3
  4. Omanoctoa

    Omanoctoa Member

    Joined:
    Mar 10, 2016
    Messages:
    98
    Likes Received:
    8
    Keep in mind that Stances are removed on restart, so I've heard. I haven't been able to find any documentation regarding this, but I've seen other members mention it.
     
    #4

Share This Page