![]() |
|
|
#3 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
If you only need npc give 1 buff.... is very simple.
Code:
class citizen { }
class buffer_npc : citizen {
parameter:
int Buff1 = 308226; // Wind Walk lvl 2
handler:
EventHandler TALKED(talker)
{
AddUseSkillDesire(talker, Buff1, 0, 1, 1000000);
}
}
Change Buff1 value for other buff skill id (skill_pch.txt) that you wish npc give to u when u talk to him. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|