Event.lua

09/10/2013 17:56 ©Fitchi#1
Hey leute,

Ich wollte mal fragen wo man in 2013er Files die Event.lua findet,
sofern es in den 2013 eine gibt. Also wo er die droppchance von zb
"moon_drop1" definiert.

Fanke im Vorraus.

MFG
Fitchi
09/10/2013 19:31 Elinoy#2
Erstell dir einfach eine neue Quest für die Event Drop's


PHP Code:
quest mondi_drop begin
    state start begin
        when kill with game
.get_event_flag("mondi_drop") == and not npc.is_pc() begin -- Starten /e mondi_drop 1 // Beenden /e mondi_drop 0
        
local s=number(5400) -- Chance des Drop's
        if 5 == s then
            game.drop_item_with_ownership(50011,1) -- Dropp + Anzahl
            end
        end
    end
end 
09/10/2013 19:39 x'Radon#3
Den drop der Mondis in der drop_iem_group war das glaube ich festlegen. deine quest deaktivieren und die mondi in die commondrop_item reinpacken mit deiner gewünschten droppchance. Zack fertig.
09/11/2013 04:16 .Shōgun#4
You can't change the drop chance of /e moon_drop this eventflag only accepts true or false. An alternative is to use my drops quest which has two additional features - a scroll and a personal drop rate which is reduced every time you drop a box. This makes the amount of boxes dropped more fair, as in the standard event, depending on what you are doing and where, you could get 5 or 200.

[Only registered and activated users can see links. Click Here To Register...]