• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Drobna pomoc - atrybuty broni

Joined
Jun 16, 2008
Messages
626
Reaction score
3
Location
Gdańsk, Ustka
Witam, mam następujący problem.
Chciałbym z poziomu LUA zmieniać wartości elementIce (etc.) dla danej broni.

Czy jest to wykonalne za pomocą funkcji doItemSetAttribute? Jeśli tak to jak jej użyć?

W grę nie wchodzi edycja items.xml (chciałbym, żeby dana broń mogła mieć - bez zmiany itemid atrybut ognia lub lodu).

Za pomoc z góry dziękuję :).

Wersja TFS: 0.3.6pl1 (edytowane source)

@edit
doItemSetAttribute(... "elementIce", 3) -- np. 3
nie hula
 
Back
Top