passi
-
Posts
1 -
Joined
-
Last visited
-
Feedback
0%
Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Auto Bonus for PVP Server
in Quests
Posted
M2 Download Center
Hello,
today I want to share with you my quest. What it does? It changes your attributes on an item if you place it on a certain NPC (in this case "Handu-Up") and puts best in slot PVP attributes.
What this quest can't do (yet):
Differentiate between Average Damage, Skill damage - type weapons like Poison Sword (If someone could show me how to exit a FOR-Loop in LUA I might be ablte to do it)#addedKeep in mind that I just wanted to look back into quest scripting so I it's not perfect written by any means but it works and I think some people will have a use for it.
Here is the Code (Downloadable as attachement down below):
German:
Hallo Leute,
da ich mich mal wieder langsam mit lua vertraut machen will habe ich letztens eine Quest geschrieben. Was macht sie:
Ganz einfach, ihr zieht ein EQ-Gegenstand auf einen NPC (In diesem Fall "Handu-Up") und eure Gegenstand bekommt dann perfekte PVP Bonis.
Steine werden auch mit uebernommen!
Was die Quest(noch) nicht kann bzw. was ich nicht effizient hinbekommen habe:
Unterscheiden zwischen dss & fks waffen, Giftschwert bekommt also auch ganz normale Attribute (Wenn mir jemand sagen kann, wie man eine FOR-Schleife unterbricht, koennte ich es hinbekommen)#hinzugefuegtKlar, kann man die Quest schoener schreiben, aber mir ging es lediglich darum wieder in Lua reinzukommen, und sie funktioniert ja, von daher habe ich von meiner Seite aus nichts zu meckern
Ich denke mal, einige PvP-Server koennten fuer sowas Verwendung haben.
Hier die Quest (Im Anhang als Download verfuegbar):
PS: Wenn ihr Anregungen, Verbesserungsvorschläge oder ähnliches habt, dann immer her damit.