elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   Metin2 Private Server (https://www.elitepvpers.com/forum/metin2-private-server/)
-   -   PvP dropp Quest (https://www.elitepvpers.com/forum/metin2-private-server/2987840-pvp-dropp-quest.html)

123snake123 12/01/2013 01:04

PvP dropp Quest
 
Hi

Suche eine Quest die es ermöglicht, das man beim töten anderer Spieler Item´s droppen kann, wenn man auf einer bestimmten Map ist.

Ist sowas überhaupt möglich?

Anonyme™ 12/01/2013 01:23

Abend,
Ja sowas 'sollte' möglich sein. Ich schaue mal nach einem bsp

123snake123 12/01/2013 01:25

Hört sich ja schon mal gut ^^ Ok bin mal gespannt...

Rika'san 12/01/2013 03:14

Sofort ins Inventar:
Spoiler:
PHP Code:

quest pvpdropp begin   
     state start begin    
        when kill with npc
.is_pc() and pc.get_map_index()==INDEX begin
            pc
.give_item2(VNUM,ANZAHL)
        
end            
    end 
end 


Damit das Item auf den Boden fällt + Name über dem Item:
Spoiler:
PHP Code:

quest pvpdropp begin   
     state start begin    
        when kill with npc
.is_pc() and pc.get_map_index()==INDEX begin
            game
.drop_item_with_ownership(VNUM,ANZAHL)
        
end            
    end 
end 


PeloQ 12/01/2013 03:14

Hey
Index anpassen 41 ist z.B. Map1 Blau.
PHP Code:


quest test begin
    state start begin    
        when kill with pc
.get_map_index() == 41 begin 
            
if npc.is_pc() then
                chan 
math.random(15)
            if 
chan == 1 then
                game
.drop_item_with_ownership(1011)     
            
end
            end
        end
    end
end 



All times are GMT +2. The time now is 16:49.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.