What's new

-LUA & XML Jak zrobi?, ?eby...

Status
Not open for further replies.

Samman

Senior User
Joined
Aug 23, 2009
Messages
782
Reaction score
39
...gracz nie traci? przedmiot?w do 100 poziomu (po ?mierci od potwora).
 

Anakonta

Senior User
Joined
Oct 5, 2010
Messages
536
Reaction score
10
Odp: Jak zrobi?, ?eby...

musisz pogrzeba? troche w source
 

Advent Child

Advanced User
Joined
Nov 11, 2008
Messages
345
Reaction score
9
Odp: Jak zrobi?, ?eby...

Wydaje mi sie ze to jest do zrobienia w LUA w Creaturescripts w funkcji onDeath.
 

Placek

Blue Waffle
Joined
Sep 30, 2008
Messages
6,793
Reaction score
672
Age
9
Odp: Jak zrobi?, ?eby...

Creaturescripts, login.
Warunek na lvl + zapytanie do bazy/funkcja kt?ra zmieni w bazie tracenie itemow lub dodanie blessow.
proste?
 

zygzagZ

Advanced User
Joined
Aug 14, 2008
Messages
281
Reaction score
34
Odp: Jak zrobi?, ?eby...

onDeath - sprawdzasz czy gracz ma poni?ej 100 lvl, sprawdzasz czy zabi? go gracz (je?li to mo?liwe - nie jestem pewien), je?li si? zgadza, to dajesz teleport do temple, doRemoveCreature i return false.
 
Status
Not open for further replies.
Top