Set Aggro Range

Тема в разделе "Bugs / Баги и решения", создана пользователем Busted, 16 апр 2021.

  1. Busted

    Busted Новичок

    Регистрация:
    14 янв 2021
    Сообщения:
    3
    Симпатии:
    0
    Hello, How can i set aggro range automatically? For example how can i set aggro range to 400 for all npc in TOI. If i need to set them manually it is impossible

    Thanks
     
  2. Busted

    Busted Новичок

    Регистрация:
    14 янв 2021
    Сообщения:
    3
    Симпатии:
    0
    More info to be clear

    gameserver\data\spawn\Aden\TOI.xml
    <spawn count="1" respawn="60" respawn_random="0" period_of_day="none">
    <point x="113780" y="14177" z="-3608" h="47366"/>
    <npc id="21998"/><!--Archer of Arrogance-->
    </spawn>\

    gameserver\data\npc\21900-21999.xml
    <npc id="21998" name="Archer of Arrogance" title="">
    ......................... data ..................................................
    <set name="aggroRange" value="0"/>
    ......................... more data ........................................
    </npc>

    Every NPC in TOI.xml are not aggro by default
    In fact 98 % of npc in \gameserver\data\npc\ are <set name="aggroRange" value="0"/>

    Is there any config option to change this?
     
  3. Busted

    Busted Новичок

    Регистрация:
    14 янв 2021
    Сообщения:
    3
    Симпатии:
    0
    I've created my own solution.
     

Партнеры