Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Help me for buffer (https://postpacific.mmorpg-game.online/showthread.php?t=8092)

GmArchEnemy 18.07.2007 14:40

Help me for buffer
 
i want to add a cancel buffs button to npc buffer.

Skilldata.txt:
Code:

skill_begin        skill_name = [remove_buff]        /* [??? ? ??] */        skill_id = 9999        level = 1        operate_type = A2        magic_level = 74        effect = {{i_dispel_by_category;slot_buff;25}}        is_magic = 1        mp_consume1 = 0        mp_consume2 = 0        cast_range = 400        effective_range = 900        skill_hit_time = 4        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 6        activate_rate = -1        effect_point = -653        target_type = self        affect_scope = single        affect_limit = {0;0}        next_action = none        ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}        skill_end
Skill_pch.txt
Code:

[remove_buff] = 2559745

GmArchEnemy 18.07.2007 14:45

What is to add ai.obj?

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
buffer ai.rar — 1041 байт

FidoW 18.07.2007 14:54

So big code for that simple thing.... >.<

Only change SelfBuffXX ...

GmArchEnemy 18.07.2007 15:44

puhahahahaha lol wery easy :D

thnz man :santa:

Marios145 18.07.2007 15:57

there is already a skill i_dispel_all in skilldata..but i don't remember if it removes buffs only

FidoW 18.07.2007 16:02

Quote:

Originally Posted by Marios145 (Post 92190)
there is already a skill i_dispel_all in skilldata..but i don't remember if it removes buffs only


Code:

skill_name = [s_dispell_buff]        /* [Dispell Buff] */        skill_id = 7001        level = 1        ...        effect = {{i_dispel_by_category;slot_buff;100}}
skill_name = [s_dispell_debuff]        /* [Dispell Debuff] */        skill_id = 7002        level = 1        ...        effect = {{i_dispel_by_category;slot_debuff;100}}
skill_name = [s_dispell_all]        /* [Dispell All] */        skill_id = 7003        level = 1        ...        effect = {{i_dispel_by_category;slot_buff;100};{i_dispel_by_category;slot_debuff;100}}


GmArchEnemy 19.07.2007 15:59

Help me for html code


All times are GMT. The time now is 21:47.