Register for your free account! | Forgot your password?

You last visited: Today at 15:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Buff Object or Npc ?

Discussion on Buff Object or Npc ? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 35
Received Thanks: 1
Buff Object or Npc ?

HI , First i am sorry for my bad english . How to give skill for npc ? For example : I ll click NPC and NPC give me buff .
Thx for help .
tomas1234567 is offline  
Old 10/13/2013, 15:21   #2
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
You can't give skills to a NPC, in any case you can create a quest that buffs the player using add_affect
.Shōgun is offline  
Old 10/13/2013, 16:11   #3
 
elite*gold: 0
Join Date: Oct 2011
Posts: 35
Received Thanks: 1
Quote:
Originally Posted by tomas1234567 View Post
HI , First i am sorry for my bad english . How to give skill for npc ? For example : I ll click NPC and NPC give me buff .
Thx for help .
Ok . Add_affect , and then skill vnum ? Or what ?
tomas1234567 is offline  
Old 10/13/2013, 16:20   #4
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
affect.add(apply.ATTACK_SPEED, 10, 3600)

That would give you 10% Attack Speed for 1 hour. You can see the affect types in questlib.lua
.Shōgun is offline  
Old 10/13/2013, 17:19   #5
 
elite*gold: 0
Join Date: Oct 2011
Posts: 35
Received Thanks: 1
Quote:
Originally Posted by Uncorrupted View Post
affect.add(apply.ATTACK_SPEED, 10, 3600)

That would give you 10% Attack Speed for 1 hour. You can see the affect types in questlib.lua
Thanks , but what is wrong on this quest ?

quest buffy begin
state start begin
when 20381.chat."Požehnání" with pc.getqf("pozehnani")== 0 begin
setskin(NOWINDOW)
chat("Nyní máš 20000 silný proti všem příšerám")
pc.setqf("pozehnani", 600)
affect.add(apply.ATTBONUS_MONSTER, 20000, 600)
end
end
when login with pc.getqf("pozehnani")== 0 begin
chat("Tvé požehnání právě skončilo.")
affect.remove(apply.ATTBONUS_MONSTER, 20000, 600)
end
when 20381.chat."Požehnání" with pc.getqf("pozehnani")== 1 begin
chat("Již si obdržel požehnání!")
chat("Přijď za 10 minut.")
end
end
end
end
tomas1234567 is offline  
Reply


Similar Threads Similar Threads
[Trading] [B]60er Buff auf Praios [S]Buff auf Deimos
08/25/2013 - Metin2 Trading - 2 Replies
Guten Tag, Buff hat leider nur Buffs auf M1 und M2 und auch kein großes Int eq. Nur auf der GLocke ist ein bisschen drauf aber wie gesagt nix großes aufn Acc. Hätte auch noch ne 42er Sura +9 mit Hast 3 und noch was drin und nen Char voller FB's (Sw, Hinterhalt etc.) sonst aber nichts besonderes.
Tausche meine buff auf s.3 lvl 48 gegen buff auf s.17 ab lvl 40
06/26/2012 - Metin2 Trading - 1 Replies
Hey leute vertausche meine buff lvl 48 segen m3 krit m1 rest auf Hilfe des drachen auf s.3 gegen eine buff auf s.3 rotes reich ab lvl 40 skills sind egal
S: DE Acc (mit Buff) gg PSC (35Euro+eventuell mit buff 25euro)
11/25/2011 - Metin2 Trading - 1 Replies
Gibt's hier was für das Geld?
Mosha 70er Krieger 3 G's Und 54 Buff 2x M10 Buff + EQ
09/10/2011 - Metin2 Trading - 0 Replies
Da ich eh schon seit einiger Zeit kein Metin mehr spiele verkaufe ich den Account und den ganzen Plunder.. Moegeliche Zahlung ist Ueberweisung: Der/Die Accounts und das Equip muessen nicht zusammengekauft werden... Ihr sucht euch aus was ihr haben wollt macht mir einen Preisvorschlag und schauen ob wir uns einigen. Am liebsten wuerde ich aber alles zusammen verkaufen. Erstmal der Koeper Krieger: Lvl 70 25% Aura G7 Kampfrausch G1 Schwertwirbel G1 Sausen M7 noch 2 fbs oder so bis M8
Suche Torkas Buff geben Sertain Buff
07/16/2011 - Metin2 Trading - 0 Replies
Suche ein Buff sollte lvl 35 sein Krit Segen M haben Gebe S15 Buff lvl 43 K Segen m2 24,9% und krit m1 24,4% Reflekt 3 7,6%



All times are GMT +1. The time now is 15:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.