Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Npc %?

Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
Hello
I got a question.
Can I add a % chance to an NPC?
Like , If you have a Weapon and a Talisman, and if you put both together, you got 50% chance that it works. Is it possible?

*like Dss System*
ty Marco
 
Last edited:
Experienced Elementalist
Joined
Jul 11, 2015
Messages
201
Reaction score
273
Marco, marco, marco... u rly need to read some tutorials, like... rly.

The answer to ur question is ofc... Quests.

Edit: why would u want to do that with a talisman tho? xD
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
Well If you got a non Imp weap and a Imperial Talisman , you put the Weapon and the Imperialtalisman in the NPC and its 30% chance to get out an Imperial Weapon. Do you understand?;D

I just tried what TranX said
(itemgroup (index 3002) (group (30 1703)))

index-> Index ofc
group-> "30" for 30% and "1703" for Item in group or what?

Edit:
;Imperial Weapon Changer G70 Stick(quest (index 3002 4) (case (if (item (1698))) (then (item (out 1698 1) (out 3586 1) (out 31 1)(in 1703 0 1)) (itemrand 3002) (html 999997))) (case (then (html 999997))))

"1698" non Imp stick
"3586" Imp talis
"31" Geon
"1703" Imp Stick
"Itemrand 3002" because of Itemgroup 3002.

its right? Not working because of wrong itemgroup I think
 
Last edited:
Upvote 0
off@kal. - on@gw2/d3 :)
Joined
May 30, 2009
Messages
772
Reaction score
480
there few released addons that you can use the imperial talisman to imp your weapon, dont needed to be made with a npc



itemrand index -> itemgroup can be used normal..

(group (index 8020) (item (300 9843 0)))
(itemgroup (index 8020) (group (1000 8020)))
 
Upvote 0
Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
kk thank you guys. Working now!

One more Problem lol-.-
Now it works with 30%
but if it works, I get 1 nonimp and a Imp Stick back..

Do I need to change smth in Group?
(group (index 8020) (item (300 1703 0)))
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
aint that hard, in quest u take out the non imp + tali, in itemgroup u give out the new weapon

ya but if it works then, then you get Imp.
But if it fails, then you get nothing.. Where could I change that?

sorry for these questions , after you write me the correct, my brain: AHHH right!.. Idk maybe inactiv cuz of holidays.. hehe

Edit: I try to add a Group that 70%get the normal and 30% the Imp. Tell you later more

Edit2: 30% for IMP works
70% for non Imp back works not, because sometimes I get nothing back. why?

(group (index 8020) (item (300 1703 0) (item 700 1698 0)))

300+700=1000 But why i get sometimes nothing?xd
 
Last edited:
Upvote 0
Junior Spellweaver
Joined
May 9, 2014
Messages
107
Reaction score
36
300+700=1000 But why i get sometimes nothing?xd

Its not calculated like this ....
300 mean that you have 30% chance to get in your case 1703 item ....
If its not doroped 1703 item it go gon next item listed in line so in your case 1698 item
And again its 70% chance that you get 1698 item
So its not like there is 30% chance to get 1703 vs 70% chance to get 1698.

You should make last item in line with 100% chance to get it, so in your case none imperial weapon (1000 1689 0).
Then you will have small chance (30%) to get 1703 item and big chance to get again back 1698 item.
This way for sure you will always get back none imperial weapon in case imperial failed.

But also remember that applying imperial via NPC will give you CLEAN imperial weapon after success. No mater how it was pimped before.
If you use addon for Imperial your "pimps" will stay on weapon after applying imperial.
 
Upvote 0
Experienced Elementalist
Joined
Jul 11, 2015
Messages
201
Reaction score
273
Sigh...

(group (index 8020) (item (300 1703 0) (item 700 1698 0)))

300 - 0 = 300 (30%)
700 - 300 = 400 (40%)

to make an item drop 100%, u'll do it like this:
(group (index 8020) (item (1000 1703 0)))
 
Upvote 0
Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
Sigh...

(group (index 8020) (item (300 1703 0) (item 700 1698 0)))

300 - 0 = 300 (30%)
700 - 300 = 400 (40%)

to make an item drop 100%, u'll do it like this:
(group (index 8020) (item (1000 1703 0)))

ya but its not that what I want.
If you put in a Sword G59 for eg and as well a Imp Talisman, then there should be 30% chance to get G59 Imp, but 70% that you get back a normal G59..^^
 
Upvote 0
Experienced Elementalist
Joined
Jul 11, 2015
Messages
201
Reaction score
273
(group (index 8020) (item (250 1703 92) (1000 1698 0))) ; 25% Wep with talisman, 75% Clean wep.
 
Upvote 0
Skilled Illusionist
Joined
Feb 1, 2013
Messages
323
Reaction score
52
working! Thank you! Now I know how I can add a lot of Quests w/o spaming you xd ty;D
why do you still using this crap ways there of add-ons free released on fourm thats has realtime imperial talis and the and the success rate can be changed from initem prefix chances this crap why you using is kind useless and boring
 
Upvote 0
Newbie Spellweaver
Joined
Mar 30, 2014
Messages
36
Reaction score
0
why do you still using this crap ways there of add-ons free released on fourm thats has realtime imperial talis and the and the success rate can be changed from initem prefix chances this crap why you using is kind useless and boring

because I like it pff

if you are all talking about they are released, show me..
 
Upvote 0
Back
Top